IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » I/O and Streams
 
RSS feed
 
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
Messages: 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
Messages: 6870

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]
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » I/O and Streams
 
RSS feed
 
New topic
MyEclipse Enterprise Workbench