- priority: 5 --> 9
Hello,
We are testing the USB-COMi USB to serial converter in
our Linux-based system, using the ttyUSB0 device with
rlSerial object. The kernel revision is 2.6.11-1.14_FC3.
The converter is used in a multidrop RS-485 system, at
4800 Baud speed.
The communication scheme is one byte out - one byte
in, dictated by the RS-485 hardware.
The following test program is used:
rlSerial ser;
ser.openDevice("/dev/ttyUSB0",B4800,1,0,8,1);
for (;;)
{
ser.writeChar(0xa0);
ser.readChar();
}
Everything works fine, except that the 16 ms latency
time after each received byte slows down the system to
an unusable level.
Please advise how we can set the latency time to the
minimum and the buffer size to one byte, either through
configuration settings, or in the application program.
Thank you,
Zoltan Kasa