Thread Subject: Data Acquisition

Subject: Data Acquisition

From: Ian Nauhaus

Date: 15 Jul, 2008 00:10:21

Message: 1 of 4

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.

Subject: Data Acquisition

From: Sherryl Radbil

Date: 15 Jul, 2008 12:07:02

Message: 2 of 4

Post the minimum amount of code needed to see the problem
along with the actual error messages.
Sherryl

Subject: Data Acquisition

From: Vijay

Date: 25 Jul, 2008 18:26:03

Message: 3 of 4

"Sherryl Radbil" <sherryl.radbil.dontspamme@mathworks.com>
wrote in message <g5i3t6$at3$1@fred.mathworks.com>...
> Post the minimum amount of code needed to see the problem
> along with the actual error messages.
> Sherryl

Hi Sherryl (& Ian)
     This issue was addressed in service request 1-5REK26
which I submitted earlier this year (containing sample
code). It might make sense as either an external bug report,
or as an addition to the 'vendor limtiations' documentation.

   The issue was that DAQmx now imposes a limit on finite
acquisition lengths (below 32Msamples), which did not exist
with their prior Trad NI-DAQ driver. It certainly applies to
the S-series boards. I can't recall for sure, but I don't
think it appies to E- or M-series boards.

Regards
Vijay

Subject: Data Acquisition

From: Ian Nauhaus

Date: 25 Jul, 2008 20:11:03

Message: 4 of 4

Thanks Vijay.
I had actually experienced this problem with the traditional
NI driver as well. Not so for you?
Another thing, after playing with it some more, I realized
that if I go above a certain finite number in
SamplesPerTrigger that it will let me acquire. i.e. its not
just limited to low values and INF, but rather there is a
specific finite window in which it won't let you acquire.
--
Ian


"Vijay " <iyerv@janelia.hhmi.org> wrote in message
<g6d5rr$iqu$1@fred.mathworks.com>...
> "Sherryl Radbil" <sherryl.radbil.dontspamme@mathworks.com>
> wrote in message <g5i3t6$at3$1@fred.mathworks.com>...
> > Post the minimum amount of code needed to see the problem
> > along with the actual error messages.
> > Sherryl
>
> Hi Sherryl (& Ian)
> This issue was addressed in service request 1-5REK26
> which I submitted earlier this year (containing sample
> code). It might make sense as either an external bug report,
> or as an addition to the 'vendor limtiations' documentation.
>
> The issue was that DAQmx now imposes a limit on finite
> acquisition lengths (below 32Msamples), which did not exist
> with their prior Trad NI-DAQ driver. It certainly applies to
> the S-series boards. I can't recall for sure, but I don't
> think it appies to E- or M-series boards.
>
> Regards
> Vijay
>

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
maxbytes Ian Nauhaus 14 Jul, 2008 20:15:09
samples Ian Nauhaus 14 Jul, 2008 20:15:09
buffer Ian Nauhaus 14 Jul, 2008 20:15:08
daq Ian Nauhaus 14 Jul, 2008 20:15:08
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com