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

Boolean expression fails sporadically

$
0
0

In a TestStand 4.1 sequence we have a local container with some configuration flags which are set from a configuration file; currently these flags are all true.

We observe that the following if-condition sometimes fails, i.e. the if-block is not executed although everything should be True:

 

True && Locals.ConfigContainer.SomeCondition

 

 

Disregarding for the moment the sensibility of the "True &&", is this possibly a known issue that such an expression can fail sporadically? What could be a possible reason?

 

The sequence is running concurrently in two separate executions; as far as I know, Locals should not affect each other between executions or threads.

 

Regards

 

Peter

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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