Guys, I am hoping for some help here on something I probably should know but cant figure out how to do. I am using a set of radio buttons and an event structure to run a UI. The radio buttons are acting as both a user input and indicator of current status selected by the user. I have the event structure set to run on value change of the radio button. All works great unless the operator decides that he wants to repeat the selection that the radio button is already set to. The event structure does not recognize this as a change of value and will not execute. Is there a way to set the event structure up to run even if the same selection of the radio button is made a second time? I attached a crude example to this post. Basically everytime I press the button, I want an entry made into the text box, regardless if the selected item was already pressed. Any thoughts.
Almost. It does work on the repeat, but now it runs the event twice if you select a different button after repeating the current button. Using just the Mouse Down doesn't completely function as intended either as it remembers where it was when you change buttons. If you pressed A twice then B twice, the first time B runs it runs the test for A.
alright then, try this... select "allow no selection" under the properties of the radio control, and then reset the control to no selection after each user selection.
Thanks for the help. It's not as elegant as I was hoping the solution would be, and it kind of goes against LabView convention, but it works as intended.
Instead of hacking around the inherent nature of radio buttons, why not just use a Cluster? Its behavior in the UI is more customizable. Check this out:
I just replaced your radio buttons with a cluster, and added a little logic to the event structure to get it to behave the way you describe. I've attached the VI below, saved in 8.2, if you want to try it out.
If you overlay a transparent button with Latching mechanical action on a colored boolean, the standard event structure and some shift registers will do what I think the original poster wanted. The example is in LV 8.20.