Results 1 to 2 of 2
  1. #1
    elsanthosh is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default serial communication is very slow while reading from serial port

    hi, i am developing swing based serial commuincation used javacomm jar to write and read from serial port.i am used thread based application to read data from serial port.but it is very slow can anybody face this problem

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,371
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by elsanthosh View Post
    hi, i am developing swing based serial commuincation used javacomm jar to write and read from serial port.i am used thread based application to read data from serial port.but it is very slow can anybody face this problem
    Have a look at the RXTX : serial and parallel I/O libraries supporting Sun's CommAPI package; it's (functionally) equivalent or even identical to Sun's comms package but it's much faster (and better too imho).

    kind regards,

    Jos

Similar Threads

  1. reading data from a serial port?
    By yam2 in forum Advanced Java
    Replies: 2
    Last Post: 01-26-2011, 06:34 AM
  2. Reading from Serial port!
    By Dogge in forum New To Java
    Replies: 2
    Last Post: 12-01-2010, 03:21 AM
  3. serial port communication in java
    By elsanthosh in forum New To Java
    Replies: 2
    Last Post: 04-06-2010, 06:33 PM
  4. Usage of Serial Com Port communication
    By calvinlyp in forum New To Java
    Replies: 0
    Last Post: 02-19-2010, 06:25 AM
  5. Serial Port
    By radhika in forum New To Java
    Replies: 5
    Last Post: 11-06-2009, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •