12-14-2011 06:10 PM
Hi all,
I am having problem with dynamic user events.
Dynamic user event is registered to the event structure, and many dynamic user events come in very fast, about every 30 ms. It freezes up the user interface, no response to mouse and keyboard, even after all user events finish execution.
Any idea or work around?
Thanks for any help.
Anne
12-15-2011 03:09 AM
Hi Anne,
> Dynamic user event is registered to the event structure, and many dynamic user events come in very fast, about every 30 ms.
The 30ms rate is not unreasonably fast as long as the processing for the event(s) can be completed in less than 30ms.
What tasks are you doing in the User Event?
For tasks that may take time to complete (like logging) you could queue up the data and send it to a consumer loop.
> It freezes up the user interface, no response to mouse and keyboard, even after all user events finish execution.
My *guess* here is that you got stuck in an event that never completed.
steve
12-15-2011 08:10 AM
...or there was yet another event that was never serviced AND the event was configured as "Lock UI...". That setting can be disabled by right-clicking the event registration node.
Ben