ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture Terminate Button Event

Hi,

 

I'm looking for a way to capture when users press the Terminate button (toolbar or user interface) and then display a message box to ask them if they really want to terminate or ignore that and return to testing.

 

Thanks,

 

Curt

 

0 Kudos
Message 1 of 3
(1,325 Views)

I haven't tried it, but the ApplicationMgr.PreCommandExecute event looks like it would be good for this.

0 Kudos
Message 2 of 3
(1,307 Views)

If you are using LabVIEW as a Adapter you can use Termination Monitor to get the termination status.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 3
(1,286 Views)