LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Wait on Event User Event

Solved!
Go to solution

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

0 Kudos
Message 11 of 13
(763 Views)

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

0 Kudos
Message 12 of 13
(700 Views)

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.

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 13 of 13
(673 Views)