timer trvia

vb1992

Well-Known Member
Licensed User
Longtime User
What is the fast timer you can set?
(seems like setting it to 1second is the quickest updates?)



Just say you wanted a half a second
timer.Initialize("timer",??)

and this would be 1 second correct?
timer.Initialize("timer",1)
or is this 1/1000th of a second


thanks in advance

edit: see timer test
 

Attachments

  • timerupdate.zip
    6.4 KB · Views: 180
Last edited:

stevel05

Expert
Licensed User
Longtime User
Yes the fastest setting would be 1 as in 1 millisecond as NJDude stated. The timer does not guarantee to call the subroutine on the exact time you specify, it will do it when it's ready but not before the time you specify.

As other code and processes are running, setting too small a value will have no effect on, and may even slow down, the timing between calls.

I'm not sure how delayed calls are managed, but it would not be a good idea to have too many missed, it could screw up your program logic for a start.
 
Upvote 0
Top