04-08-2015 05:22 AM
I use a ring control that is filled in with values
The progranm value is example 0.001
Ring
3
1
0.1
0.01
0.001
0.0001
0.00001
etc
How can i set the value of the ring programmatticly,
so the 0.001 is selected?
see attached example setRing.vi
Kind regards, Ben Arts
04-08-2015 06:34 AM
You are using an Enum, not a Ring. If you change it to a ring, you can set the values to be whatever you want. So then you can just write the 0.001 to a local variable of the ring.
04-08-2015 06:54 AM
Hello,
Thank you for answer.
I tried but doesn't work.
see attached example SetRing1.vi
Were is the mistake?
Kind regards Ben Arts
04-08-2015 07:16 AM
Change the data type of the ring to DBL and then edit the items to make the values match the displayed text.