05-02-2012 02:32 PM
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
05-02-2012 06:38 PM
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.
05-03-2012 08:47 AM
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.
05-03-2012 10:29 AM
You should use a notifier, queue or functional global variable to shut down multiple VIs running in parallel.