NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

RunState results not updating

Solved!
Go to solution

Hello All,

 

I am having a problem with RunState.PreviousStep.Result.PassFail variable. It is continue to read as fail when the previous step was shown as pass on the screen. I also get the same problem when accessing the Result.PassFail using the step ID instead of previous step.

 

Why is the variable wrong? What can I do to fix it? Thanks.

 

RTDG-RD-13.jpg

 

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

I suspect the problem is that your pass/fail step is looping and the final status is not directly reflected by the property you are checking. You should use the precondition builder (the buttons near the precondition expression) for the precondition expression instead. It has predefined preconditions for things like a particular step passing or failing. It checks the Result.Status of the step rather than the property you are currently looking at.

 

-Doug

Message 2 of 2
(3,108 Views)