LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to realise a pop-up menu upon my Panel?

Hello there,

does LabView enable the user to put a pop-up menu or a button opening an new
panel on the panel? If so, how?

Thankful for any help,

Ruth.
0 Kudos
Message 1 of 3
(2,826 Views)
You've got a couple of shipping examples. One is called Dialog Box Example.vi and the other is called Menu Selection Demo.vi. The first one activates a dialog box from a fron panel Boolean and the other does the same from a pull-down menu.
0 Kudos
Message 2 of 3
(2,826 Views)
You can use built-in Labview functions to display a dialog box (in the Time & Dialog palette) or you can create your own dialog as a sub-VI. If you create your own VI, the easiest way to display it as a dialog box is to right-click on the VI's icon (in the upper right-hand corner on the front panel), then goto VI Properties >> Category >> Windows Appearance >> Dialog.

To add a dialog to the menu, from the front panel goto Edit >> Run-Time Menu. Change Default to Custom and add your items. See Labview examples by going to Help >> Find Examples >> Browse >> Building User Interfaces >> Menus and Toolbars.

See the attached Labview 6.1 example. Put all three files in the same directory and open ShowDialogs.vi.
Download All
Message 3 of 3
(2,826 Views)