Re: Is there a way to get (or generate and store with the control) a n unique ID for Controls

2004-03-23 Thread shoneill
The names of the controls really should be kept constant during development. this is, as you put it yourself, as if the names of variables are constantly being changed in other languages. This is not a good idea. One way of maintaining constant naming, but still allowing the users (programmers)

Is there a way to get (or generate and store with the control) a n unique ID for Controls

2004-03-21 Thread Rainer Balzerowski
Hello, has anyone an idea how to get an unique ID for all the Controls on a front panel ? Does Labview provide such information ? Or does anyone managed to create an uniqe ID for a Control an store it with this control ? For explanation: I try to translate all captions of all Controls on my

Re: Is there a way to get (or generate and store with the control) a n unique ID for Controls

2004-03-21 Thread Joel S
Hello Rainer, The only way to differentiate controls on the front panel is by giving them each a unique name. This is similar to other programming languages as well, where you can only use a variable name once. If you would like to keep the names similar, I would suggest appending a _1 or _2 at

Re: Is there a way to get (or generate and store with the control) a n unique ID for Controls

2004-03-21 Thread Rainer Balzerowski
Hello Joel, thank you for your suggestion. My problem with this is, that i can't be sure that a colleague uses the same name for another control. (This of course is a general problem, not only for the translation tool) We are working with several people on the same project. And the big