ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
Hello there
I have a question about ring menus which can be changed by choosing a condition. It will be something like that: a menu with items 1,2,3,4 and another menu that's items are a,b for 1, a,c,d for 2, b,d for 3 and a,d for 4. That is kinda like a drop down menu that is connected a previous menu. Is that kind of menu possible?
已解决! 转到解答。
Can you clearly explain whats your query/problem is?.... If you have made any VI regarding that attach it...
![]()
Hi,
Ring or enum,, it is not possible.
you can go for menu bar...
It can be created by this menu options
Edit--> Runtime menu...
that will helpful for your requirement...
<Kudos are welcome>>
Ok let me show what i mean.
I have two menus and first menu is below.
When user choose 1, second menu should give this options.
If user choose 2 or 3 or 4, second menu should give another options like:
or
Now my problem is more clear, right?
This means that you want to edit the items in the ring during the code is running... Or its something else...
![]()
Hi,
I got your problem thats why i told you to use the menu option. Because in ring, if you use the charecter. then in the forther processing it will give you only index. For ex. If you connected the second ring output to the case structure, in case structure you will get only the numbers not the charectors.
but in enum you cannot dynamically edit the values. only you can assign values in the edit mode only.
But any way try this VI.
It will be helpful for you i think...
<<Kudos are welcome>>
utlu,
You can do this quite easily using the "Value Changed" event on the first ring and the "Strings[]" property node on the second.
Here's what the code would look like:
I've attached a LabVIEW 8.0 version.
~Simon