StationOptions.GetTimeLimitAction
- Updated2025-07-21
- 1 minute(s) read
StationOptions.GetTimeLimitAction
Syntax
StationOptions.GetTimeLimitAction( type, operation)
Return Value
Use the following constants with this data type:
- TimeLimitAction_Abort –(Value: 0) Initiates an abort of a running execution.
- TimeLimitAction_KillThreads –(Value: 1) Ends the thread for a running, terminating, or aborting execution.
- TimeLimitAction_Prompt –(Value: 2) Launches a dialog box with the option to terminate, abort, or kill the execution.
- TimeLimitAction_Terminate –(Value: 3) Initiates a termination of a running execution.
Returns the action TestStand takes when the time limit expires.
Purpose
Returns the action for a specific type of time limit and operation TestStand takes if the time limit expires.
Remarks
TestStand maintains a set of time limit settings that determine whether TestStand takes an action when an execution state does not change for a specified amount of time. For example, TestStand could attempt to abort an execution if, while TestStand is attempting to shut down, a terminating execution takes longer than 10 seconds.
TestStand maintains unique time limit settings for normal executions and for executions that run while the engine is exiting. For each type of execution, TestStand maintains different time limit settings for when an execution is aborting, executing, and terminating.
Parameters
type As TimeLimitTypes
[In] Specifies the type of time limit for the setting the method returns.
operation As TimeLimitOperations
[In] Specifies the operation type for the setting the method returns.
See Also
StationOptions.GetTimeLimitEnabled