08-28-2005 08:38 AM
08-28-2005 08:50 AM
The only real method would probably be to give each of them a different name and to use the caption to display the text to the user, in the same way you wouldn't give 2 variables in a text based language the same name.
I suggest that you write a VI that goes over all the controls in your VI, hides the labels, displays the captions and renames the duplicate ones.
The other option (which I don't consider to be very good) is to use the tabbing order you mentioned. I assume that the VI I posted earlier in your other thread will also be consistent as long as you don't add or remove any controls, so if you get an array of references, you can use it to get an array of control values, and you can later get the new array of references (which will have the same order) and use it to set the values back. This will only hold as long as you don't change the tabbing order or add controls to the tabs\clusters, which is why I suggest you go with the first method.