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

Continue other tests when one thread errors. (batch Synchronization)

$
0
0

 I have a fairly complex Batch mode sequence.  Some parts are only run in the first thread (like turning on power)  other parts can be done in parallel (taking measurements) and still other parts need to be done sequentially (programming a SN, all but one is powered off)

 

This all works.   The problem I have is sometimes there is a fatal error on one of the threads.  This error causes that thread to jump to Cleanup. But the other threads will wait indefinitely because they are waiting for the thread that errored out.

 

My question is what is the prefered way to handle an error on one thread in a Batch sequence?


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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