Results 1 to 3 of 3
Thread: Open and enquire com port
- 02-02-2013, 10:57 PM #1
Member
- Join Date
- Feb 2013
- Posts
- 1
- Rep Power
- 0
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
- 02-03-2013, 12:58 AM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,608
- Rep Power
- 5
Re: Open and enquire com port
See the following tutorial
Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)
- 02-03-2013, 01:40 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
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,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
How to open port in OSX Lion?
By Shellback3 in forum NetworkingReplies: 0Last Post: 07-19-2012, 09:08 PM -
How to enquire which class(es) are currently using your class within Eclipse?
By coyne20 in forum EclipseReplies: 2Last Post: 04-25-2012, 07:19 AM -
How to open Serial port connection
By rjagan in forum New To JavaReplies: 3Last Post: 04-08-2011, 08:58 AM -
Redirecting port 80 index to port 8080 index
By chyrl in forum Advanced JavaReplies: 0Last Post: 11-30-2010, 03:15 PM -
Different Files Open in File -> Open Workspace
By mgm2010 in forum JCreatorReplies: 0Last Post: 04-11-2009, 02:14 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks