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

    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?


    Thanks

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    8

    Default Re: Open and enquire com port


  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,271
    Blog Entries
    7
    Rep Power
    24

    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: http://guides.machinescience.org/mod...cuss.php?d=263

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

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, 04: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
  •