06-06-2002 12:48 PM
06-06-2002 02:34 PM
09-05-2006 08:11 AM
Hi Brian (or any other who helps me),
your example works fine in this case (and helped me very much). But I have some controls on a tab control, so I have no access to this controls by refnums (I only have access to the tab control). If, in the example above, you place a tab control on the front panel and move any Numeric on it, you don´t get the refnum of the moved control (only the last one in the array).
When I link a property node of any control on the control tab, at first I have to chose tab control, then the name of the control (in the next layer). I think this is the problem and I hope there is a solution.
Is there any possibility to get access to controls on a tab control by their refnum? It would give me great pleasure if you (or any other) attach a modified and working example.
Thanks for helping me,
Christian
09-06-2006 12:07 PM
Christian,
You can do this by using the tab control reference to get a reference to all of the controls on a given page. I've attached a simple example that does this. Just input the path of a VI that you want to find controls on and then run the VI. It will display the names (and references) for every control in that VI (even ones in tab controls). The only case where my example does not work is if you had a tab control inside another tab control. Even for this case you could modify my VI pretty easily to work for this.
I hope this helps,
Justin D.
Applications Engineer
National Instruments
09-08-2006 03:36 AM
Hello Justin,
can you save the file in LabVIEW 7.0 or 7.1 and attach it, please?
Thanks
PS: Is there the possibility to send personal messages in this forum?
09-11-2006 10:05 AM
09-14-2006 05:14 AM
09-15-2006 12:39 PM
Hello CWEISS,
Unfortunately, I do not know of a way to display which version of LabVIEW you are using on the left side of the forum. I contacted our Web Support and Operations team to let them know of your suggestion.
Regards,
Janell Rodriguez | Applications Engineer | National Instruments