Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Mictel

    Long term periodic serial port communications in VB6 consumes CPU time

    I will start reading up on the Timer Control. Thanks to those who actually contributed rather than just using up bandwidth. Mike
  2. Mictel

    Long term periodic serial port communications in VB6 consumes CPU time

    >Um, it's the looping code we need to see really OKkkkky; how about the part of the code that says: 'Wait until sample interval has passed before takeing the next sample (Tek-tip folks: this is where the majority of time is wasted burning up 50% CPU time for 1 hour when SampleInterval = 60...
  3. Mictel

    Long term periodic serial port communications in VB6 consumes CPU time

    Here is the code for the serial port polling/communications that only occurs once per hour. I deleted as much non-essential, repeated steps as possible to shorten up the routine. Please feel free to suggest improvements, like with serial communications handshaking. Thanks to all who responded...
  4. Mictel

    Long term periodic serial port communications in VB6 consumes CPU time

    Can VB6 poll the serial port say every hour without sucking up 40 to 50% of the CPU time looping continuously waiting for a 60 minute timer interval to occur? For example, is there a way for a VB6 routine to run in "sleep mode" more efficiently until it is time to do a short data transfer via...

Part and Inventory Search

Back
Top