Serial port?

R

Rhino

Johannes Beekhuizen said:
Hallo All,

I'd like to talk to my serial ports using Java. Browsing the documentation
did
not give me any ideas. Could somebody please give me a hint on how to do
it?
I don't know the answer but I know this has come up in this newsgroup
several times in the past. If you search the archives via Google, I'm sure
you'll find your answer.

Rhino
 
R

Rodrigo Zechin

Take a look at http://www.rxtx.org/, it offers an implementation of the
JavaComm interfaces.
I'v heard that sun has taken out the Win32 JavaComm download page since
the sun's implementation had a lot of bugs, I use the RXTX
implementation and never had a problem with it.

Zechin
 
J

Johannes Beekhuizen

Hallo All,

I'd like to talk to my serial ports using Java. Browsing the documentation did
not give me any ideas. Could somebody please give me a hint on how to do it?

Groetjes,

Hans.
 
K

Knute Johnson

Johannes said:
Hallo All,

I'd like to talk to my serial ports using Java. Browsing the documentation did
not give me any ideas. Could somebody please give me a hint on how to do it?

Groetjes,

Hans.

Sun just redid the JavaComm api for linux. I have a windows copy if you
can't find one and want it. It works fine for me but I'm not doing
anything really complicated.
 
J

Johannes Beekhuizen

Hallo Knute,

Op 08 Dec 05 schreef Knute Johnson aan All:
KJ> Sun just redid the JavaComm api for linux. I have a windows copy if you
KJ> can't find one and want it.

I certainly would not want a Windows thing :) But I found it, thank
you for the hint.

KJ> It works fine for me but I'm not doing anything really complicated.

I don't want anything complicated either. Just get out some data
from an instrument. But complicated enough for somebody with little
experience writing Java :)

Groetjes,

Hans.
 
J

Johannes Beekhuizen

Hallo Rodrigo,

Op 08 Dec 05 schreef Rodrigo Zechin aan All:

RZ> Take a look at http://www.rxtx.org/, it offers an implementation of the
RZ> JavaComm interfaces.

OK, I got that and will study it. Thank you very much for your help.

Groetjes,

Hans.
 
K

Kurt M Peters

I have used the Sun one very recently. It works well for what I wanted to
use it for.
Just do a search for serial port on the java web page.
Kurt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top