Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Failure to read serial port after ~5000 asynch reads
Date: Wed, 1 Oct 2008 18:25:28 -0400
Organization: The MathWorks, Inc.
Lines: 27
Message-ID: <gc0tco$6v3$1@fred.mathworks.com>
References: <gbub92$9sr$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: jarvit.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1222899928 7139 172.31.56.68 (1 Oct 2008 22:25:28 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 1 Oct 2008 22:25:28 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:493209



"Scott Burnside" <no@spam.com> wrote in message 
news:gbub92$9sr$1@fred.mathworks.com...
> Running R2007a on WinXP with Instrument Control Toolbox 2.4.2 I am 
> encountering serial port read failures after approx. 5000 read operations 
> connected to a TrueTime XL-DC GPS Time and Frequency Reciever.
>
> I've used continuous asynchronous, manual asynchronous (with readasync). 
> I've tried flow control. All methods manifest the same problem, there is 
> no output after about 5000 reads. It looks like Matlab's interface to the 
> UART driver is locking up. Serialbreak doesn't work.
>
> Nothing short of closing MATLAB and starting a new instance will clear 
> this up.
>
> Is this a known problem with 2007a? I find hints of this in the support 
> literature but I would like to be more certain before I spend the money to 
> upgrade.
>

Hi Scott

AFIAK, this is not a known problem in 2007a.  It may be a manifestation of 
something else.   Do you have minimal example code that can reproduced the 
problem?