NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Batchmodel with sequentiel start

Solved!
Go to solution

Hello,

 

i have a Batchmodel with 5 sockets where all 5 sockets are starting in parallel.

What can i do that only socket 1 is started and socket 2 (3,4,5) whaits for 1 is finished?

Then 3 waits for 2 is finished and so on.

 

Thx

0 Kudos
Message 1 of 3
(323 Views)
Solution
Accepted by topic author OnlyOne

Solved by using the Batch-Synchronisation steps set to "Serial (One Thread at a time)".

 

There is also an option "One thread Only (One Thread enters, Remaining Threads Skip)".

How can i set it to "Last Thread Only, Beginning Threads Skip"?

 

Thx

 

 

0 Kudos
Message 2 of 3
(290 Views)

Hi,

Let say you need to switch on power from socket 0 only. All other sockets need to wait until this is done.

 

For the power ON function/step i will add a precondition runstate.sockets.myindex==0

This will ensure that only socket 0 run this step.

 

To ensure that other threads dont run away the very next step  i will put rendevous.

So all the threads/sockets will wait ( mainly wait for socket 0 to complete and come to this stage)

 

Ravi

0 Kudos
Message 3 of 3
(282 Views)