StationOptions.SetTimeLimitAction

Syntax

StationOptions.SetTimeLimitAction( type, operation, action)

Purpose

Specifies an 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.

Note You must enable the corresponding time limit with the StationOptions.SetTimeLimitEnabled method before calling this method. Otherwise, the method does not have any effect. If a time limit is disabled, the time limit action is set to TimeLimitAction_Prompt as default.

Parameters

type As TimeLimitTypes

[In] Specifies the type of time limit for the setting the method sets.

operation As TimeLimitOperations

[In] Specifies the operation type for the setting the method sets.

action As TimeLimitActions

[In] Specifies the action TestStand takes when the time limit expires.

See Also

StationOptions.GetTimeLimitAction

StationOptions.SetTimeLimit

StationOptions.SetTimeLimitEnabled

TimeLimitActions

TimeLimitOperations

TimeLimitTypes