03-17-2016 05:17 AM
how it can be pulled off the string index builted of a ring menu and use it as as a control ? I have the necessity to use the index of ring as control.
Thanks
03-17-2016 06:01 AM - edited 03-17-2016 06:01 AM
I'm not completely sure what you are talking about. I'm even more confused by looking at your supplied VI.
Do you just want the displayed string? If so, you could probably just use a ComboBox (in the string palette).
03-17-2016 06:21 AM
No, I want that when i changed the number of the index, the same number must appear in the control of the string. For example If I select the index 3 I want to read number 3 also in the control of the string automatically.
03-17-2016 06:47 AM
03-17-2016 07:15 AM
In the VI that I sent,if I change the control that I called index, i want that change at the same time the index of the strings[ ]and the index of the strings 2 [ ].
I hope explained better and I apologize for the lack of precision.
03-17-2016 07:16 AM - edited 03-17-2016 07:16 AM
Ah, so you actually want this
03-17-2016 07:18 AM
Hello Robbie,
your problem is hard to understand.
I suppose, "the number of the index" ist the value contained by your numeric control wit h the label "index". But what is the "control of the string"? on your front panel there is only a string indicator named "movimento". Then there are two string- array indicators, "Strings []" and "Strings [] 2".
If you want to have the numerical value of "index" displayed in "movimento", use the "Number to decimal String" function.
If you want to show the element in "Strings []" wich is at index position defined by "index", make a property node of the string- array indicator, and use the property "index values".
03-17-2016 08:20 AM
In a ring menu i wrote the item (string) and a value. I can read the string and the value but I don't read the corresponding index of the ring. In the VI that I sent I have 62 index. For example I have the index 1 and at the index 1 corresponding one string and one value, for the index 2 corresponding one string and one value, and so on. i have the necessity to read the index of a string and value that I want to use.
03-17-2016 08:34 AM - edited 03-17-2016 08:36 AM
A ring is just a special type of number that contains extra properties.
So just wire it up!
03-18-2016 03:18 AM
Is this what you mean?