LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access Sub.vi's from a front menu button system at any time

I have 3 buttons on a front menu, which in turn operate three smaller pop-up screens. I want to be able to select any of the screens at any time from the front menu even if one of the screens is live already. The three pop-up screens are all in seperate sub.vi's, I was going to use the attribute node and hide each screen but this does not work for me..
0 Kudos
Message 1 of 6
(2,970 Views)
I need some more information about your problem.
What window appearance have your pop-ups? If you have got them the dialog style change it to custom and uncheck "auto center" and "window is modal".
So you will be able to access all windows.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 6
(2,970 Views)
I have got the pop-ups set as dialog, I will try your answer over the weekend and see if this solves my problem, Thanks for the quick response this has been a brain tease.
0 Kudos
Message 3 of 6
(2,970 Views)
This has worked, but how do I hold each screen on the main menu screen until I close them individually. From yor answer I can pop up any box at any time but as the next one is poped up the first one dissapears. I want to try and hold all three up if necessary or any combination.
0 Kudos
Message 4 of 6
(2,970 Views)
Open them dynamically using VI server. Briefy, there's a couple different ways to do this. One is to open a reference to the VI and the use the Run method with Wait Until Done false. Another is to use the property Front Panel Window:Open. Without seeing your program, I'm not sure what exactly you're trying to accomplish but you could search the forum for dynamic load and find a lot of discussion and examples
0 Kudos
Message 5 of 6
(2,970 Views)
You have also to remove the "Close afterwards if originally closed" attribute to leave the panel open. This way when you want the front panel to close you have to do this progamtically with the property "FP.Open".

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 6 of 6
(2,970 Views)