Hi all,

I'm using a VI say 'event.vi' which handles front panel controls with event
structures. I'm calling this VI and displaying it in a sub panel in my main
VI . After the event.vi finishes execution and before I remove it from the
sub panel, if I press any of the controls in 'event.vi', it will be executed
when I call event.vi again, even without pressing the particular control.
The problem comes when the same control is pressed twice accidentally.

I've solved it by disabling the control when it is pressed and enabling it
just after it finished executing the event. But I would like to know whether
there is any property or method available with which will clear all the
queued events before actually entering into the event structure.


TIA

Kalidas




Reply via email to