Re: SerialPort.WriteTimout

Peter Osucha <[email protected]> Wed, 9 Jan 2008 08:23:55 -0500
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
James,

Good point - thanks.  I need to review the handshaking as well.  Let me
look this morning...

peter

-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps
and controls [mailto:[email protected]] On Behalf Of
James Berry
Sent: Wednesday, January 09, 2008 5:01 AM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] SerialPort.WriteTimout

Flow control plays an important part in serial communication.  The
receiver can indicate it is not ready to receive data by lowering the
CTS line.

Best wishes
James


-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps
and controls [mailto:[email protected]] On Behalf Of
Peter Osucha
Sent: 08 January 2008 21:58
To: [email protected]
Subject: [DOTNET-WINFORMS] SerialPort.WriteTimout

I have been searching for info on what actually will cause a
WriteTimeout error to happen on a serialport object in net 2.0.  There
are lots of articles that talk about a Write operation not being able to
complete in the time allotted.  However, besides having a series of
bytes to be written that when taking into the account the baud rate
cannot complete in the allotted time, I can't think of another reason
for this error to occur - nor can I find reference to when it will
occur.

Any ideas or places you could point me, please?

Sincerely,
Peter