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

about serial cable communication using Java

George Lin
Ranch Hand

Joined: Jan 11, 2005
Posts: 125
Hello everyone,


I want to use javax.comm to do serial cable communication on Linux platform. Currently, I can not find enough learning materials (tutorials and samples) from searching the net. Could anyone help to recommend some good ones?


thanks in advance,
George
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

The Java Communications API, which I presume you have downloaded and installed, comes with documentation and examples. Aren't these enough?

Java Communications API homepage

Do you have a specific problem that you want help with? It's easier to help you if you ask specific questions.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Stephen Boston
Ranch Hand

Joined: Jul 14, 2005
Posts: 165
The SampleRead and SampleWrite that are in This Location work quite well. I had a project a couple of years ago that needed to read a scale from the comport.

Those examples were the basics of my code.


Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."
George Lin
Ranch Hand

Joined: Jan 11, 2005
Posts: 125
Thanks Jesper,


Originally posted by Jesper de Jong:
The Java Communications API, which I presume you have downloaded and installed, comes with documentation and examples. Aren't these enough?

Java Communications API homepage

Do you have a specific problem that you want help with? It's easier to help you if you ask specific questions.


The information you provided is very helpful. My current issue is that, I do not know how to install and configure the library on Linux platform. Where can I find related documents?


regards,
George
George Lin
Ranch Hand

Joined: Jan 11, 2005
Posts: 125
Thanks Stephen,


Originally posted by Stephen Boston:
The SampleRead and SampleWrite that are in This Location work quite well. I had a project a couple of years ago that needed to read a scale from the comport.

Those examples were the basics of my code.


The information you provided is very helpful. My current issue is that, I do not know how to install and configure the library on Linux platform. Where can I find related documents?


regards,
George
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

> The information you provided is very helpful. My current issue is that, I do
> not know how to install and configure the library on Linux platform. Where
> can I find related documents?


Why not? The package comes with installation instructions, doesn't it? Didn't you find the instructions or don't you understand the instructions? If you don't understand the instructions, please ask a specific question about what you don't understand.
George Lin
Ranch Hand

Joined: Jan 11, 2005
Posts: 125
Thanks Jesper,


Originally posted by Jesper de Jong:
> The information you provided is very helpful. My current issue is that, I do
> not know how to install and configure the library on Linux platform. Where
> can I find related documents?


Why not? The package comes with installation instructions, doesn't it? Didn't you find the instructions or don't you understand the instructions? If you don't understand the instructions, please ask a specific question about what you don't understand.


It is amazing that there are not such instructions in the downloaded package. When I download it again, it exists! Now I have got what I want.


Have a good weekend,
George
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about serial cable communication using Java