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

Updated Jul 22, 2024

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

1. 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. 

2. If you are getting this error when opening FPGA references remotely from a host, on the Open FPGA VI Reference.vi, try manually entering the network RIO resource name as rio://<ip address>/RIOx

3. If you are getting 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: