Using R Series or CompactRIO Devices With the LabVIEW FPGA Module 64-bit

Updated Dec 22, 2023

Reported In

Hardware

  • PCIe-7852

Software

  • LabVIEW FPGA Module

Issue Details

I want to use an FPGA Target on my R-series module with the LabVIEW FPGA Module (64-Bit). When I try to use the module, I get the following error:
The FPGA Module 64-bit does not support the current target or You have selected an item that cannot be created. Select another item to be added.
What can be done?
 

Solution

R Series or CompactRIO devices can be used with the LabVIEW FPGA Module 64-bit as long as the bitfile was compiled using the LabVIEW FPGA Module 32-bit. The 64-bit software support for the NI CompactRIO and NI R Series Multifunction RIO drivers allows to communicate with the bitfiles using the LabVIEW FPGA Module 64-bit, but the devices cannot be programmed using 64-bit software. To do that:
 

1. In a 32-bit system, with LabVIEW develop the application in FPGA. You should be able to add the module under the FPGA tree, like in the screenshot (the snap has cRIO, but it will be the same for a PXIe system)

Image_2023-01-31_13-38-24.png

2. After you do the code, compile it. A bitfile will be generated in a chosen folder.

3. Using your 64-bit system, open a new VI.

4. Drop the Open FPGA Reference VI in the block diagram.

Image_2023-01-31_14-02-17.png

5. Right click on the VI and choose Configure Open FPGA VI Reference 

Image_2023-01-31_14-04-06.png

6. When the Window opens, choose the Bitfile option.

Image_2023-01-31_14-05-29.png

7. Choose the bitfile you generated in the 32-bit system, and continue programming the rest of your application.