OK, I think I understood now what you're trying to do, and you can indeed do it that way. But there might be better ways...
E.g., does the user of your VI know the values in the array beforehand? Or does he have to browse through the array to find the element he wants? That would seem a bad approach to me, since he has to select a lot of unwanted values and you have to program an extra OK button to let the user input his final choice.
If the size of the array is not too big, why not present the data as a listbox, where the user can select the value. I attach a VI demonstrating it.