11-21-2012 02:55 PM
Mark,
That was my problem. I had the while loop in a sub-vi. Once I moved it to the main vi I started to get user events.
Thanks for you help.
Paul
02-21-2013 05:30 AM
Hello,
I have similar problem. I try to use Wait On Event(serial character on serial port) to avoid poolling method because i don't know when data will come exactly.
When Events will occur I want send received information by queue to another loop which performs some operations on data.
I'm confused how to use Engueue element block. First idea was put it in case structure like in attached vi's. But it doesn't do a good job. Does anyone have any advice on this?
finch87
02-22-2013 02:48 PM
When you say it "doesn't do a good job" what do you mean? Is it not queuing properly? Is it not queuing at all? Are you just getting garbage out of it? I would test the queue by creating an indicator that shows what is put into the queue.