On Jan 24, 2007, at 1:12 PM, Chad Bullock wrote:
When I do use it the first time, it works. Then I quit, then reopen
my app
and try again. If I just try to read the buffer in the dataReceived
event of
the device (without sending any more commands or anything), some of
the old
data from my last session pours in. So somehow it's been sitting in
some
(other?) buffer and I'm getting the tail-end of it upon the next
connection;
again this is after I've already quit my program and reopened it and
reconnected to the serial.
Does this sound right, or am I running into a possible bug in
either RB, the
USB driver for my device, or even a Mac bug? Thanks again everyone
for the
help.
Makes sense
RB probably just reads an OS level buffer for the device which may
very well still hold data you did not read last time before you quit
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>