Execution:State Property

Short Name: Exec.State

Requires: Base Development System

Class: VI Properties

To Use: Create a property.

Indicates the execution state of the VI.

Example

Values

0Bad—VI has errors and cannot execute.
1Idle—VI is not running but is in memory.
2Run top level—VI is the top-level VI in an active hierarchy.
3Running—VI is reserved for execution by one or more active top-level VIs.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead Only
Available in Run-Time EngineYes (Read Only)
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes

Example

Refer to the VI Properties - Front Panel States VI in the labview\examples\Application Control\VI Server\VI Properties directory for an example of using the Execution:State property.

 Open example  Find related examples