SerialPort class and timeout

S

SteM

Hi all,
i'm in a trouble handling timeouts of the SerialPort class.
If I set timeouts (<>0) what i have to expect? An error? A call to
DataReceived routine? A call to Error routine?

What is the initial moment when the timeout count starts? When i open the
port? When I send data? Delay between chars?

What is the 'real' minimum timeout the code is able to handle? What about 5
ms??

Thanks!
 
A

Armin Zingler

SteM said:
Hi all,
i'm in a trouble handling timeouts of the SerialPort class.
If I set timeouts (<>0) what i have to expect? An error? A call to
DataReceived routine? A call to Error routine?

What is the initial moment when the timeout count starts? When i
open the port? When I send data? Delay between chars?

What is the 'real' minimum timeout the code is able to handle? What
about 5 ms??

A good question that fits very well into one of the m.p.d.framework.*
groups - unless you need a VB code sample, but it doesn't look as if.


Armin
 
S

SteM

Yes, I understand.
I posted here cause i'm developing under vb.net but the questions are
related on a more general argument.
 
A

Armin Zingler

SteM said:
Yes, I understand.
I posted here cause i'm developing under vb.net but the questions
are related on a more general argument.

:) I'll link your message for everyone who does not understand. ;-)


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top