Execution:State

Indicates the execution state of the VI.

Remarks

The following table lists the characteristics of this property.

Short Name Exec.State
Data type cenum.png
Permissions Read Only
Available in Run-Time Engine Yes (Read Only)
Available in Real-Time Operating System Yes
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 allowed Yes
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
Bad 0
VI has errors and cannot execute.
Idle 1
VI is not running but is in memory.
Run top level 2
VI is the top-level VI in an active hierarchy.
Running 3
VI is reserved for execution by one or more active top-level VIs.

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\Application Control\VI Server\VI Properties\VI Properties - Front Panel States.vi