LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parent kill his child with VI-server

I use a VI-server (parent vi) to start another VI (child) with a closed front panel. When the parent stops running he killed his child. How can I avoid this? There is no problem when the front panel of the child stays open.
0 Kudos
Message 1 of 2
(2,574 Views)
Ah yes! The 'ole no front panel, no running VI situation. Here's the secret -> Make sure the "child" opens a VI Server reference to himself (or herself if its a girl). As long as LabVIEW sees an open reference it will let the child live on. I believe the exception is in a build executable, you must have one front panel open (even if its hidden).

Dan
www.primetest.com
0 Kudos
Message 2 of 2
(2,574 Views)