NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Exit Button

HI,
I need to make a simple program witch must to make exit from test execution (Test Stand Shut Down).
I maked but when all the TestStand is Shutting down I receive error code 17500 Operation Failed Source TASPI...
Please Help me to resolve this problem.

Best Regards,
0 Kudos
Message 1 of 6
(3,675 Views)
Hi,

Can you post your VI at version7.0

regards
ray farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,663 Views)
The some example in LV7.0
0 Kudos
Message 3 of 6
(3,649 Views)
Hello,

I looked at you example VI, but I was wondering if you are trying to call this as a code module from TestStand or are you running this VI outside of TestStand? If you could reply back to this post, I would greatly appreciate it.


Regards,
Kevin Leonard
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,623 Views)
HI,
Yes with this code I wish to make exit from TS(3.1), calling this code in TS .,
This code is part from a software window, were if the operator pressing on Exit button this code must to running and to make exit from TS.
Thank you
Best regards,
0 Kudos
Message 5 of 6
(3,619 Views)
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
0 Kudos
Message 6 of 6
(3,615 Views)