I have a program that I need the program to temporarly stop and wait for a
response from a piece of equipment. After a set period I want the program to
continue. Like below
--execute lline before pause
--pause statement- pausefor set period
--execute line after pause
I tried using a timer but the timer messes up my sequence of execution. I
used a do loop that kept checking the current time versus the starting time.
This works but when the loop executes it hogs the CPU. It there a way I can
use a timer to pause, then execute the next line in the program instead of
excuting a function when the timer times out?
Thanks in advance,