LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to link two controls?

Solved!
Go to solution

@crossrulz wrote:

@altenbach wrote:

Tim's answer is correct and appropriate. No code needed. 🙂


That's different.  Usually Christian shows me yet another, more efficient way, to code something.  Well, I guess you can't get more efficient than no code.Smiley Tongue


Well, I added a link to one of my examples that has the same amount of code, but eight controls. This is more efficient "per control". 😄

0 Kudos
Message 11 of 15
(805 Views)

@altenbach wrote:

A slider and its digital display are two linked controls, exactly as requested. Tim's answer is correct and appropriate. No code needed. 🙂

 

You can "link" as many controls as you want this way, have a look at this old example with eight linked controls (and a single terminal!). (posted here)


how is this done? does it have to do with type def...advance/customize mode

0 Kudos
Message 12 of 15
(799 Views)

apok wrote: how is this done? does it have to do with type def...copy and paste

No. It is just a control customization. In the control editor, you can replace the digital display of a slide with another slide, which again has a digital control that you can replace with a nother control that has a digital control, and so on.

Message 13 of 15
(783 Views)

nice....

0 Kudos
Message 14 of 15
(780 Views)

Wow, that was simple!

 

Thanks crossrulz for the quick answer and thanks altenbach for the indented controls example, that's a pretty neat trick.

0 Kudos
Message 15 of 15
(726 Views)