FPGA Interface Functions

FPGA Interface Functions

FPGA Interface Functions

June 2008, 370960E-01

Installed With: FPGA Interface. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the FPGA Interface functions to communicate with an FPGA VI from a host VI. The VI that runs on an FPGA target is called the FPGA VI. A host VI is a VI that communicates with the FPGA VI to control the FPGA target. A host VI can run on a Windows computer or on an RT target.

You can use the FPGA Interface functions to programmatically control and communicate with an FPGA VI. Use the FPGA Interface functions to perform the following operations in host VIs:

  • Establish and terminate communication with the FPGA VI.
  • Download, abort, reset, and run the FPGA VI on the FPGA target.
  • Read and write data to the FPGA VI.
  • Wait for and acknowledge FPGA VI interrupts.
  • Read DMA FIFOs.
Note  This palette is available only when you edit a VI under My Computer or an RT target in the Project Explorer window.

The functions on this palette can return general LabVIEW error codes, specific FPGA Interface error codes, or error codes specific to the FPGA target.

Palette ObjectDescription
Close FPGA VI ReferenceCloses the reference to the FPGA VI and, optionally, resets or aborts execution of the VI.
Invoke MethodInvokes an FPGA Interface method or action from a host VI on an FPGA VI. Use methods to do the following: download, abort, reset, and run the FPGA VI on the FPGA target, wait for and acknowledge FPGA VI interrupts, read DMA FIFOs, and write to DMA FIFOs. The methods you can choose from depend on the target hardware and the FPGA VI. You must wire the FPGA VI Reference In input to view the available methods in the shortcut menu.
Open FPGA VI ReferenceOpens a reference to the FPGA VI or bitfile and FPGA target you specify. Right-click the Open FPGA VI Reference function and select Configure Open FPGA VI Reference from the shortcut menu to display the Configure Open FPGA VI Reference dialog box.
Read/Write ControlReads a value from or writes a value to a control or indicator in the FPGA VI on the FPGA target.

SubpaletteDescription
Advanced FunctionIncludes the Up Cast function.

© 2003–2008 National Instruments Corporation. All rights reserved.