06-21-2010 11:58 PM
06-22-2010 12:50 AM
An event structure should only handle code directly that can complete quickly so it is ready for the next events. You need to run your lenghty code in a parallel loop, for example. Look into e.g. a queued state machine.
Also, by default, events are configured to lock the front panel until the event completes. If you want the UI to remain responsive while there is an ongoing event, you need to un-check that.
Feel free to show us your code so we might have more specific advice.
06-22-2010 01:08 AM
06-22-2010 01:22 AM
06-22-2010 02:34 AM
Hi steady,
please read the context help for the event structure, it's quite extensive!
There you could read: it's not recommended to have more than one event structure in parallel... And still it isn't recommended to have long-running event handling routines (as Altenbach already said).