Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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
I agree. Here's the link:
subject: Pooling Serial port
It's not a secret anymore!