Hi,
A (complex to set up) way to do this without having to program around it, is
to start a dynamic vi template to do this.
You can make a VI template, that has a control ref as input. The template
has a while loop, and runs until the caller vi (that is not dynamic) stops.
In the while loop, several dynamic events can be polled and filtered.
This way, you can just put the vi anywhere in the code, with a reference
constant wired to it. The VI template will stop automatically, and the rest
of the main vi can be left untouched.
Regards,
Wiebe.
"shoneill" wrote in message
news:50650000000500000042BD0100-1079395200000@exchange.ni.com...
> Excellent, I'd never have thought of that.
>
> It would be nice to be able to limit it fro
m the control though
> without having to program around it. Maybe I'll add it to the
> next-version wishlist.
>
> Shane.