Right-click a subVI icon on the block diagram and select SubVI Node Setup from the shortcut menu to display this dialog box.
This dialog box contains a subset of the items included in the VI Properties dialog box. Use this dialog box to set options for only the current instance of the subVI. Use the subVI execution items in the VI Properties dialog box to set options for every instance of the subVI.
This dialog box includes the following components:
Open front panel when loaded—Displays the front panel when the subVI loads or when the VI that calls it loads. You also can use the Show Front Panel On Load property to display the front panel programmatically.
Note LabVIEW ignores this option when you use the VI Server to load the VI. Use the Front Panel:Open method to open the front panel of a VI you load using the VI Server.
Show front panel when called—Displays the front panel when the subVI is called. You also can use the Show Front Panel On Call property to display the front panel programmatically.
Close afterwards if originally closed—If Show front panel when called also contains a checkmark and if the subVI was previously closed, the front panel closes after the subVI runs.
Suspend when called—Suspends a subVI when called and waits for user interaction. This option is the same as selecting Operate»Suspend when Called. You also can use the Suspend On Call property to suspend a VI programmatically.
Simulation subVI execution type—(Control Design and Simulation Module) Use this section to configure the behavior of VIs on a simulation diagram.
Continuous—(Control Design and Simulation Module) (Default) Executes the VI continuously on major time steps of the ordinary differential equation (ODE) solver. The VI maintains its current output on minor time steps of the ODE solver. When you select this option, a C appears on the VI icon.
Include minor time steps—(Control Design and Simulation Module) Executes the VI on both major and minor time steps of the ODE solver. Selecting this option removes the C from the VI icon.
Discrete—(Control Design and Simulation Module) Executes the VI as a discrete function. When you select this option, a D appears on the VI icon.
Initialization only—(Control Design and Simulation Module) Executes the VI only on the first iteration of the Control & Simulation Loop. The VI maintains its output value for the remainder of the Control & Simulation Loop. When you select this option, an I appears on the VI icon.
Final step only—(Control Design and Simulation Module) Executes this VI only on the final time step of the simulation. When you select this option, an F appears on the VI icon.
Discrete timing—(Control Design and Simulation Module) Use this section to specify the timing steps of discrete VIs. The following options are available only when you select the Discrete option in the Simulation subVI execution type section.
Period (sec)—(Control Design and Simulation Module) Specifies the length of the sample period for discrete VIs on the simulation diagram. Entering a value of –1 specifies this VI inherits the discrete time step you specify for the simulation diagram. Otherwise, the Period (sec) must be a multiple of the discrete time step you specify for the simulation diagram.
Skew (sec)—(Control Design and Simulation Module) Specifies the start of the execution of the sample period for discrete VIs on the simulation diagram.