08-27-2020 06:31 AM
For an application i use the batch model with 7 testsockets
A few sub sequences use the batch option "One thread only". When this sequence fails/error i get this error message from the other testsockets
-17500 - Error message: An error occurred while performing batch synchronization on the step. The thread that entered the One Thread Only synchronized section that this thread is waiting on reported a run-time error while inside of the section.
How can i avoid this errormessage and what exactly does this mean ?
09-09-2020 05:48 PM
Are you using it on a single step or an entire sequence?
I'm pretty sure that one you use one thread only and the threads synchronize after the one thread is done then the error is propagated to all the other threads that didn't run.
You have many options for suppressing the error but do you really want to do that? What if the step is setting the temperature on a thermal chamber and it didn't set properly. Do you really want the other threads to continue?
09-10-2020 12:36 AM
Hello jigg
Of course i want a error messages when something is wrong but i want to handle the other threads that are waiting until the "one thread" is finished in a correct way. And because this thead doesn't finich correctly they keep waiting. How do i handle these kind of situations properly ?
By the way, this is the first time that i use a batch model 😁
Thanks in advance
09-10-2020 09:05 AM
I don't see the behavior you are describing when I test it out. Are you doing the one thread only on a single step or are you using the batch synchronization step around a bunch of steps?
09-11-2020 01:50 AM
I use the One thread only on a sub sequence (Pretest in the example below). The thread that executes the sub sequence will come back with error.code -1. The rest of the threads will give error code -17500 but this will be normal behavior then. I thought that i did something wrong. I thought that the other threads were still waiting on that error thread to finish and that my program hang, but that is not the case
09-11-2020 11:38 AM
So it looks like you are all good then?
Let me know if you have other questions.