Hi,
Still not sure where this code is called. Is it part of the Operator Interface or part of a Test Sequence file.
You dont need to perform the TerminateAll and the AbortAll. You only need to perform the one. TerminateAll is a tidier version of the AbortAll as it performs the clean-ups.
The Shut Down should be handled in two passes, as detailed in the TS Programmer Help. You will need to monitor the UIMessages to determine when to send the shut down.
If this code is part of Test Sequence code, then you will need to be monitoring the Terminatation Status to ensure you code shuts down correctly if the OI terminations the test sequence execution.
Regards
Ray Farmer
Regards
Ray Farmer
