12-09-2012 05:28 AM - edited 12-09-2012 05:31 AM
I was practicing with user events from a Core 3 example out of the course manual. I did not use the blinking.vi like NI uses, instead I assigned a true boolean value to the blinking property node for the Event Fired LED that I would like to blink one time during the user event after the Fire Event button is pushed. But for some reason,the LEd does not blink. I've tried applying a true boolean, and writing the value of the control from the Fire Event boolean on the front panel for when he Fire Event button is pushed, but neither seems to be having an affect on the Event Fired LED. Can anybody tell my why this isn't working?
The vi was done in version 11.
Solved! Go to Solution.
12-09-2012 06:23 AM
Hello. I am the original poster but did not see away to edit the post. I just wanted to add a jpg of the vi.
12-09-2012 08:48 AM
12-09-2012 09:46 AM
Changing my timing got me a lot closer to the one blink. Thanks.
12-09-2012 12:21 PM
Hi. I played around with using a flat sequence structure inside the user event case and that worked even better. The shorter the time on the Wait Function, the faster the "blink" for indication. Thanks again! 🙂
12-09-2012 01:27 PM
12-10-2012 06:33 AM
It works great now, so I'm not sure what's wrong with using sequence structures. I was just trying different options for an example given in the labview course manual. And I do understand data flow, thank you very much. If the sequence structures are there, why not play around with them. I know it's not the only solution.
12-10-2012 07:39 AM - edited 12-10-2012 07:41 AM
@mechqueen wrote:
It works great now, so I'm not sure what's wrong with using sequence structures. I was just trying different options for an example given in the labview course manual. And I do understand data flow, thank you very much. If the sequence structures are there, why not play around with them. I know it's not the only solution.
We've been trying to convince NI to remove sequence structures and the horrible stacked sequence structures.
So to follow your analogy, just because there are matches sitting next to gasoline does not mean you should light the matches.
You can... I would not recommend it..
Relying on sequence structures, especially when mixed with Local Variables may lead to race conditions. Although the program may work, it may not work reliably, meaning that the results may not be repeatable. As a matter of fact, that would be a good exercise to try out.