01-24-2006 09:31 AM
01-24-2006 09:42 AM
01-24-2006 10:13 AM
01-24-2006 10:16 AM
Hi Michelle,
There is no built-in way to do this. You'll have to use individual booleans (there are some dialog boolean controls that look like radio buttons) with supporting code...but I'm curious...how are you going to decide which of the two currently selected items will be deselected when a third button is clicked?
-D
01-24-2006 11:08 AM
Darren,
Thanks for the heads up on LabVIEW 8... I'm still on LabVIEW 7.1, but that sounds like a feature I could use!
You bring up an interesting point about which button will get deselected. I was hoping to use the "old value" in an event case, but I really need 2 previous values to tell which one is the oldest value, so this would require a shift register.
01-24-2006 11:28 AM
Hi Michelle
I was curious about Darren point so I built a vi to check it out. The button I have chosen to be reset was the last one set to true.
Sounds like you had it covered but here is my take on it anyway.
David
01-24-2006 11:37 AM
Hi, everyone.
I made something like that in a project that I'm working since few weeks ago, but I had to use an "event case structure" and local variables or property nodes inside each case (for a new selection of radio buttons) in the project.
I've been using LabView 7.1 student edition. Please, if someone know a better way to do that, send me a message too.
Sorry for my english
![]() Thank you |
a |
01-24-2006 12:21 PM
David,
I tried your VI and it does what you said it would. It's not really all that much code... perhaps I shouldn't give up just yet on the idea of a non-mutually exclusive radio button!
Thanks for your help. I'll keep thinking about it...
Regards,
Michelle