Phil, The help file suggests that the main vi has to be running to prevent the subvi from being removed. You can add a pause at the end of the program so that it can be viewed. Or it might be possible (I don't know how) that you grab a picture of the front panel of the subvi and overlay it in front of the subpanel before the program exits. Zuolan
- Subpanel.vi Phil747
- Z