Message Edited by shoneill on 08-04-2006 08:38 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.
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.