LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pop up another VI front panel and run this in the main VI?

Hi all,

I want to create a VI, which contain several buttons: like "RUN ANALYSIS 1" and "RUN ANALYSIS 2".

 

When I click one of them, another front panel of VI jump out and run automatically. When I click on "Finish" button on this VI (the one jump out), this front panel close.

 

How to complete it?

 

Thanks,

0 Kudos
Message 1 of 4
(5,888 Views)

On the subVI, open VI Properties>Window Appearance. Select customize. Click on Show panel when called and Close afterwards if originally closed. Also look at the example called Dialog Box Demo.

 

p.s. Popups are a common question. Dod you do a search?

Message 2 of 4
(5,881 Views)

Hi,

Thank you for your quick reply.

 

I've looked at the example Dialog Box Demo.vi. I have a question on this. When the subVI is called and pop up, the parent VI seems to be disabled that I can not click on that VI, until the subVI is closed. I don't know how to achieve this.

 

Could you please help me with this?

 

Thanks,

0 Kudos
Message 3 of 4
(5,859 Views)

Hi Osso,

 

The ability to click on other VIs is also controlled by the Window Appearance. If you follow Dennis' instructions above, but this time change the Window Behavior to modal.  You can find more information about the different selections in the LabVIEW Help: Customize Window Appearance Dialog Box.

 

Regards,

 

Elizabeth K. 

National Instruments | Applications Engineer | www.ni.com/support 

0 Kudos
Message 4 of 4
(5,802 Views)