Execution:State Property
Short Name: Exec.State
Installed With: Base Package
Class: VI Properties
Indicates the execution state of the VI.
Possible values include the following:
- Bad—VI has errors and cannot execute.
- Idle—VI is not running, but is in memory.
- Run top level—VI is the top-level VI in an active hierarchy.
- Running—VI is reserved for execution by one or more active top-level VIs.
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes (Read Only) |
Permissions | Read Only |
Settable when the VI is running | No |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |
Example
Refer to the FrontPanelStates VI in the labview\examples\viserver directory for an example of using the Execution:State property.