03-09-2006 12:19 PM
03-13-2006 01:09 PM
RG,
What version of TestStand are you using?
I am not sure if you want to abort the execution or just set the test status to "Aborted".
For both scenarios you can use the 'Batch Synchronization" step.
Set the Batch Synchronization section to use 'Serial (one thread at a time)'.
1. The first socket that reaches the synchronization section will enter it and execute the test.
2. If the test fails you can set a file global to 'FALSE' to let the other sockets that they have to "Abort" the test.
3. The next thread that reaches the section will check the fle global to decide whether or not it should execute the test.
You can skip the test using preconditions.
You can also set the step status to "Aborted" instead of "Skipped".
Every sockets would execute the test serially.
I am attaching a TestStand 3.1 sequence file with an example.
If you have any question let me know.
Antonio Lie.
03-13-2006 01:54 PM
Hello Antonio,
I am using Test Stand 3.5 so the 3.1 sequence is fine.
You are correct I would like to set the test status to "Aborted" in the report but would also like to abort the execution for all sockets.
I also need to test the sequences for each socket in parallel. Does that complicate things or can I use the Batch Synchro. step in a similar manner?
Thanks,
RG
03-14-2006 03:47 PM - edited 03-14-2006 03:47 PM
RG
The Batch Batch Synchronization step only works while you are running using the Batch model.
You can use a lock step tp accomplish the same.
Take a look to the attached example.
After the first batch fails the test, I mark the same test in the other sockets as "Aborted" and terminate the execution immediately.
You could abort the execution, but you would not get the report.
Also notice that the first socket that reaches the test (CallSubSeq1) will always fail. I am not terminating its execution though.
Hope it helps.
Te attached example is a TS 3.5 sequence file.
Regards.
Antonio Lie.
Message Edited by Antonio Lie (NI) on 03-14-2006 03:47 PM
03-14-2006 04:08 PM