aspose file tools
The moose likes I/O and Streams and the fly likes How to read input from a serial port and then transfer it to a txt file? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "How to read input from a serial port and then transfer it to a txt file?" Watch "How to read input from a serial port and then transfer it to a txt file?" New topic
Author

How to read input from a serial port and then transfer it to a txt file?

macpatel patel
Greenhorn

Joined: Jun 30, 2009
Posts: 1
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
Posts: 7921

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]
 
 
subject: How to read input from a serial port and then transfer it to a txt file?
 
Threads others viewed
data transfer urgentttttttt
I have a serial-to-usb adapter, how do I read it from Android?
Storing input using Comm API
IrDA Communications question.
Creating an event that reacts to Input
developer file tools