File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Using Java to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Using Java to "talk" to a serial port" Watch "Using Java to "talk" to a serial port" New topic
Author

Using Java to "talk" to a serial port

Fred Freeley
Greenhorn

Joined: Sep 24, 2006
Posts: 5
I have a DVM that spits out readings on a serial port. How do I "connect" that serial stream to something I can read using Java?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Hi, welcome to the ranch! See if the Communications API does what you need.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8710
    
    6

Be aware that the Java Comm API is no longer supported on Windows. The JavaRanch IO FAQ contains several alternatives.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Consider Paul's rocket mass heater.
 
subject: Using Java to "talk" to a serial port
 
Similar Threads
How to read input from a serial port and then transfer it to a txt file?
Java Comm API?
Regarding Serial Port Commuication.
Has anyone used a Serial -> USB adaptor with a Java program?
Need help for conversion!