I've noticed that the System.IO.Ports.SerialPort class sends data if and only if the write buffer inside the class is full. I'd like to know whether there is a way of flushing the buffer immediately after Write. My application sends just a few bytes of data and I need my connected device to be able to react as soon as possible. I tried using SerialPort.BaseStream.Flush but had no luck, I always receive chunks 2048 bytes long.
i use 2008 and have not noticed that to be the case. check writetimeout. set it to 1 and see if that helps, or leads you somewhere else.dewayne the pain
i use 2008 and have not noticed that to be the case. check writetimeout. set it to 1 and see if that helps, or leads you somewhere else.dewayne the pain