[Rxtx] Letting Serial Port open for a Year
alexanderkiel at gmx.net
Wed Feb 25 06:19:03 MST 2009
-- 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Rxtx