LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interlinked Button Control

Solved!
Go to solution

I have a project which requires three buttons: A, B and C.The buttons have a LED in them, and remain pressed until deactivated.

 

When Button A is pressed in, Button B is disabled (and turned off if it is on).

When Button C is pressed in, Button B is disabled (and turned off if it is on).

When Button B is pressed in, Button A and C are disabled (and turned off it is on).

When Button A and C are independent of each other (Can be both on, both off or on one at a time)

 

I am going about this using radio buttons and case structures.

0 Kudos
Message 1 of 32
(3,544 Views)

Do you have a question?  Are you running into problems?

 

If so, please post what you have done so far and tell us how it is not doing what you want.

 

Right now there is nothing in your post that to which we can respond.

0 Kudos
Message 2 of 32
(3,534 Views)

Attached is the VI and below an image of the Panel.

 

Button A is the Detector Station Button

Button B: Manual Storage

Button C: Storage Station

 

The Detector Station button disables the Storage Station button and vice versa, which is what I dont want. However, I want them to disable the Manual Storage button (as it currently does).

 

Hope this clear things up!

Panel.PNG

0 Kudos
Message 3 of 32
(3,527 Views)

What is this?

 

 


 

When Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
Message 4 of 32
(3,520 Views)

As far as I can understand what you want, this is what I should do.  If not good, it will give you a good start 😉

 

 

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
Message 5 of 32
(3,517 Views)

 


@ABCPrograms wrote:

What is this?

 

 


 

When Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 


Typo, should read: Button A and C are independent of each other (Can be both on, both off or on one at a time)

 

0 Kudos
Message 6 of 32
(3,511 Views)

 


@shultz58 wrote:

 


@ABCPrograms wrote:

What is this?

 

 


 

When Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 


Typo, should read: Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 

 

That says exactly the same thing.

0 Kudos
Message 7 of 32
(3,507 Views)

 


@smercurio_fc wrote:

 


@shultz58 wrote:

 


@ABCPrograms wrote:

What is this?

 

 


 

When Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 


Typo, should read: Button A and C are independent of each other (Can be both on, both off or on one at a time)

 


 

 

That says exactly the same thing.


There is no When, thus the statement is not conditional, it is always true.

 

0 Kudos
Message 8 of 32
(3,505 Views)

Then the VI is your answer 😉

 

May not be the prettiest one, but it does what it needs to do.  If that's ok with you, please set this post to solved and which answer solved it 😉

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 9 of 32
(3,503 Views)

 


@ABCPrograms wrote:

As far as I can understand what you want, this is what I should do.  If not good, it will give you a good start 😉

 

 


It's definately a step forward. And I always give out kudos :). I'm trying to improve the interface by not disabling the buttons, but instead, when a disabled button is pressed, turn off any buttons that violate the conditions i mentioned above. As an example, if i press detector station, and then manual storage button, upon pressing manual storage, its light will go on, and the Detector Station light will go off.

 

0 Kudos
Message 10 of 32
(3,501 Views)