04-02-2010 11:21 AM
I was wondering if anyone had some thoughts on this.
What is the best way in LabVIEW to check if a TestStand Execution is complete. I am currently starting a New Execution in a previous state using the 'Engine->New Execution' method. Then in my state shown in the attachment, I simply wait in a loop until the execution is Stopped using Execution->Get States.
I have also noticed the function called 'Execution->WaitForEndEx' but the help documentation indicates:
" This method is not meant to be used by a user interface or sequence editor, as it does not process UIMessages. Instead, use this method from a step to synchronize with another execution."
Is WaitForEndEx a better method or should I stay with the current implementation?
Thanks,
Paul Holzrichter
04-03-2010 04:29 AM
Hi Paul.
You could also use the Application Manager's "EndExecution" event.
This would prevent you from staying in a loop and waiting for the execution to complete.
Regards, Guenter