0 Replies Latest reply on Dec 1, 2008 8:19 PM by 843851

    How to Optimize Read/Write from serial port?

      I'm using the javax.comm serial port libraries, and connecting to an RS232 port at a baud rate of 460,800. I haven't been able to find any articles or comparisons on the different methods of streaming data and how fast they are. For example: which is faster/more optimized - InputStream or DataInputStream or the other buffer streams....or are they the same? Whats the most efficient way to write data to the port asynchronously?

      The most recent and relevant data I've found is from 2003, and I'm sure there have been improvements in this area since then. Any help is greatly appreciated! I'm still in the process of creating some tests to compare the speed on my own. Thanks!!