Results 1 to 3 of 3
  1. #1
    Sparkhopper is offline Member
    Join Date
    Feb 2013
    Rep Power

    Default Open and enquire com port

    I'm asked to write a new program at work. I've not programmed in some time (1980s). I taught myself BASIC and Turbo Pascal and had no problem with simple applications that opened an RS232 com port and enquired data from devices upon that port and upon a Windows platform.

    I'm in the beginning of learning Java and all of a sudden I'm asked to do it agian. I'm in no hurry to learn all of Java. I'm doing that in steps.

    I'd like to discover an example of a Java application that will open a port and let me enquire the data from that port.

    I want to do this just to see it work.

    Can anyone help?


  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Rep Power

    Default Re: Open and enquire com port

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: Open and enquire com port

    And if you mean serial ports (as in USB ports or RS/232 ports) google for 'RXTX'.
    Also look here for proper downloads:

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. How to open port in OSX Lion?
    By Shellback3 in forum Networking
    Replies: 0
    Last Post: 07-19-2012, 09:08 PM
  2. Replies: 2
    Last Post: 04-25-2012, 07:19 AM
  3. How to open Serial port connection
    By rjagan in forum New To Java
    Replies: 3
    Last Post: 04-08-2011, 08:58 AM
  4. Redirecting port 80 index to port 8080 index
    By chyrl in forum Advanced Java
    Replies: 0
    Last Post: 11-30-2010, 03:15 PM
  5. Different Files Open in File -> Open Workspace
    By mgm2010 in forum JCreator
    Replies: 0
    Last Post: 04-11-2009, 02:14 PM

Posting Permissions

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