A friendly place for Java greenhorns!
Java
Ranch
»
JavaRanch Saloon
Search
|
FAQ
|
Recent Topics
|
Hot Topics
Register
/
Login
Java
Ranch
»
Forums
»
Java
»
I/O and Streams
Author
How to read input from a serial port and then transfer it to a txt file?
macpatel patel
Greenhorn
Joined: Jun 30, 2009
Messages: 1
posted
Jun 30, 2009 01:29:07
Hii I would like to know how I shall read the input from a serial port and then transfer it to txt file using
java
Joe Ess
Bartender
Joined: Oct 29, 2001
Messages: 6870
posted
Jun 30, 2009 05:51:29
COM port access is made through the
javax.comm
api.
The latest version of the comm api does not support Windows, so if you are on that platform your options are listed on our
Java IO FAQ
.
Have a look at the Java Tutorial for how to
write to a file
.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[
How To Ask Questions On JavaRanch
]
Java
Ranch
»
Forums
»
Java
»
I/O and Streams
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter