06-10-2014 05:27 PM
Hi,
I have a very simple VI meant to simulate what i'm trying to accomplish in my program... basically, when the 3rd radio button is selected, I want the text box to be disabled and grayed out. Instead, the event case seems to perform the action on the *next* iteration of the loop. Can someone point out what i'm doing wrong?
Thanks!
Solved! Go to Solution.
06-10-2014 05:44 PM - edited 06-10-2014 06:05 PM
The terminal of the radio control belongs inside the respective event case.
(...or you can read the new value from the [NewVal] event data node instead if you need the terminal elsewhere).
Currently it gets read immediately and the value placed in the tunnel. When the event fires, the stale value is read from the tunnel.
Once you place the terminal inside the event case, it will only get read after the value has changed and you get the current value.
Also: