I haven't personally used the timer function before, but my first impression would be that you could control your looping better with a 'for' or 'while' loop and then use timer or 'wait' inside the loop. I don't know what criteria you are using to decide to stop the looping, or I would suggest...