This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Java in General and the fly likes Pooling Serial port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Pooling Serial port" Watch "Pooling Serial port" New topic

Pooling Serial port

meeraa pillaii
Ranch Hand

Joined: Apr 19, 2008
Posts: 30
Hi friends,

I am doing one program to read the serial port.I want to do that continuously until the program stops.It should read and store the data comes into the serial port buffer....

This is one i found while searching for event driven...But not understanding how it is reading and writing to file....

Please anybody help me

Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
You can use the API javax.comm.SerialPort and javax.comm.CommPortIdentifier

Amit Tank
Linked In
It is sorta covered in the JavaRanch Style Guide.
subject: Pooling Serial port
It's not a secret anymore!