tcdrain takes too much time to finish (50ms instead of 1ms)

Hi

Why does tcdrain take more then 50ms for flushing 10 bytes @ 9600bds ?
Transmiiting 10 bytes @ 9600 bds only takes about 1 ms.

What causes the extra delay ?

Johan

What flavour of QNX? (4 or 6)
What serial driver/hardware?

9600 baud roughly equals 960 chars/bytes per sec. So 10 bytes will take
about 10 mS, not 1 mS.

Geoff Roberts


Sagaert Johan wrote:

Hi

Why does tcdrain take more then 50ms for flushing 10 bytes @ 9600bds ?
Transmiiting 10 bytes @ 9600 bds only takes about 1 ms.

What causes the extra delay ?

Johan

of corse yes it should be just a bit more then 10ms , but there still is an
extra delay of 40ms.
i use the 6.3.0 with the standard serial port driver (x86 VIA Epia board)
that comes with qnx.


“Geoff Roberts” <ger_two@rttsdotcom.au> wrote in message
news:421018F8.511C73D5@rttsdotcom.au

What flavour of QNX? (4 or 6)
What serial driver/hardware?

9600 baud roughly equals 960 chars/bytes per sec. So 10 bytes will take
about 10 mS, not 1 mS.

Geoff Roberts


Sagaert Johan wrote:

Hi

Why does tcdrain take more then 50ms for flushing 10 bytes @ 9600bds ?
Transmiiting 10 bytes @ 9600 bds only takes about 1 ms.

What causes the extra delay ?

Johan

Hi Sagaert,

please see my reply in “qnx.newuser” newsgroup.
Please do not crosspost.

Regards,
Maurizio


“Sagaert Johan” <sagaert.j@belgacom.net> ha scritto nel messaggio
news:cupkf4$aej$1@inn.qnx.com

of corse yes it should be just a bit more then 10ms , but there still is
an
extra delay of 40ms.
i use the 6.3.0 with the standard serial port driver (x86 VIA Epia board)
that comes with qnx.


“Geoff Roberts” <> ger_two@rttsdotcom.au> > wrote in message
news:> 421018F8.511C73D5@rttsdotcom.au> …
What flavour of QNX? (4 or 6)
What serial driver/hardware?

9600 baud roughly equals 960 chars/bytes per sec. So 10 bytes will take
about 10 mS, not 1 mS.

Geoff Roberts


Sagaert Johan wrote:

Hi

Why does tcdrain take more then 50ms for flushing 10 bytes @ 9600bds ?
Transmiiting 10 bytes @ 9600 bds only takes about 1 ms.

What causes the extra delay ?

Johan