09-02-2024 12:38 PM
Hi all,
I am running a Sequence file in Parallel Model. Incase of specific events, I have to stop the currently running UUTs and wait for the next UUTs (basically cleanup the current UUTs and go to PreUUT). How should I do this? A LabVIEW VI runs in the background, checks for the events and currently calls the "SequenceContext -> GotoCleanup" for all sockets. But this does not address our purpose. This goes to the cleanup sequence of the currently running Sequences only and then continues looping on the MainSequence of the test Sequencefile and does not go to the PreUUT. Also the thread ID of the socket goes invalid after executing this GotoCleanup method. What am I missing? I checked this post and looks like we have to use TerminateAll with some precondition for our usecase. Is there any other direct method? Thanks.
09-03-2024 12:58 AM
From SequenceContext, you should also be able to access RunState.Execution.
Use the Terminate() Method.
In the Parallel Model, each Socket has its' own Execution plus there is an extra Controller Execution (which must not be stopped in your case).
09-18-2024 12:19 PM
@Priyadarsini wrote:
A LabVIEW VI runs in the background...
Each socket execution should pass a SequenceContext to your backgroud VI, then when the event happens the VI can signal each execution to GoToCleanup