Error -61251 Bitfile Is Incompatible Using Open Dynamic Bitfile Reference in LabVIEW

Updated May 8, 2023

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW

Issue Details

The Open Dynamic Bitfile Reference function is giving an error code -61251 as follows:



For this function I am using the Type, Device address and Bitfile path inputs.. I have confirmed that the bitfile created by the compiler is in the correct folder. Besides, the IP address is correct too. How can I fix this?

Solution

Make sure that the Constant or Control wired to the Type input is properly configure to set the reference data type to which you want to convert the dynamic FPGA interface. Right-click the control or constant and select Configure FPGA VI Reference to configure the interface. 

For example, let's assume that the biftile was created by the following FPGA VI:


Then, the Type input should be configured to match what is actually inside the bitfile as shown below:


 

Additional Information

You can remove some of the indicators/controls inside the Configure FPGA VI Reference Interface. However, if you try to access any control or indicator that is not in the bitfile, then you will get the error. The example shown in the figure below shows a Type configuration that tries to include an indicator called x*y which does not exist in the bitfile. For this reason, error -61251 is detected.