Inherits from VI Methods.
Starts the VI execution, similar to the Run button. This is significantly different from calling a VI in that the current values of all front panel controls are used for execution (no parameters are passed). This method also ignores the Show FP on Call property of a VI and the Close After Call property. Refer to the examples\viserver\runvi.llb for an example of using the Run VI method.
The following table lists the parameters for this method.
Parameters | Description |
---|---|
Wait until done | Specifies whether or not to wait until the VI completes execution before exiting this function. Default is FALSE. |
Auto Dispose Ref | If TRUE, the target VI detaches the reference from the main VI. When the target VI finishes executing, LabVIEW automatically disposes the reference, along with the parallel data space. |
The following table lists the flags for this method.
Is settable when the VI is running | No |
Requires the block diagram to be loaded | No |
Is available on local LabVIEW only | No |
Requires the front panel to be loaded | No |
Must wait until user interface is idle | Yes |
Is available with control VIs | No |
Is available with global VIs | No |
Is available with strict type definitions | No |
Is available with polymorphic VIs | No |
Available in Run-Time Engine | Yes (Read/Write) |