LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Link Controls

My front panel (Labview 7) consists of a tab control with multiple pages. On one page I have buttons that control turning valves on/off. On another page I have custom controls that look like the valves. Is there a way to link these controls together so when one is turned on on one page, the same control goes on on the other page? For example, if button1 on page1 goes on, valve1 on page 2 goes on or the reverse. Just looking to see if there is an easier way than massive and/or/if type statements. Thanks.
0 Kudos
Message 1 of 3
(2,952 Views)
It's really pretty easy with an event structure and some local variables and no other logic is required. Look at the attached example and see if that does what you want. Of course, you'll have to add the code that actually turns the valves on or off to each of the events.
0 Kudos
Message 2 of 3
(2,952 Views)
Thanks, that's exactly what I started doing. It's just going to be time consuming with all the controls I have. Thanks again.
0 Kudos
Message 3 of 3
(2,952 Views)