File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about serial cable communication using Java

 
George Lin
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stephen Boston
Ranch Hand
Posts: 165
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
George Lin
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> 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
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic