In FPGA mode, you can use C Series modules from the FPGA VIs that you download to the NI-9145. You can configure modules from an RT VI or an FPGA VI.

You can use the LabVIEW FPGA programming to add more flexibility, customization, and deterministic timing to the applications in the FPGA VI. To add custom timing, signal manipulation, and inline processing, program the FPGA.

Locating C Series Modules in LabVIEW

  • Modules accessible from an RT VI—In the LabVIEW Project Explorer window, view accessible modules under the NI-9145 item. The I/O channels appear as I/O variables under the module items, just as in Scan mode.
  • Modules accessible from an FPGA VI—In the LabVIEW Project Explorer window, view accessible modules directly under the FPGA target item. The I/O channels appear as FPGA I/O items under the FPGA target. To access the I/O channels, configure FPGA I/O nodes in FPGA VIs.

Requirements for Using the NI-9145 in FPGA Mode

To use the NI-9145 in FPGA mode, ensure that you have either of the following:

  • The LabVIEW FPGA Module installed on your host computer.
  • Access to a compiled bit file that you can download to the FPGA.

To move from Scan mode to FPGA mode, you must download a LabVIEW FPGA application to the NI-9145 when the application compilation is complete.

Developing RT VIs and FPGA VIs

To develop RT VIs or FPGA VIs for a module, complete the following actions in the LabVIEW Project Explorer window:

  1. To develop RT VIs for a module, drag and drop a module under the NI-9145 item.
  2. To develop FPGA VIs for a module, drag and drop a module to the FPGA target item.

    When you compile the FPGA VIs, the bit file contains the logic of the FPGA VI. The bit file also includes the logic necessary for communicating with modules from the RT VI.

    Note When compiling the FPGA VI, ensure that a module item is under the NI-9145 item. If a module item is not under the NI-9145 item in the Project Explorer window for a certain slot, the RT VI cannot access that slot.