Results 1 to 2 of 2

Thread: MSComm cpu consumption

  1. #1

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    MSComm cpu consumption

    Hello all,

    I want to know if this is regular behavior of the MSComm control, Im receiving a continous stream of data, and after the 1000th line I keep receiving, but the app freezes until the transmission is over consuming lots of cpu!...I've tried with DoEvents right after I receive with MSComm1.input, but after a while I receive a "run-time error 28, stack overflow" crashing my app....anyone has an idea whats causing this?

    edit: Im receiving about 300kB, baud rate: 9600 and the problem gets worse with 19200...

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    it seems like there is an error with your code, post 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