04-16-2012 06:08 AM
Hi,
I am using a parallel loops and in some of those loops I
use a delay function.
Is it possible stopping the wait function when some button is pushed( and when some variable changes its value)?
Thanks,
Leonid
04-16-2012 07:45 AM
No.
Create your own delay method that only waits a small amount of time repeatedly until the full delay time has been reached, and keeps checking if it should cancel.
04-16-2012 07:55 AM
04-16-2012 08:40 AM
As knights said you have lot of methods to achieve that. You could do by this way too.
This would wait for 100 ms but any alarm comes this will stop.
Good luck
04-16-2012 09:35 AM
Hi,
You can use event structure, while you wait (event timeout) if other event occur you can manage it.
Best Regards,
04-17-2012 05:26 AM
Thanks for the replies and examples,
Leonid