Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Additional Results Condition Not Working Correctly For Parameters

$
0
0

TestStand 2014

 

Trying to log a parameter only if the step status is "Failed" won't log the parameter when the step actually fails.  However, variables with the same condition will log just fine.

 

The attached sequence demonstrates this.  Basically I have a subsequence that returns a random number and a string as parameters.  I use the random number to evaluate against my limits for the test call.  I want to log the string parameter only if the step fails.  So I set it as an additional result and set the condition to

Step.Result.Status == "Failed"

 

The data never shows on the report.

 

But when I put an explicit additional result with the same local variable and put the exact same condition it shows on the report when the step fails.

 

I'm baffled as to why parameters won't log with this condition but explicit additional results work just fine with the same condition.

 

Any thoughts?

 

Thanks,

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>