NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

kill lvrt in TestStand

Hello everyone,

 

My task is to kill all LabVIEW user processes running in a TestStand environment in order to deal with a possible H/W error.

 

When the LabVIEW adapter is set to LabVIEW Development it is easy to do that by killing the LabVIEW process.

How can this task be accomplished when the adapter is set to the run-time server?

 

Thanks,

Flor

0 Kudos
Message 1 of 4
(3,172 Views)

Create a simple VI that calls the Quit LabVIEW routine and call that from TestStand if you want to kill the LVRTE.

 

This seems like a really bad idea though... there's probably some severe coding issues going on if you need to kill a process in order to recover from hardware errors.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 4
(3,165 Views)

Thanks snowpunter,

 

It's about quickly terminating looping VIs which are running in 3 separate threads if an unexpected H/W error or emergency shutdown happens; it seemed the easiest thing to do.

 

Would Quit LabVIEW function do that without prompting ? We want to avoid any dialog.

0 Kudos
Message 3 of 4
(3,155 Views)

You should use a notifier, queue or functional global variable to shut down multiple VIs running in parallel.

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 4
(3,149 Views)