03-17-2011 09:46 AM
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.
Solved! Go to Solution.
03-17-2011 10:04 AM
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.
03-17-2011 10:30 AM
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!
03-17-2011 10:46 AM
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)
03-17-2011 10:59 AM - edited 03-17-2011 11:00 AM
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 😉
03-17-2011 11:06 AM
@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)
03-17-2011 11:12 AM
@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.
03-17-2011 11:18 AM
@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.
03-17-2011 11:19 AM
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 😉
03-17-2011 11:25 AM
@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.