|Download Help (Windows Only)|
Use the following constants with this data type:
Returns the run state of the execution.
The ExecutionView Manager control generates the ExecutionViewMgr.RunStateChanged event when this property changes. The value this property obtains does not necessarily correspond to the value the Execution.GetStates method obtains. The Execution.GetStates method returns the instantaneous state of the execution, while the ExecutionViewMgr.RunState property returns the current state the ExecutionView Manager control displays.
|Note When you write a user interface that uses an ExecutionView Manager control, National Instruments recommends using the ExecutionViewMgr.RunState and ExecutionViewMgr.TerminationState properties instead of directly calling the Execution.GetStates method on the execution. A slight delay exists between when the instantaneous state of the execution changes and when TestStand updates the state this property returns to reflect the change. This occurs because the ExecutionViewMgr.RunState and ExecutionViewMgr.TerminationState properties do not change until TestStand processes the UIMessages involved. Thus, use the ExecutionViewMgr.RunState and ExecutionViewMgr.TerminationState properties instead because these properties reflect what the user interface actually displays.|