[Rxtx] Letting Serial Port open for a Year
Alexander Kiel
alexanderkiel at gmx.net
Wed Feb 25 06:19:03 MST 2009
Hi all,
-- Sorry same Mail from the right account. --
I'm working on a application which continuously acquires data from a
number of devices over a RS485 bus. On application start, I open the
port and both of the streams (in and out). Then I send requests to the
devices in short intervals. I never have the situation where I don't
need to acquire data for longer period of time. So I never close the
streams and never close the port until application shutdown.
Here is my question: Is it a problem for RXTX to hold open a port and
its streams for a very long time - say up to one year, or should I close
and reopen the port in fixed intervals like once a day or once a week?
Thanks
Alexander Kiel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20090225/07dcc3b4/attachment-1145.sig>
More information about the Rxtx
mailing list