NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to manipulate the UUT Report Header UUT Result and Report File Name

Hi,

 

I am running a test on multiple slots. I would like to terminate the test if a step fails. The issue I am having is that, after termination, the report header and test report name displays "Terminated". I want to show them as "Failed". 

 

Would really appreciate any suggestions.

 

Thank you.

0 Kudos
Message 1 of 2
(1,007 Views)

You're best option would be to use the Station Options to achieve what you want.

 

There is an option in Station Options -> Execution -> Run-Time Error. It is called "Immediately Goto Cleanup on Sequence Failure".

 

Each step in your sequence in Properties -> Run Options has a checkbox called "Step Failure Causes Sequence Failure".

 

If both of these are checked, and one of the steps you mention Fails, then the test will act like it Terminated (skip the rest of the steps and go to cleanup) but it will be "Failed" instead of "Terminated" giving you what you want.

 

You would want to replace whatever you are doing that causes it to Terminate with this instead (I'm assuming a Post Action On Fail?)

0 Kudos
Message 2 of 2
(955 Views)