NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass/Fail test error vs fail

Solved!
Go to solution

Hi,

 

I have a pass/fail test with has an "error out" and a "PassFail flag" and a "Report text" output. I'd like to differentiate between an error (eg: a file the test wants to open can not be found) and an actual failure (eg: measurements are not within the limits)

 

So I have set the Step.Result.Error, Step.Result.ReportText and Step.Result.PassFail variables to my output. If the test fails it jumps to the Cleanup as I have set. If the step outputs an error then it continues the execution (I'd like it to go to the cleanup on an error as well)

 

How should I handle this?

 

thx!

0 Kudos
Message 1 of 3
(2,951 Views)
Solution
Accepted by topic author 1984

Check your station options for error handling. I assume that your station is configured to "Ignore". Default setting is "Show Dialog".

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

Yeap, you are right, it was set to ignore. Thanks.

 

0 Kudos
Message 3 of 3
(2,931 Views)