NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SequenceFilePostStepFailure Callback

Hi,

 

How do I set the SequenceFilePostStepFailure precondition event to trigger only on Numeric Limit Tests?

 

Thanks

 

Curt

0 Kudos
Message 1 of 3
(3,217 Views)

Curt,

 

the precondition for the callback is the condition labeled in the name of the callback. In your example, the "precondition" or "trigger" (or whatever you want to call it) is Post Step Failure.

It will execute for every step which results in a fail.

 

The recommended way to work only on specific step types (e.g. numeric limit test) is to implement a if (or select-case) clause which queries the step type. As you do get the step as parameter, it's quite simple to do. Implement the step type specific code in the appropriate case.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(3,167 Views)

Incase anybody is interested, in the 'Precondition Expression' of an Action step (or any step type) in the Main section of the 'SequenceFilePostStepFailure' callback use the statement

 

TypeOf(Parameters.Step) == "NumericLimitTest"

 

Curt

 

Message 3 of 3
(3,163 Views)