NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how can one execution stop the other execution in parallel testing mode

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.

exampleexample

0 Kudos
Message 1 of 3
(1,761 Views)

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.

0 Kudos
Message 2 of 3
(1,714 Views)

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

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 3
(1,693 Views)