04-01-2007 11:31 PM
04-02-2007 06:18 AM
Regarding the ring going up instead of down, I don't think you can control that, because I believe it is being determined automatically by the position of the ring on the screen.
As for the duplicated value, a ring is a numeric control. To change the selected element you need to wire the IDs of the strings into the Values[] property and then give the ring terminal the appropriate value. An added bonus is that you can then use the ring value in your SQL queries as an identifier.
Personally, I have a VI which accepts a ring reference, 2 arrays (strings and values) and a desired value and then fills the data into the ring and changes the value either to the desired value or (if it's not in the array of values) to the lowest possible value. That way, you can fill as many rings as you like in your application.
Another option you might wish to look into is using a combo box (string palette), but I don't like them.