NI-RFSG Instrument Driver FPGA Extensions

NI RF Signal Generators Help (NI-RFSG 18.1)


Edition Date: June 2018
Part Number: 371025V-01
View Product Info

Download Help (Windows Only)


NI-RFSG 18.1 Help
NI-RFSG 18.2.1 Help
NI-RFSG 19.1 Help

NI-RFSG instrument driver FPGA extensions for VSTs enable you to use precompiled FPGA bitfiles to customize the behavior of the VST FPGA while maintaining the functionality of the NI-RFSG instrument drivers.

Before you begin using NI-RFSG instrument driver FPGA extensions, you must install NI-RFSG and LabVIEW. You must also download a precompiled bitfile to use NI-RFSG instrument driver FPGA extensions. Visit ni.com/info and enter the Info Code ex6h8h, then select your hardware, and browse the download page to download an NI-RFSG FPGA extensions precompiled FPGA bitfile.

Note Note  Certain NI-RFSG instrument driver FPGA extensions might require you to install the instrument design libraries. Refer to the installation requirements of individual NI-RFSG instrument driver FPGA extensions located on the download page for more information.

The precompiled bitfiles are included in examples that illustrate how to use the precompiled bitfiles. These examples contain three parts—a precompiled bitfile featuring application-specific IP, a host-based example that uses NI-RFSA, NI-RFSG, or both, and IP dependencies, such as source code. These examples are distributed through the VI Package Manager, which installs with LabVIEW.

When you install NI-RFSG, model-specific folders for your VST device are created in the following location:

  • Windows 10/8.1/7: Users\Public\Documents\National Instruments\FPGA Extensions Bitfiles
Note Note  The instrument driver searches for precompiled bitfiles in these model-specific folders. For the instrument driver to recognize your precompiled bitfile, ensure that the precompiled bitfile is located in the model-specific folder that corresponds to your device.

Loading an FPGA Bitfile

To use NI-RFSG instrument driver FPGA extensions, you must specify the precompiled bitfile you want to use when you initialize the instrument driver 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.

Note Note  You can only load one bitfile on a VST device at a time. If you use both NI-RFSG and another instrument driver such as NI-RFSA 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:

  1. Call the niRFSG Initialize with Options VI.
  2. Wire the Driver Setup string to the options string input.
  3. Include the Bitfile tag in the Driver 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:

    DriverSetup=Bitfile:filename.lvbitx

    where filename.lvbitx is the file name 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:

  1. Call the niRFSG FPGA Bitfile Path property. The FPGA Bitfile Path property returns the absolute path to the bitfile as a string.
  2. Wire the output of the FPGA Bitfile Path property to the String input of the String to Path function.
  3. Wire the Path output of the String to Path function to the Bitfile Path input of the Open Dynamic Bitfile Reference function.

Related Topics

Visit ni.com/info and enter the Info Code ex6h8h to download precompiled NI-RFSG instrument driver FPGA extensions bitfiles.

Visit ni.com/info and enter the Info Code exkt9h to learn more about instrument driver FPGA extensions.

Driver Setup Options—Refer to this topic for more information about using the Driver Setup string.

WAS THIS ARTICLE HELPFUL?

Not Helpful