08-03-2006 10:53 AM
08-03-2006 11:40 AM
08-04-2006 01:38 AM - edited 08-04-2006 01:38 AM
Message Edited by shoneill on 08-04-2006 08:38 AM
08-04-2006 07:09 AM
08-04-2006 08:19 AM
08-04-2006 09:03 AM
08-04-2006 09:09 AM
08-04-2006 09:58 AM
11-28-2011 08:37 AM
In fact, here I encoutered some performance decrease with user event in event structue.
I use some signal detection in one loop and send a sync event to another VI to sync the snaping of camera.
I found the camer always delay about 50ms to 200ms as the program running for some time.
than I use queue to send the signal detection information and set a independet queue dealling loop in the second VI but not event structure, it seems work better.
11-28-2011 10:09 AM
You are reawakening a pretty old thread but anyway.. I don't know if an event structure will respond faster than a queue but they are both much faster than 50 to 200mS. The problem is elsewhere. Do you mean that you moved code out of the event structure to another loop and the UI is more responsive? That is to be expected but doesn't really have anything to do with the performance of the event structure vs the queue. It is just that the real work has been moved out of the UI processing loop. The code in the event structure has to complete before the event structure can respond to another event. That can be 50mS or 50 years.