LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One master button controls multiple buttons

I got a master button that will turn on 5 boolean LEDs.

The 5 LEDs also has its own individual button that can be controlled.

I tried to synchronised the state of the 5 buttons with the master button using local variables.

The problem is LEDs is in a separate VI called Server which means doing this I will change all 5 buttons' state and sending to the server at once. As expected this won't work as it will have overflow error.

 

I wanted to ask is it anyway to match the 5 buttons with the master button without changing the values of the boolean buttons or without sending it to the server?

0 Kudos
Message 1 of 3
(3,045 Views)

What exactly do you mean by overflow?

 


@NelsonDone wrote:

 

I wanted to ask is it anyway to match the 5 buttons with the master button without changing the values of the boolean buttons or without sending it to the server?


That statement sounds contradictory.  "I want to match something but not change anything" ???

 

Perhaps you can attach a VI showing what you want and have tried so far to help us visualize your situation.  I'm going to guess that using an event structure would help you in your case.

0 Kudos
Message 2 of 3
(3,025 Views)

hi

  you do that by using a global variable or Functional global variable or taking the reference of the Master control to the server vi.

 

i would prefer FGV. which is the best way to do it.

 

Thanks and regards

Senthil

  

0 Kudos
Message 3 of 3
(2,980 Views)