<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172540</link>
    <title>MATLAB Central Newsreader - Data Acquisition</title>
    <description>Feed for thread: Data Acquisition</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 15 Jul 2008 00:10:21 -0400</pubDate>
      <title>Data Acquisition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172540#443003</link>
      <author>Ian Nauhaus</author>
      <description>I am trying to read fairly large chunks of analog data from&lt;br&gt;
my National Instruments board (PCI 6110).  I look at the&lt;br&gt;
'MaxBytes' using the 'daqmem' function, and I have plenty of&lt;br&gt;
space for what I am trying to acquire (as I define in&lt;br&gt;
SamplesPerTrigger).  But when I do start(ai), it gives me in&lt;br&gt;
error saying that its too big.  &lt;br&gt;
&lt;br&gt;
Furthermore, if I set the SamplesPerTrigger to 'inf', it&lt;br&gt;
will actually accumulate bytes to the expected value in&lt;br&gt;
'MaxBytes' !!??&lt;br&gt;
&lt;br&gt;
Summary: Why is it that when I try to preallocate a specific&lt;br&gt;
number of samples (using SamplesPerTrigger), which&lt;br&gt;
corresponds to a number much less than MaxBytes, that I&lt;br&gt;
can't trigger the acquisition?  I've also played with&lt;br&gt;
BufferingConfig, and that doesn't seem to help.</description>
    </item>
    <item>
      <pubDate>Tue, 15 Jul 2008 12:07:02 -0400</pubDate>
      <title>Re: Data Acquisition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172540#443110</link>
      <author>Sherryl Radbil</author>
      <description>Post the minimum amount of code needed to see the problem &lt;br&gt;
along with the actual error messages.&lt;br&gt;
Sherryl</description>
    </item>
    <item>
      <pubDate>Fri, 25 Jul 2008 18:26:03 -0400</pubDate>
      <title>Re: Data Acquisition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172540#445527</link>
      <author>Vijay </author>
      <description>&quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt;&lt;br&gt;
wrote in message &amp;lt;g5i3t6$at3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Post the minimum amount of code needed to see the problem &lt;br&gt;
&amp;gt; along with the actual error messages.&lt;br&gt;
&amp;gt; Sherryl&lt;br&gt;
&lt;br&gt;
Hi Sherryl (&amp; Ian)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This issue was addressed in service request 1-5REK26&lt;br&gt;
which I submitted earlier this year (containing sample&lt;br&gt;
code). It might make sense as either an external bug report,&lt;br&gt;
or as an addition to the 'vendor limtiations' documentation.  &lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;The issue was that DAQmx now imposes a limit on finite&lt;br&gt;
acquisition lengths (below 32Msamples), which did not exist&lt;br&gt;
with their prior Trad NI-DAQ driver. It certainly applies to&lt;br&gt;
the S-series boards. I can't recall for sure, but I don't&lt;br&gt;
think it appies to E- or M-series boards.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Vijay</description>
    </item>
    <item>
      <pubDate>Fri, 25 Jul 2008 20:11:03 -0400</pubDate>
      <title>Re: Data Acquisition</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172540#445542</link>
      <author>Ian Nauhaus</author>
      <description>Thanks Vijay.&lt;br&gt;
I had actually experienced this problem with the traditional&lt;br&gt;
NI driver as well.  Not so for you?&lt;br&gt;
Another thing, after playing with it some more, I realized&lt;br&gt;
that if I go above a certain finite number in&lt;br&gt;
SamplesPerTrigger that it will let me acquire. i.e. its not&lt;br&gt;
just limited to low values and INF, but rather there is a&lt;br&gt;
specific finite window in which it won't let you acquire.&lt;br&gt;
--&lt;br&gt;
Ian&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Vijay &quot; &amp;lt;iyerv@janelia.hhmi.org&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g6d5rr$iqu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Sherryl Radbil&quot; &amp;lt;sherryl.radbil.dontspamme@mathworks.com&amp;gt;&lt;br&gt;
&amp;gt; wrote in message &amp;lt;g5i3t6$at3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Post the minimum amount of code needed to see the problem &lt;br&gt;
&amp;gt; &amp;gt; along with the actual error messages.&lt;br&gt;
&amp;gt; &amp;gt; Sherryl&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hi Sherryl (&amp; Ian)&lt;br&gt;
&amp;gt;      This issue was addressed in service request 1-5REK26&lt;br&gt;
&amp;gt; which I submitted earlier this year (containing sample&lt;br&gt;
&amp;gt; code). It might make sense as either an external bug report,&lt;br&gt;
&amp;gt; or as an addition to the 'vendor limtiations' documentation.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;    The issue was that DAQmx now imposes a limit on finite&lt;br&gt;
&amp;gt; acquisition lengths (below 32Msamples), which did not exist&lt;br&gt;
&amp;gt; with their prior Trad NI-DAQ driver. It certainly applies to&lt;br&gt;
&amp;gt; the S-series boards. I can't recall for sure, but I don't&lt;br&gt;
&amp;gt; think it appies to E- or M-series boards.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Regards&lt;br&gt;
&amp;gt; Vijay&lt;br&gt;
&amp;gt; </description>
    </item>
  </channel>
</rss>

