LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a main screen that opens and runs other vi’s depending on the button pressed

Hope you can help,
I have created 5 separate VI's that I want to run.   For example,  I want a main Vi that will have control buttons that jumps to other VI's depending on which button is pressed.  Causing the selected VI to run.  Then be able to switch back the the main VI after I'm finished running the selected VI.
I'm not sure where I should start or what is the best way to do this.  I have crated all of the VI's but I can't seem to link them together.  Hopefully, this question makes since.
Thanks for you help,
AmySmiley Happy
 
Message 1 of 7
(3,210 Views)
how about creating a subpanel to link your subvi?
so when you press a button, the main vi will go into a subvi (subpanel) and when that is done, it does back to the main vi.




Message Edited by krispiekream on 05-13-2008 04:05 PM
Best regards,
Krispiekream
0 Kudos
Message 2 of 7
(3,207 Views)
here is a link on controlling multiple vi with subpanel

you can look at the example and see how it is done.
its quite simple

http://zone.ni.com/devzone/cda/epd/p/id/1669

Best regards,
Krispiekream
0 Kudos
Message 3 of 7
(3,197 Views)
Thanks,  I will try this.
Message 4 of 7
(3,175 Views)
Open the Example Finder (Help -> Find Examples), and search for "dynamic". Look at the example called "Dynamic Load Example".
Message 5 of 7
(3,157 Views)
Hi krispiekream,

I'm glad I'm not the one forced to work with this GUI Smiley Surprised

IMHO it's overloaded, controls and indicators wildly mixed together, different sized elements everywhere. Wow, and you have to use a 22' screen (or even bigger)Smiley Wink
But don't take this as an offence, these are just my thoughts when I look at this...

And please don't include picture wider than usual screen size (of 1280 pixels)!


Message Edited by GerdW on 05-14-2008 05:35 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 7
(3,152 Views)
Hi krispiekream,

I'm glad I'm not the one forced to work with this GUI

IMHO it's overloaded, controls and indicators wildly mixed together, different sized elements everywhere. Wow, and you have to use a 22' screen (or even bigger)

But don't take this as an offence, these are just my thoughts when I look at this...


hahaha. i needed every controls and indicators because they are all important on the front panel. i think its fine right.
i am only using a 19" screen.


Message Edited by krispiekream on 05-20-2008 06:00 PM
Best regards,
Krispiekream
0 Kudos
Message 7 of 7
(3,096 Views)