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

What value is used when parameter does not exist?

$
0
0

I've encountered some behavior that I cannot explain. I perform a calculation in a subsequence, but in the expression I refer to a parameter that does not exist. Somehow, values (which seem reasonable) are still calculated and reported to the database.

 

This happened because a colleague and I were both working on the sequence. After he checked it in, I copy and pasted my changes, trying to include all locals and parameters, but I forgot these two parameters. The expression in the subsequence is not shown in red: 

Capture.JPG

 

But when I look at the sequence call, the two parameters in question are shown in red:

Capture.JPG

 

So, what has TestStand been using for this calculation? As you can see, those parameters are in the denonominator of the expression, so I don't think it is using zero. Any help and guesses are appreciated!


Viewing all articles
Browse latest Browse all 6730

Trending Articles



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