To use NI-RFSA instrument driver FPGA extensions with RFmx, you must install NI-RFSA along with NI-RFmx and the latest version of LabVIEW. When you install NI-RFSA, a model-specific folder for your device is created in the following location:
Windows 8/7: Users\Public\Documents\National Instruments\FPGA Extensions Bitfiles
For NI-RFmx to recognize your precompiled bitfile, ensure that the precompiled bitfile is located in the model-specific folder that corresponds to your device.
The PXIe-5624 is supported by NI-RFmx only as part of the PXIe-5668 VSA. Refer to the NI IF Digitizers Help, located at ni.com/manuals, for more information about using the PXIe-5624 as a stand-alone device.
PXIe-5668 Pre-installed FPGA Bitfiles
NI-RFSA includes two FPGA bitfiles for use with the NI 5668R in a separate directory from the directories listed in the previous section. The NI 5668R default 400 MHz bitfile and the optional 800 MHz bitfile are located in the following directory:
Windows 8/7: ProgramData\National Instruments\FPGA Extensions Bitfiles\NI PXIe-5624
Loading an FPGA Bitfile
To use NI-RFmx with NI-RFSA instrument driver FPGA extensions, you must specify the precompiled bitfile you want to use when you initialize the NI-RFmx session. If you want to access additional FPGA functionality provided by the precompiled bitfile, you must also obtain an FPGA reference to use with the LabVIEW FPGA host interface.
You can load only one bitfile on a device at a time. If you are using both NI-RFmx and another device driver such as NI-RFSA or NI-RFSG to simultaneously access the same instrument, both sessions must initialize with the same bitfile.
Complete the following steps to open an instrument driver session that uses a precompiled bitfile:
Call the RFmxInstr Initialize NIRFSA Node.
Wire the RFmx Setup string to the Option String input.
Include the Bitfile tag in the RFmx Setup string, and set the value of the Bitfile tag to the name of the bitfile you want to load, as shown in the following example string:
where, filename.lvbitx is the filename of the bitfile you want to load.
Obtaining an FPGA Reference
Complete the following steps to obtain an FPGA reference to use with the LabVIEW FPGA host interface:
Obtain the NI RFSA Session using RFmxInstr Get NIRFSA Session node.
Read the FPGA Bitfile Path property using the NI-RFSA Session. The FPGA Bitfile Path property returns the absolute path to the bitfile as a string.
Wire the output of the FPGA Bitfile Path property to the String input of the String to Path function.
Wire the Path output of the String to Path function to the Bitfile Path input of the Open Dynamic Bitfile Reference function.
The following figure illustrates how the code might look after completing the preceding steps.