To run until the stop time: loop TRUE stopTime > startTime To run one cycle then stop: loop FALSE stopTime <= startTime