Re: More accurate Timerevent



Gert Baars wrote:
When Timer interval gets below 200 (millisec)
the timer event becomes increasingly inacurate.

My application requires 20 mS accurate (50 Hz sampling rate for FFT)
timer events. Is this somehow possible (Delphi 7).
I prefere to avoid a thread.

Have a look at the links (its been a while since I've read them, I don't remember enough to answer your question):

http://msdn.microsoft.com/msdnmag/issues/04/03/HighResolutionTimer/
http://www.mvps.org/directx/articles/writing_the_game_loop.htm
http://www.geisswerks.com/ryan/FAQS/timing.html

Tom
.



Relevant Pages

  • Re: More accurate Timerevent
    ... the timer event becomes increasingly inacurate. ... My application requires 20 mS accurate (50 Hz sampling rate for FFT) ... Is this somehow possible. ... Should work equally well with Delphi. ...
    (alt.comp.lang.borland-delphi)
  • Re: More accurate Timerevent
    ... the timer event becomes increasingly inacurate. ... My application requires 20 mS accurate (50 Hz sampling rate for FFT) ... use the PCM bits for the timing. ...
    (alt.comp.lang.borland-delphi)
  • More accurate Timerevent
    ... the timer event becomes increasingly inacurate. ... My application requires 20 mS accurate (50 Hz sampling rate for FFT) ...
    (alt.comp.lang.borland-delphi)
  • Re: Trigger events based on time of day....????
    ... The Timer event may not trigger at the ... And somehow count how many times this event had occurred? ... If this is correct how would you recommend maintaining the count? ...
    (microsoft.public.access.formscoding)
  • Re: List1 scroll down only if item added
    ... I don't see why you'd need an additional module-level variable or a Timer event. ... Updating the control when actually doing the add makes more sense than the timer but I was just answering the question as asked and for that you need to keep track of what was there somehow (you could use the Tag property or a static variable instead of a module-level one). ...
    (microsoft.public.vb.general.discussion)