02-03-2011 08:26 PM
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,
02-03-2011 08:56 PM
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?
02-04-2011 12:14 PM
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,
02-07-2011 04:43 PM
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