VI Call Configuration Dialog Box
- Updated2025-01-28
- 2 minute(s) read
VI Call Configuration Dialog Box
Right-click a subVI and select Call Setup from the shortcut menu to display this dialog box.
Use this dialog box to configure when to load a subVI. This dialog box is available only for VIs open in an application instance that supports VI Server calls—not for functions, Express VIs, polymorphic VIs, or VIs open in an application instance that does not support VI Server calls, such as FPGA targets.
Selecting Reload for each call or Load and retain on first call replaces the subVI with a Call by Reference node that is configured to call the subVI. Symbols on the Call by Reference node correspond to the mode that you select. If you choose either of these options you will no longer be able to find the subVI. These options remove the static link to the subVI.
This dialog box includes the following components:
Option | Description |
---|---|
Load with callers | Loads the subVI at the same time the caller VI loads. |
Reload for each call | Loads the subVI when the caller VI makes the call to the subVI if the subVI is not already in memory. |
Load and retain on first call | Loads the subVI only the first time the caller VI makes the call to the subVI. Note If you select the Reload for each call option or the Load and retain on first call option, LabVIEW continues to load the subVI if the block diagram of the caller VI is in memory. If you open the caller VI in edit mode, LabVIEW loads the block diagram of the caller VI and therefore loads the subVI as well. To avoid loading the subVI, do not open the block diagram of the caller VI. Call the caller VI as a subVI, and close the front panel window and block diagram of the caller VI. |