06-18-2012 09:48 AM
It's not so much of a LabVIEW issue... more of a logic issue, it's late in the day and my mind is mush at this stage. Here's my desired functionality;
I read two controls in a loop labeled: Boolean and Boolean 2 respectively. Boolean is initialized to true.
If Boolean 2 is pushed, then Boolean should go false and Boolean 2 should go true.
Likewise if Boolean is pushed, then Boolean 2 should go false and Boolean should go true.
There should never be a case where the two buttons are both false or both true.
I've tried many combinations of boolean logic both in labVIEW and on paper but can't come up with a solution as of yet and am looking for a pointer.
VI attached and I apologise for the unimaginative control names.
Strokes
06-18-2012 09:56 AM - edited 06-18-2012 10:01 AM
You could use radio buttons.
This isn't really a boolean logic question, just a user interface question.
What you need to do is use local variables or property nodes to set the other boolean. Better yet would be to use an event structure.
06-18-2012 09:57 AM - edited 06-18-2012 09:59 AM
06-18-2012 10:02 AM
AHHHHHHHHHHHHHHHHHHHHHHHH radio buttons. I knew I learned about them for some reason in college...
Anyway I can get rid of the border around them in the Modern control/indicator palatte? I've tried translucent brush. I think it may only be possible to get rid of a border when choosing from the Classic panel if I remember correctly but not sure...
06-18-2012 10:04 AM
Correct. Transparent brush on the radio button container from the classic palette.
06-18-2012 10:07 AM - edited 06-18-2012 10:08 AM