Execution.RTEOptionForThisExecution

Syntax

Execution.RTEOptionForThisExecution

Data Type

RTEOptions

Use the following constants with this data type:

  • RTEOption_Abort –(Value: 3) Instructs the execution to abort the execution.
  • RTEOption_Continue –(Value: 1) Instructs the execution to process the error by propagating the error to the calling sequence, if one exists. If the current step group is Setup or Main, the execution jumps directly to the Cleanup step group.
  • RTEOption_Ignore –(Value: 2) Instructs the execution to ignore the error and continue normal execution.
  • RTEOption_Retry –(Value: 4) Instructs the execution to ignore the error and re-execute the step that caused the error condition. For the StationOptions.RTEOption property, the Execution.RTEOptionForThisExecution property, and the Thread.SetBatchRTEOption method, TestStand interprets the RTEOption_Retry value as RTEOption_Continue .
  • RTEOption_ShowDialog –(Value: 0) Instructs the execution to launch the Run-Time Error dialog box when an error occurs.

Purpose

Specifies the current setting that indicates how TestStand responds to a run-time error.

Remarks

The original setting for this property is the value of the StationOptions.RTEOption property when the execution is created.

See Also

Run-Time Error dialog box

StationOptions.RTEOption

Thread.SetBatchRTEOption