Execution:State Property

LabView Local Project Settings

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.

Example

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read Only)
PermissionsRead Only
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 disallowedNo
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 FrontPanelStates VI in the labview\examples\viserver directory for an example of using the Execution:State property.

 Open example  Browse related examples