> thx for responses. The only thing I am thinking is that using this method,
> when I have to wait hours my delays will be less accurate (if I am using a
> delay of 10 hours is more accurate that 36000 seconds).
>
> "Gorka Larrea" wrote in message
> news:506500000005000000B4410000-999158726000@exchange.ni.com...
> > You could use a state of 1 second delay, and repeat it 20 times if you
> > need, or abort after 12 times, using some simple logic. If nothing is
> > pressed, repeat twenty times using a counter if continue pressed, go
> > for normal function.
> > Hope this helps
Actually, using the wait millisecond multiple, it will tend to correct
for additional delays that the OS may cause. The other way to take c
are
of this is to use the timeout value on something like a queue or an
occurrence. The normal situation will be for the timeout to occur to
throttle your application. When you wish to cancel the delays, you
can post an element in the queue or set the occurrence. The code
that wakes up will head for the exit rather than carrying out whatever
was waiting.
Greg McKaskle