Hi

I got a strange event behaviour. I have an interface with an event handler
in a while loop (#1) and a while loop (#2) in parallel. In the WL#2 I
generate event and the event handler react. When I exit the panel, the close
panel events is trigged and stop the WL#1, but some time I have couple of
event generated by WL#2 after the WL#1 is stopped. When I call back the
panel, the remaining events are executed.

(I know that I have to do some synchronisation to resolve the problem)

But my question: is it a normal behaviour? The event queue is not flushed at
the end of the execution of a VI? What can I do to get the number of pending
event in the event handler? 

Finally my wish for the event handler : a vi that give me the "Get event
queue status" (Number of pending event) and "Flush event queue" 

Any comments

Dany Allard
[EMAIL PROTECTED]






Reply via email to