02-15-2024 06:47 AM
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
Solved! Go to Solution.
02-16-2024 07:14 AM
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
02-16-2024 12:14 PM
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