LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to remove buttons in favour of a Windows menu equivalent, how do I control the software without cluttering the GUI?

My Graphical User Interface is fairly full of controls & buttons, removing the buttons should simplify and improve the appearance of the GUI. I would like to capture all of the menu selections and drive the software without relying on offscreen buttons etc. Is there a standard technique? I have started to look at queue, notifiers, occurences etc but I havent seen anything yet that looks obvious for the application.

Help appreciated.
0 Kudos
Message 1 of 5
(2,683 Views)
whater version of LV are you using?

From v6 there is event structure, which allow you to track menu selection easily. You can still use the menu VIs with LV v5 and below.

-Joe
0 Kudos
Message 2 of 5
(2,683 Views)
You want to replace front panel controls with a custom menu? If that's true, then the code to do that is similar to the best way to handle the original controls. The event structure has both menu selection (User) and Menu Selection (App). As the shipping example Menu Selection with Events shows, you get the ItemTag and MenuRef from which you get the menu's item name which can be connected to a case structure. Since the menu name is a string, it also works well in a queue based state machine.
Message 3 of 5
(2,683 Views)
Joe,
Thanks for the help, I will investigate the menu/events examples. I am using Labview 7
Regards Chris
0 Kudos
Message 4 of 5
(2,683 Views)
Hi CB,

It's Pete from NIUK Tech. Support department here. I have been watching over this post and the answers posted by Dennis and the others look comprehensive.

If you have any further questions then please post back and I will look into the matter for you.

Best regards,

Peter H.
Applications Engineer.
National Instruments.
0 Kudos
Message 5 of 5
(2,683 Views)