We have a lot of applications from LV 5.0 to LV 7.0 which load VIs through VI server and run VIs in the background. For all these VI the window apperance is set to default.
The starting VI will load the VI with Open VI Reference. Then you use Invoke Node>>RunVI with wait until finished set to FALSE. If you now close the reference the VI will be unloaded. Put a small wait between the Invoke Node and the Close reference.
The loaded VI must open a reference to itself and keep this reference open until it finishs.
If you build an application you have to add this VI as a dynamic VI to the build file. Be sure that in the VI Settings page for this VI "Remove Panel" is set to "No".
Your problem lies in the way LV loads and unloads VIs. A VI can be unloa
ded when no reference is open to the VI and the front panel is not open.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions