08-03-2007 11:17 AM
08-03-2007 11:31 AM
08-03-2007 11:35 AM
So the problem you are seeing is a data flow issue and not really an event structure issue. Turn on highlight execution and watch how the code runs.
Basically the Radio button is read at the begining of the loop. Then the event structure is hit. So if the control is at enable LV "reads" that value and sends it down the wire then waits at the event strucure. Now you change the value and the event executes, however the value on the wire is the old value.
So to fix this all you need to do is move the radio button terminal inside the event strucutre, so that LabVIEW will "read" the value once the event has fired not before.
08-03-2007 11:36 AM
All clear? 🙂
(Sometimes operating the VI with execution highlighting will easily tell you what's going on. Try it!)
08-03-2007 11:39 AM