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

Using Java to "talk" to a serial port

Fred Freeley

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

Joined: Oct 29, 2001
Posts: 9189

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

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Using Java to "talk" to a serial port
It's not a secret anymore!