View Single Post
  #1  
Old 21-10-2010, 10:13 PM
bojan's Avatar
bojan
amateur

bojan is offline
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 7,108
Delay function & Delphi

The windows app for focus control via stepper motor is almost ready for posting.. apart from little problem: controlled delay around couple of milliseconds.

I have found a number of delay functions on the web (they are all polling RTC), but instead of milliseconds, they are exiting after seconds, sometimes longer..

The obvious alternative solution would be just a program loop, and it is good for me personally since I can adjust the delay to suit my machine..., but then it will not be good for anyone else... Does anyone know how to solve this properly?

All comments are most welcome and appreciated

Last edited by bojan; 22-10-2010 at 11:11 AM. Reason: question answered
Reply With Quote