ApplicationMgr.GetRunState
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
ApplicationMgr.GetRunState
Syntax
ApplicationMgr.GetRunState( exec)
Return Value
Use the following constants with this data type:
- ExecRunState_Paused –(Value: 2) The execution is suspended.
- ExecRunState_Running –(Value: 1) The execution is running.
- ExecRunState_Stopped –(Value: 3) The execution has finished executing.
Purpose
Returns the run state of an execution.
Remarks
The value obtained from this method does not necessarily correspond to the value obtained from the Execution.GetStates method. The Execution.GetStates method returns the instantaneous state of the execution. This method returns the current state the TestStand User Interface (UI) Controls display.
Parameters
exec As Execution
[In] Specifies the execution on which to operate.