NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Aborting current VI

I want to create an TestStand Operator Interface that is capable of aborting the current VI (VI being executed) called by a TestStand sequence. Is there a way to obtain a reference to the VI being called by TestStand?
0 Kudos
Message 1 of 3
(2,919 Views)
To mbuttman -
Currently TestStand 3.0 does not offer any way to retrieve the internal reference that it has to a VI that is running in LabVIEW.

The ability to be able to abort a specific running VI via the TestStand API may be something that may be considered in the future, but nothing is planned right now.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 3
(2,919 Views)
Hi,

You could use the VI's InitializeTerminationMonitor.vi, GetMonitorStatus.vi and CloseTerminationMonitor.vi in your code module VI. This allows the VI to monitor what's happening to the status of the execution and allows you to terminate your VI tiderly if the User presses the Abort or Terminate buttons.
I'm sure there's an example of its use either on NI's web site or as part of the TestStand examples.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 3 of 3
(2,919 Views)