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

TestStand StationGlobals not updated (randomly)

$
0
0

I have recently added some statements to assign some values into a StationGlobal variable so that other TestStand sequences in the same computer can share the values. However i noticed that the variables are not updated after the seq has run for a while & I am not sure what is going on behind the scene in TestStand because we are using an Operator Interface most of the time.

 

Example:

Sequence A complete test for 1 unit and will store the timestamp of that unit into StationGlobals.Time

Sequence B will verify the current time against the StationGlobals.Time, to see if the difference in value is too large.

Test will fail in sequence B if the value is above certain threshold, eg more than 8 hours later.

 

However the problem i face is that after running Seq B for a few hours, the value in StationGlobals.Time will stop updating & the comparison is not valid anymore. 

 

I have deployed this method of comparison to several machines & the occurrence of the StationGlobals not updating happens randomly to most of my machines. 

 


Viewing all articles
Browse latest Browse all 6529

Trending Articles



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