Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JAVA and communication with RS232

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post JAVA and communication with RS232

    I'm using netbeans to develop an application to send and receive data via RS 232 standard.
    I can send data but I can't read it.what can I do?
    I have this message in the console: Underlying input stream returned zero bytes
    (I must use also threads to have application in real time but I don't understand very well


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: JAVA and communication with RS232

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    I don't see how there's much we can do to help you without seeing some code. We won't be able to duplicate your error, but there may be some here with experience using the RS232 library you're using who can spot errors in the code or apply their own experiences to give you possible solutions to explore.

    Provide more relevant details about what you're doing and how you're doing it.

Similar Threads

  1. Java TCP Communication
    By syedbhai in forum What's Wrong With My Code?
    Replies: 0
    Last Post: July 25th, 2013, 03:24 AM
  2. java applet to php server communication
    By sabertooth in forum Java Networking
    Replies: 7
    Last Post: April 12th, 2013, 01:11 PM
  3. Transferring Compressed Array from RS232 port to USB Flash drive
    By RacingSalmander in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: July 29th, 2012, 11:51 AM
  4. INSTALLING JAVA COMMUNICATION API ON A MAC OS
    By AgentDucky in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: July 1st, 2012, 01:50 PM
  5. Java Serial RS232
    By Coveiro in forum Java Native Interface
    Replies: 0
    Last Post: October 7th, 2011, 11:28 PM