02-28-2020 03:57 AM
Hi
I have one question, how can one execution stop the other execution in parallel mode,
for example, teststand run two same executions in one time, when one execution run a specific sequence, this execution need stop the other execution, when the specific sequence was donw, continue the other execution.
Thanks in advance and looking for any suggestion if any one can help me.
02-29-2020 08:42 AM
Off the top of my head, you could create a Station or File Global (the setting for "all executions share the same file globals" should be checked). Then, in SequenceFilePostStep, monitor the state of the global and terminate the sequence if needed.
03-02-2020 08:02 AM
Another way to do this is to use synchronization objects, such as a lock or notifier:
https://zone.ni.com/reference/en-XX/help/370052AA-01/tsref/infotopics/sync_objects/
There are some examples in the %TestStandPublic% or %TestStandPublic64% directory:
\Examples\Built-In Step Types\Synchronization Step Types
Hope this helps!
Trent