11-16-2015 06:58 PM
Hi I'm working on a multi station tester(in parrallel model) currently developed using Teststand, I plan to implement the tester to have a start button and a cancel button. The start button will allow starting a test on any specified idoling station, and the cancel button will be able to cancel any test that is running. If a test has been canceled, the operator is still able to start a new test on the same station once they push the start button again.
For canceling a running station, my current implementation is to first terminate the test on that station using "execution.Terminate", wait for 8 seconds before prompt operator to push any buttons. If the opertor pushes the "start" button, it will start another test on the same station. It looks like it's working fine, but I then discovered the function "Execution.restartex", and I wonder what this function does differently. Could someone please explain the advantage of using this function and what is the difference between this function and my method? Thanks a lot.
11-17-2015 10:11 AM
Hello,
This link might be helpful for you describing 'Execution.restartex':
http://zone.ni.com/reference/en-XX/help/370052K-01/tsapiref/reftopics/execution_restartex_m/
And the link for 'Execution.Terminate':
http://zone.ni.com/reference/en-XX/help/370052K-01/tsapiref/reftopics/execution_terminate_m/
Hope these help!
Thanks,