Article View: borland.public.cppbuilder.nativeapi
Article #10516Re: Serial Communications issue
From: Remy Lebeau (TeamB)
Date: Tue, 13 Apr 2004 20:56
Date: Tue, 13 Apr 2004 20:56
18 lines
1746 bytes
1746 bytes
"tomdas" <tomdais@otenet.gr> wrote in message news:407c48e2$1@newsgroups.borland.com... > But I want to use the RTS pin as I/O pin to my external hardware, > and not use it for hardware flow control. > Before transmitting I am clearing the Receive buffer using PurgeCom > function. Unless you are calling CancelIo() in your code, which I suspect you are not, the only way to get the kind of error you are describing is due to hardware failure. You probably still have the serial port misconfigured. Especially since you are no using flow control of any kind, you probably are overflowing the serial port, amongst other possibilities. Why aren't you using flow control to begin with? Gambit
Technical Details
Message-ID:
<407c557d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com> <407c48e2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a3ab790bb03822fa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-13 14:10:08 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <407c11a7@newsgroups.borland.com> <407c3492$1@newsgroups.borland.com> <407c48e2$1@newsgroups.borland.com> Subject: Re: Serial Communications issue Date: Tue, 13 Apr 2004 13:56:23 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <407c557d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081890173 67.22.138.253 (13 Apr 2004 14:02:53 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail