StationOptions.GetTimeLimit

Syntax

StationOptions.GetTimeLimit( type, operation)

Return Value

Double

Returns the time limit in seconds.

Purpose

Returns the time limit value in seconds for a specific type of time limit and operation.

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 a terminating execution takes longer than 10 seconds to shut down.

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 aborting, executing, and terminating executions.

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 that the method returns.

See Also

StationOptions.GetTimeLimitAction

StationOptions.GetTimeLimitEnabled

StationOptions.SetTimeLimit

TimeLimitOperations

TimeLimitTypes