Static VI Reference
- Updated2023-02-17
- 3 minute(s) read
Static VI Reference
Maintains a static reference to a VI. Configure this node to return a generic or strictly typed VI reference. After you place this node on a diagram, drag a VI onto the node.


VI reference
The reference to the configured VI.
Configuring a Static VI Reference
Specify whether the Static VI Reference is strictly typed on the Item tab.
Static VI Reference Output
Placing Static VI Reference does not cause the diagram to call the VI, but ensures that the referenced VI is loaded into memory with the referrer, in the same way a subVI is loaded with its caller. By default, the output is a generic VI reference.To change the output of this node to a strictly typed VI reference, select Strictly Typed Reference on the Item tab. The strictly typed VI reference identifies the VI you are calling. You can create a strictly typed VI reference only from a VI, not from a non-VI file such as a control.
Strictly Typed VI References
Use a strictly typed VI reference if you want to call the referenced VI with Call by Reference or Start Asynchronous Call. When you create a strictly typed VI reference, you can wire VI reference to the Run VI node.
The application loads the referenced VI into memory when you load the top-level VI. When Static VI Reference outputs a strictly typed VI reference, the application reserves the referenced VI as long as the top-level VI is running. The application closes this reference when the top-level VI is no longer in memory. You do not have to explicitly close the reference this node returns.
If you want the compiler to check for a broken referenced VI before you run the top-level VI, use the referenced VI directly in the top-level VI instead of using Static VI Reference.
Using Strictly Typed VI References with Run VI
A strictly typed static VI reference also reserves any subVIs when a top-level VI is reserved, therefore you get a runtime error if you attempt to run the referenced VI using the RunVI node and any of the reserved VIs have a caller that is already running.