cancel
Showing results for 
Search instead for 
Did you mean: 

using a "menu ring" feature on the front panel with event structures

NewMachine
Member

using a "menu ring" feature on the front panel with event structures

hello - right now i have many event cases controlled by many "ok buttons". i would like to use a menu ring on the front panel to save space from all those buttons, but i don't see how it will work with all the individual event cases. currently each event is tied to a single button, and the menu ring acts as one thing on the block diagram so i can't tie an event to a choice in the menu. any suggestions? thanks....
7 REPLIES 7
jasonhill
Active Participant

Re: using a "menu ring" feature on the front panel with event structures

Personally, I would look for a Change Value in your ring control and use the NewVal property to control a case structure within the event structure.
altenbach
Knight of NI

Re: using a "menu ring" feature on the front panel with event structures

Use one single event case for a "value changed" of the menu ring. Inside the event case, place a big case structure that is controlled by the menu ring, and add as many cases as you have menu ring entries.
 
Each case should contain the code appropriate for the currently triggerd menu state (each case corresponding to one of your original events).
 
See how far you get. Smiley Happy
Marc_A
Active Participant

Re: using a "menu ring" feature on the front panel with event structures

Message contains an image Message contains an attachment
You guys are too quick.  I was taking the time to make a picture, so even though the question was answered, I'll post it anyway.
 

Message Edited by Marc A on 02-09-2006 04:03 PM

jasonhill
Active Participant

Re: using a "menu ring" feature on the front panel with event structures

Yes, but a picture is worth a thousand words.  (or 5 stars Robot Very Happy)
Marc_A
Active Participant

Re: using a "menu ring" feature on the front panel with event structures

Haha, thanks.  The favor was returned.. stars for everyone!
NewMachine
Member

Re: using a "menu ring" feature on the front panel with event structures

thanks....does the "0" default get changed to whatever the text inside the menu ring is?
altenbach
Knight of NI

Re: using a "menu ring" feature on the front panel with event structures

Message contains an image Message contains an attachment

Alternativley, you could use an enum control instead of a menu ring. It will name the cases according to the selection automatically. Smiley Very Happy

If you want to use a menu ring and strings, you could do something like in this image.

Message Edited by altenbach on 02-09-2006 01:43 PM