CommonCParameter.ResultAction

Syntax

CommonCParameter.ResultAction

Data Type

CommonCParameterResultActions

Use the following constants with this data type:

  • CParamResult_NoAction –(Value: 0) Specifies to ignore the return value.
  • CParamResult_SetErrorIfNegative –(Value: 1) Specifies to set the error state of the step if the return value is less than zero.
  • CParamResult_SetErrorIfNotZero –(Value: 4) Specifies to set the error state of the step if the return value is not zero.
  • CParamResult_SetErrorIfPositive –(Value: 2) Specifies to set the error state of the step if the return value is greater than zero.
  • CParamResult_SetErrorIfZero –(Value: 3) Specifies to set the error state of the step if the return value is equal to zero.

Purpose

Specifies whether TestStand sets the Error.Occurred property of the step to True when the return value or parameter value after the call is greater than zero, less than zero, equal to zero, or not equal to zero.