Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Data Acquisition
Date: Tue, 15 Jul 2008 00:10:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <g5gptd$lhf$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216080621 22063 172.30.248.38 (15 Jul 2008 00:10:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 15 Jul 2008 00:10:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440856
Xref: news.mathworks.com comp.soft-sys.matlab:479357



I am trying to read fairly large chunks of analog data from
my National Instruments board (PCI 6110).  I look at the
'MaxBytes' using the 'daqmem' function, and I have plenty of
space for what I am trying to acquire (as I define in
SamplesPerTrigger).  But when I do start(ai), it gives me in
error saying that its too big.  

Furthermore, if I set the SamplesPerTrigger to 'inf', it
will actually accumulate bytes to the expected value in
'MaxBytes' !!??

Summary: Why is it that when I try to preallocate a specific
number of samples (using SamplesPerTrigger), which
corresponds to a number much less than MaxBytes, that I
can't trigger the acquisition?  I've also played with
BufferingConfig, and that doesn't seem to help.