LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

launching subvi in new window

I would like to launch a subvi and have it open a front panel and run in a new window. I seem to remember that this is possible, but can't figure out how. Also, will the mail vi continue to run in the background? Can the program be paused while the subvi runs?

Thanks.
0 Kudos
Message 1 of 4
(5,888 Views)
Hello Kasey,

open the vi properties of the subvi (right-click the icon) and go to the "window appearance" page. Select "customize" and then switch on "show front panel when called" (and maybe "close afterwards..." too).

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(5,886 Views)
Thank you. I knew there was some way to do it...I just couldn't find the right window.

Thanks again. 🙂
0 Kudos
Message 3 of 4
(5,883 Views)
Hi Kasey!

The answer by GerdW is perfectly correct, but it makes it where every time that specific subVI is called, the front panel will pop up. If you want to make it a per-instance occurrence (as opposed to a subVI property), you can right-click on the subVI in the top-level VI's block diagram and choose SubVI Node Setup->"Show Front Panel when Called" & "Close afterwards if originally closed"

Hope this helps!

Travis H.
National Instruments
Travis H.
LabVIEW R&D
National Instruments
Message 4 of 4
(5,862 Views)