Results 1 to 4 of 4

Thread: How to use timer event for less than 1 milli second?

  1. #1

    Thread Starter
    Hyperactive Member jeba's Avatar
    Join Date
    Feb 2000
    Posts
    265

    Post

    Hi!
    sometimes even if u give 100 for interval property, it is not working when u have more code than what it can do. But I have a small task to perform, every 1/2 milli second.
    Can anybody suggest me?

    Thanx in Advannce.
    Jebs.

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    You need to perform an operation 2000 times a second?? That's mighty quick!

    I dunno if this will work but you could try setting a timer interval to 0.5. Probably moan about Invalid property value. Try one of the API's but even they only go as low as 1 millisecond

    Good luck!

  3. #3
    Guest

    Post

    The problem with timers is that they are only accurate to about 6/1000 of a second, so setting the interval to a value less than 6 is utterly pointless, due to the laws of repeating error theory. Maybe you could rig up some kind of loop.

    ------------------
    Wossname,
    Email me: [email protected]

  4. #4
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    I remember seeing a post around here about that. It seems to me that you can't do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width