You said that you currently setting the window to modal. My guess is that you are currently setting the LabVIEW VI properties to make the VI modal. This is correct, but you will also want to include the TestStand subVI's "Start Modal Dialog" and "End Modal Dialog" around your LabVIEW code in the edit VI. Both of these VI's can be found under TestStand in the functions palette. The "End Model Dialog" vi has an input called "VI originally open" if you wire a false to this terminal the front panel will close.
Message Edited by Dillon G on 09-27-2007 11:55 AM