12-02-2019 08:20 AM
Hello
I use Teststand 2014 with the batch model and 6 sockets. I use several batch synchronization enter/exits in the sequences.
When a measurement in one sections fails, it goes to cleanup of the sequence. In the batch synchronization of next sequence i want to skip the measurement for this failed socket. How can i retrieve the status (passed, failed) of a socket in a batch synchronization block ?
Solved! Go to Solution.
12-12-2019 01:58 PM
In the synchronized sections, RunState.SequenceFailed is the sequence pass/fail for the current unit in the batch. Before leaving the synchronized section, you could store its value to an array.
I like having file globals shared by all executions in batch mode so that I can store results like this in a file global (Edit->Sequence File Properties then under Sequence File Globals select "All executions share the same file globals). Otherwise you can use a station global array.
Then in subsequent synchronization sections you can query the array value for the current unit. For example: FileGlobals.unit_passfail_status[RunState.TestSockets.MyIndex ].