Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: continuous acquisition
Date: Thu, 20 Dec 2007 09:36:39 +0000 (UTC)
Organization: DW-TV
Lines: 16
Message-ID: <fkdd37$71g$1@fred.mathworks.com>
References: <fj60m2$p81$1@fred.mathworks.com> <fj66ch$sgs$1@fred.mathworks.com> <fj6cug$2vu$1@fred.mathworks.com> <fj9d6l$97$1@fred.mathworks.com> <fjb0ua$cfc$1@fred.mathworks.com> <fjbaqs$mu0$1@fred.mathworks.com> <fjbgs7$ggp$1@fred.mathworks.com> <fjbr8b$qi7$1@fred.mathworks.com> <fjma9f$8d4$1@fred.mathworks.com> <fjpesn$p3d$1@fred.mathworks.com> <fjpf90$1qu$1@fred.mathworks.com> <fk5opj$vp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1198143399 7216 172.30.248.37 (20 Dec 2007 09:36:39 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 20 Dec 2007 09:36:39 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1095707
Xref: news.mathworks.com comp.soft-sys.matlab:443137



Sounds like your hardware 'runs dry' of input-data while
performing some other tasks (i.E. saving a file). In this
case 'getdata' causes an error because nothing is to get. If
you don't really need every single sample find out about the
use of 'peekdata' rather than 'getdata'. A (very
unintelligent) solution could also be to use try/catch.
In my opinion you should find out about the 'LogToDisk' and
'LoggingMode' properties of your hardware to avoid the
discontinuity while performing the daq. Just doubleclick the
AI in workspacebrowser and find out about what can be set in
your special hardware.

If this doesn't help:
There is a specialist around here in this forum. His name is
Rob Purser. Go to his newsreader page and contact him. He
always really helped me a lot.