ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

five button dialog

I see someone modified the standard "3 button dialog" into a "4 button dialog", which worked for me in the past.  Now I need a "five button dialog" of similar functionality (i.e., a dialog box pops up allowing user to choose one of 5 choices "red", "green", etc.). I may try to modify the 4-button one myself (I'm not beginner, but not advanced at all), but just wondered if someone had done it already.  Thanks in advance.

 

Four-button dialog example:  http://zone.ni.com/devzone/cda/epd/p/id/3324 

0 Kudos
Message 1 of 4
(3,733 Views)

More...

Actually I cannot modify this VI because I only have "base" Labview and cannot do event structures, but I could use such a VI if someone else has already written it.

0 Kudos
Message 2 of 4
(3,722 Views)
The easy way to do this is to start with the Prompt User for Input Express VI. Place the Express VI on the block diagram. You'll probably get a dialog asking you to configure. Just select to display the second button. Then, right-click on the Express VI on the block diagram and select "Open Front Panel". This will convert the Express VI to a regular VI. The modifications required to this VI will be simpler than the example you pointed to.
Message 3 of 4
(3,721 Views)

I've attached a modified version of the CORE VI (LV 7.0) that can display from 1 to 9 buttons. It still uses an event structure...

 

 

Message 4 of 4
(3,684 Views)