10-04-2005 02:02 PM
10-05-2005 05:48 PM
It's legal and perhaps OK to use multiple loops with an event structure in each. You just have to be careful or you will lock yourself out. I've attached two 7.1 examples of how to do this (a parallel loop example and a sequential loop example).
There are numerous ways to avoid the problems. For example, when stopping a loop, you could disable the controls associated with the event structure located within that loop. Perhaps in your application, there is something that makes it such that the problematic push will not occur (such as changing tabs on a tab control). If you play with the examples and understand why they can "lock" up, then you understand enough to successfully create a VI with multiple loops containing event structures.
Enjoy,
Roy
10-06-2005 09:48 AM