Results 1 to 3 of 3
Thread: reading data from a serial port?
- 10-17-2008, 01:08 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 1
- Rep Power
- 0
reading data from a serial port?
Hello everybody
I need to be able to read data from a serial port.
I never really writen any code that uses a com port and i am not sure how to do so.
basically i am tring to creat a program that reads data from two ports putting them to two string varibles then merge them (this part is not importent i think i can handle it myself ;) ) and then write it to another virtual com port.
is it possible to make this kind of program in java?
because I just cant figure out how to make the code listen to the com port and then write it to a virtual com port. Could someone help?
Thank you in advance.
- 10-17-2008, 02:52 PM #2
I downloaded a Java Communications API from the Sun site years ago and have used it to read and write to a serial port.
Have you looked at Sun's site for the API code?
- 01-26-2011, 06:34 AM #3
Member
- Join Date
- Jan 2011
- Location
- Philippines
- Posts
- 1
- Rep Power
- 0
Similar Threads
-
Reading from Serial port!
By Dogge in forum New To JavaReplies: 2Last Post: 12-01-2010, 03:21 AM -
Serial Port
By radhika in forum New To JavaReplies: 5Last Post: 11-06-2009, 10:40 AM -
Accessing Serial port using JDK 1.6
By hasani6leap in forum Advanced JavaReplies: 5Last Post: 01-24-2009, 03:23 AM -
Access Serial port
By hasani6leap in forum Advanced JavaReplies: 0Last Post: 02-12-2008, 09:45 AM -
serial port
By musiigedeo in forum Advanced JavaReplies: 0Last Post: 07-23-2007, 04:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks