SequenceContext.ErrorReported
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
SequenceContext.ErrorReported
Syntax
SequenceContext.ErrorReported
Data Type
Purpose
Set this property to True from within a SequenceFilePostStepRuntimeError, ProcessModelPostStepRuntimeError, or StationPostStepRuntimeError callback sequence to prevent TestStand from sending a UIMsg_BreakOnRunTimeError message to the user interface. The UIMsg_BreakOnRunTimeError message tells the user interface to launch the Run-Time Error dialog box. By setting this property to True in the callback, you are telling TestStand that the callback has already handled the run-time error.
Remarks
You can set this property from within an expression such as RunState.Caller.RunState.ErrorReported = True . Also, when you implement the callback, National Instruments recommends that you verify that this property is already True before continuing because a different run-time error callback might have already handled the error. Outside of run-time error callbacks, this property is always False , and the value has no meaning. Refer to the Overriding SequenceFilePostStepRuntimeError Callback example located in the <TestStand Public> \Examples\Modifying Process Models\Overriding Engine Callbacks directory for more information about how to use this property.
See Also
SequenceContext.GetRunTimeErrorMessageEx
SequenceContext.SequenceErrorCode
SequenceContext.SequenceErrorMessage
SequenceContext.SequenceErrorOccurred