Dear Mr.Nayisoe, Thanks for yor reply. The code you you have attached could not be opened as the error pops up to say the vi version(6.1) is newer than 6.0. But I myself tried as per your suggestion. But the front panel just pops and closes. Just flickers.
Actually I want a sub vi's front panel to open depending on the status of a switch in the main.vi. The sub vi should run and a boolean swtich like EXit in the front panel of the Sub Vi on being pressed should close the sub vi front panel and return to the main vi. In fact it is required to run the sub vi by the switch in the main vi and stop the sub vi by the switch in the sub vi's front panel. Pl comment thanks
