NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Evaluation of results in main sequence

Can anyone help me.

 

I have a sequence that consists of several subsequences each of them with several tests and also subs with there tests. Also there are some test and evaluations in MainSequence. I want to evaluate the status before finnishing  MainSequence to do some extra tests on fail.

I

know that I can access the Parameters.Result.Status from PostUUT. But is there a parameter that can used from MainSequence?

 

I have google and found the following suggestions.

RunState.SequenceFailed

thisContext.SequenceFailed

ThisContext.RunState.Main.SequenceFailed

 

Does anyone knows if any of them works in my case?

0 Kudos
Message 1 of 3
(742 Views)

So, you did some investigation, have you tested which of the approaches works?

 

Using breakpoints and checking the variables pane can help a lot! 

 

At least one of your suggestions works IMHO 😉 so go ahead, try and learn😊 

0 Kudos
Message 2 of 3
(712 Views)

I will go with RunState.SequenceFailed and hope it will work in any situations

0 Kudos
Message 3 of 3
(691 Views)