Results 1 to 2 of 2

Thread: Timer that uses the least resources??

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2002
    Posts
    142

    Timer that uses the least resources??

    I am looking at 3 kinds of timers (thread, component, and standard windows form) and need the ine that uses the least amount of resources.

    Scenario:
    I am going for speed in my program and when I set the standard timer to 200 ms , I get 130 readings a second (from the serial port) . When I set the timer to 500 ms, I get 210 readings a second. So I need a timer or way that will allow me to run a graphing function every 200ms without slowing down my readings.

    Any Help would be great!
    Cheers,
    Bebandit

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Your best bet might be threading timer since it can run on separate thread and you can give it highest priority . The other two timers are quite similar (not exactly the same) .

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