Using SubVIs in Host VIs
- Updated2025-09-18
- 1 minute(s) read
You can use subVIs in host VIs that communicate with FPGA VIs or bitfiles on FPGA targets. To reference an FPGA VI or bitfile in a subVI, use the Open FPGA VI Reference function. You can configure the Open FPGA VI Reference function to be dynamic, so that these subVIs can work with any FPGA reference that implements the specified interface, even if the reference is on different target types. For example, you can use the same subVI for both a PCI and a PXI target.
Complete the following steps to create a dynamic FPGA interface reference for subVIs.
- Right-click the Open FPGA VI Reference function on the host VI block diagram and select Configure Open FPGA VI Reference from the shortcut menu. The Configure Open FPGA VI Reference dialog box appears.
- Select a build specification, VI, or bitfile in the Open section.
- Place a checkmark in the Dynamic mode checkbox.
- Click the OK button to close the Configure Open FPGA VI Reference dialog box.