> I was wondering if it is possible to have the event structure not
> queue events that happen while the vi is executing code associated
> with another event. Basically, I have a toggle switch that, when
> "on", captures a live feed from a camera and displays it to the
> screen.
I think there are lots of other articles about this on devzone.
To summarize them, the key is that the event structure intentionally
synchronizes events with diagram execution. The typical way to do what
you want is to have the event start up another loop or subVI running
asynchronously.
Usually there ends up being one loop with an event structure in it.
Another loop that executes a statemachine, possibly as simple as just
two states of acquiring and not. Use the events to pr
od the other loop
between states via locals, globals, occurrences, etc.
Greg McKaskle