NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

what property can force the MainSequence to be skipped if a step in the PreUUT sequence fails

Solved!
Go to solution

If you step is within the main sequence of the sequence file, then the following precondition should work

RunState.Caller.RunState.Sequence.Main["PreUUT Callback"].Result.Status=="Passed"

 

Thanks 

Message 2 of 3
(3,205 Views)
Solution
Accepted by topic author mike_22

Pass back the ContinueTesting boolean of the PreUUT callback as False and the MainSequence callback will be skipped - also however, testing will be stopped too.

Message 3 of 3
(3,168 Views)