LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to develop a vi with multiple menus and configuration parameters, too many for 1 front panel. I would like to

have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?
0 Kudos
Message 1 of 6
(3,126 Views)
have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?In LV 6i, Tabs would be the way to go - They allow you to put large amounts of front panel items on various windows/tabs all in 1 VI without crowding the objects. You then label each Tab according to its functionality. The user chooses the right Tab as needed. Look at some of the Tab examples in LV 6i.
Good Luck, Doug
0 Kudos
Message 2 of 6
(3,126 Views)
have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?Tabs are also possible with LabVIEW 5. My favorite way to do this was to use an ActiveX control (i.e. Microsoft TabStrip control). The other option is to create a custom menu. The Get Menu Selection function returns a string which can be wired to a case structure.
0 Kudos
Message 4 of 6
(3,126 Views)
have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?Thanks Dennis - your comments and answers are always helpful. Doug
0 Kudos
Message 6 of 6
(3,126 Views)
have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?"You can create your own dialog windows to set your parameters. Create a vi with all the features you want the dialog window to perform. Edit the connectors of the vi so they return what you want to retrieve (Right-click the upper right icon in the fron panel of the vi and select "Show Connectors"). Then, edit the configuration of your vi so it behave like a dialog box (Right-click the upper right icon again and select "VI Setup..."). Finally, add your vi to your main application vi.

I included an attachment as an example. The attachment is a .zip file. The example was written in LabVIEW 5. Run the vi with title "call dialog".


Good luck!
Enrique"
www.vartortech.com
Message 3 of 6
(3,126 Views)
have say one menu on the front panel that will access several other menus. Each having several additional configuration parameters. Anyone know the best way to approach this? Can I select a menu, and have it open a vi that sets the parameter for that menu?Yes, Quite easily. If you build sub-VI's and set the Window Appearance properties to "Open Front Panel When Called" and "Close Again Afterwards", you can use the sub-VI as a menu. It might be best if you store all of the parameters in a global variable, then the sub-VIs just have to set the variable. This has the added bonus of allowing you to set default values in all of the variables as well (that would be accessible to all of the program).
0 Kudos
Message 5 of 6
(3,126 Views)