Your problem with both solutions is the same - there is a difference between the values and the labels. Like Dennis said, for his solution you need the values to be 1,2,3 because he's translating the value into the index, so other numbers won't work. For mine, the names should be the same. I think you only have one option: Use the strings and values property and extract the values array. To do this, you will need a for loop with an unbundle VI. Then, use the 1D search on that array.
___________________
Try to take over the world!