LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I have the same exact control appearing twice on the front panel?

- How can I have the sme exact control appearing twice on the front panel?
0 Kudos
Message 1 of 49
(12,199 Views)
Hi,
Why do you need to do so?
What is your intention for doing so?

Please describe more of your task/ intention so that someone here could give you some inputs 🙂

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 49
(12,188 Views)
If you want to have 2 controls which can be changed and affect each other at the same time (similar to a slide and its digital display), you can do something like this:

___________________
Try to take over the world!
Message 3 of 49
(11,938 Views)
My control is actually outside of a case structure (True/False). I need it to appear on the front panel near the controls related to the true and also near the controls related to the false. My panel is actually really big. Thanks.
0 Kudos
Message 4 of 49
(12,167 Views)
What I would recomend to make your front panel actually useable, is to use the tab control and placing the controls and indicators on different tabs. Here is an example.
Message 5 of 49
(12,152 Views)
You cannot have two FP items for the same control, but you can make two similar controls that synchronize their values and feed into the same logic. Use tst's code above for example.

If you want to really create a programmers nightmare, move the single control around between two different location on the FP using property nodes depending on the boolean state.

If the FP is already really big, it seems foolish to make it even bigger by duplicating controls. Maybe you should change the layout so the control is convenient for both states. 🙂
Message 6 of 49
(12,150 Views)
Under certain conditions, you can also cheat (LabVIEW 7.0)! 🙂

(OK, who figures it out first ;))
Message 7 of 49
(12,146 Views)
Altenbach very nice use of a custom control and digital display. Although, it leads us back to the same question:

Aurelia, what exactly are you loooking for, and is there a reason you want 2 differnt controls to act and behave identically?

Can you attach your VI so that we can look at the Front Panel and see the controls you are trying to duplicate? With a better understanding of your question we may be able to give you the best answer, currently we are just shooting in the dark. Altenbach's solution is great, however it only works for certain controls, what type of control are you trying to duplicate?
Message 8 of 49
(12,140 Views)
I opened the tab control on the front panel. Then I cut and paste all control on the front panel to page 1 and some to page 2. I got error messages for unwired object. What am I doing wrong? Thanks.
0 Kudos
Message 9 of 49
(12,137 Views)
When you cut controls from a front panel, they're deleted from the front panel and diagram. Even if you paste them back, that doesn't change the fact that you deleted them. Do an undo and then DRAG the controls to the tab.
Message 10 of 49
(12,134 Views)