LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

duplicate controls

Smiley Indifferent
Hello, I have a rather simple question.
I have a front panel with a "Tab- control" and I want one control to be on two or three of these tabs, and the should be on different places.
is it possible to duplicate of control in that way, that it behaves like on control.
Means, if I change the value on on Control (on Tab1) the other control (on Tab2) should have the same value and vice versus.
I wanted to avoid Local variables and case structures.
So best would be one control at two places.
Any help or ideas???
Greetings Ruediger 
0 Kudos
Message 1 of 2
(4,437 Views)
The solution is not so simple. If you want a single control to appear on multiple tabs, you first create the control outside of the tab control and then move it on top of the tab by using the keyboard cursor keys. If you drag it to the tab with the mouse, the control is part of the tab page. If you've done it correctly, you'll see a little border around the control. This border disappears when you run the VI. Now, if you don't want the control to appear on 1 of the pages, then you can use a property node to set the visiblility. This will you have to do with a case statement. If you want to have the control in a different location, you can also use a property node in the same case statement. The only other solution is to use multiple copies of the control in each page and then use local variables to make sure they're all updated. I would recomend you do this with an event structure. You'll have to decide which method works best for your application.
Message 2 of 2
(4,430 Views)