NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Solved!
Go to solution

 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?

0 Kudos
Message 1 of 2
(2,340 Views)
Solution
Accepted by topic author Paul.Boucher

This reads very much like this:

https://forums.ni.com/t5/NI-TestStand/Gracefully-Handling-Batch-Synchronization-Error-17500/m-p/3719...

 

Please point out if there are differences.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,309 Views)