Error -61024 When Trying to Run Code on an FPGA Target in LabVIEW

Updated Apr 11, 2023

Reported In

Hardware

  • CompactRIO Controller
  • myRIO-1900
  • myRIO-1950
  • PXIe-7972

Software

  • LabVIEW myRIO Toolkit

Issue Details

  • When running an example or FPGA VI using an FPGA target (CompactRIO, FlexRIO, R Series Card), I get the following error message:

Error -61024 occurred at Open Dynamic Bitfile Reference

Possible reason(s):

LabVIEW FPGA: The device type that has been configured in this function does not match the actual type of the device.  


 

The error is shown in the following dialog box:
 

Open Dynamic Bitfile Reference.png

  • I have installed the myRIO Toolkit on my PC to interact with the myRIO controller. However, even though I have installed the required software in the right order, I keep getting the following error message every time I try to use either the Express VIs or the Low Level VIs that are part of this toolkit:
 
Error -61024 occurred at niLvFpga_Open_myRIO-1950.vi

Possible reason(s):

LabVIEW FPGA: The device type that has been configured in this function does not match the actual type of the device.



The error can be seen in the following picture:
 
myRIOToolkit Error.png

 


 

Solution

If you are getting this error when trying to use a bitfile, the issue is often caused because the referenced FPGA bitfile (.lvbitx) was compiled for different hardware than you are currently using. To resolve this issue, you can try the following steps: Once this compiles, you should be able to change the code on your LabVIEW block diagram to point the Open Dynamic Bitfile Reference function to the newly compiled bitfile. 

If you are receiving this error when using the myRIO Toolkit, this is likely to be related to corrupted LabVIEW, myRIO Toolkit, or firmware (on your myRIO controller) installation. Therefore, to solve the issue, please review the steps below: