8/25/2014 8:45 AM | |
Joined: 10/28/2008 Last visit: 7/21/2023 Posts: 245 Rating: (14) |
Hi. Please check the answer fromWilliam B.You should not use timers inside LOOP, I do not think it is good solution. I case of true comparison just set some flag and outside of the LOOP start the timer (eventually skip from the LOOP if you want to ...). Regards.
|
Georgio |
|
8/25/2014 3:13 PM | |
Posts: 6 Rating: (0) |
I will test it and let you know, thank you for help |
8/25/2014 3:45 PM | |
Joined: 6/10/2009 Last visit: 10/13/2024 Posts: 45 Rating: (1) |
Hi, Could you post your program so that we can understand the exact problem. Mean while please find attached a sample program with timer and loop. Here I have used a IF else statement along with counter. In the similar way you can also implement it using FOR loop as well. My application was to keep open n no. of valves sequentially for a specified timer. AttachmentC:\Users\in213755\Desktop\Timer_loop.zip (608 Downloads) |
Follow us on