NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error handling

Hi!

 

I have allready been asking about parts of this question around the forum, but I thought I'd collect the questions and try to make it clear what I'm asking about.

 

My VI's have a cluster output with all the potential errors. I'd like to run a test after the VI has run to see if there are any errors. If any step fails, a sequence that I copied from on of the examples run, and lets the user choose "force pass", "terminate" etc.  This is my error cluster:

 

Error.JPG

 

 

This is the my local variable for the error cluster

 

localvar.JPG

 

This is my pass/fail step using the "none" adapter:

 

 

passfail.JPG

 

If i introduce any errors in my VI, this step always gives a pass. I'm not sure if it's the way I set up the pass/fail step or if the error cluster isn't beeing saved in the variable. I almost looks like it uses the initial values of the error cluster variable.

 

Thanks for your time

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

Sorry i am not able to get your problem clearly.

 

However this is my observation seeing at the post expression.

 

Finally the post expression should evaluate to :

Step.Result.PassFail=True ( for pass) or Step.Result.PassFail=False ( i am seeing ==).

0 Kudos
Message 2 of 2
(2,784 Views)