<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Exact function of DIG_Block_In in Digital I/O</title>
    <link>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/398967#M5259</link>
    <description>Hello, &lt;BR /&gt;
&lt;BR /&gt;
Can someone clarify the exact function of the DIG_Block_In function for
a 6533 DAQ card?&amp;nbsp; From the function documentation, I understood
that it takes in ulCount inputs from the board and puts them in the
array you pass the function.&amp;nbsp; In the example code, however,
ulCount was half the buffer size, yet the program took in 10 half
buffers.&amp;nbsp; Once DIG_Block_In is called, does it continually input
data forever?&amp;nbsp; &lt;BR /&gt;
&lt;BR /&gt;
Also, When using DIG_Block_Check to find out how many points are
remaining to be taken in, does the number of points remaining reset
whenever the card takes in ulCount data points?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Aug 2006 18:14:38 GMT</pubDate>
    <dc:creator>Buffning</dc:creator>
    <dc:date>2006-08-01T18:14:38Z</dc:date>
    <item>
      <title>Exact function of DIG_Block_In</title>
      <link>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/398967#M5259</link>
      <description>Hello, &lt;BR /&gt;
&lt;BR /&gt;
Can someone clarify the exact function of the DIG_Block_In function for
a 6533 DAQ card?&amp;nbsp; From the function documentation, I understood
that it takes in ulCount inputs from the board and puts them in the
array you pass the function.&amp;nbsp; In the example code, however,
ulCount was half the buffer size, yet the program took in 10 half
buffers.&amp;nbsp; Once DIG_Block_In is called, does it continually input
data forever?&amp;nbsp; &lt;BR /&gt;
&lt;BR /&gt;
Also, When using DIG_Block_Check to find out how many points are
remaining to be taken in, does the number of points remaining reset
whenever the card takes in ulCount data points?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2006 18:14:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/398967#M5259</guid>
      <dc:creator>Buffning</dc:creator>
      <dc:date>2006-08-01T18:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exact function of DIG_Block_In</title>
      <link>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/399621#M5264</link>
      <description>Hello Mark,&lt;BR /&gt;&lt;BR /&gt;The 6533 works with the NI-DAQmx driver, which is a more intuitive driver than the Traditional NI-DAQ (Legacy) driver.&amp;nbsp; It sounds like you are just starting an application, and if that is the case I would strongly recommend using the NI-DAQmx driver.&lt;BR /&gt;&lt;BR /&gt;Otherwise, what CVI shipping example are you looking at?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2006 19:20:51 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/399621#M5264</guid>
      <dc:creator>McKala[DE]</dc:creator>
      <dc:date>2006-08-02T19:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exact function of DIG_Block_In</title>
      <link>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/400126#M5272</link>
      <description>I haven't been able to get it to work with the DAQmx software and was
told it didn't in the shipped documentation and by tech support.&amp;nbsp;
The computer only recognized the card if I installed the traditional
legacy software.&amp;nbsp; I am looking at the example program entitled
DIdoubleBufPatternGenExtClock653x.C.&amp;nbsp; To make my question specific
to this code, I'm wondering if it would be possible to stop input at
9.5 buffers by using the function DIG_BLOCK_CHECK.&amp;nbsp; The area where
I see this being a problem is that DIG_BLOCK_IN tells the program to
only input one half buffer and DIG_BLOCK_CHECK seems to operate based
on how much DIG_BLOCK_IN tells the program to input.&lt;BR /&gt;
&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2006 18:14:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/400126#M5272</guid>
      <dc:creator>Buffning</dc:creator>
      <dc:date>2006-08-03T18:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exact function of DIG_Block_In</title>
      <link>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/400586#M5282</link>
      <description>Hello Mark,&lt;BR /&gt;&lt;BR /&gt;You should be able to use the DIG_BLOCK_CHECK to stop&amp;nbsp; input at a half buffer value.&amp;nbsp; DIG_BLOCK_IN tells the program the number of items to be transferred and DIG_BLOCK_CHECK returns the number of remaining samples still to be transferred.&amp;nbsp; You should be able to stop the input by monitoring the remaining output.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;As I look at that particular example, I think one easy way to stop at 9.5 buffers would be to change the loop condition.&lt;BR /&gt;&lt;BR /&gt;You must have tried using either an older version of NI-DAQmx or something like that, because the PCI-6533 is supported in NI-DAQmx in version 7.4 and above (the current version of NI-DAQmx is version 8.1).&amp;nbsp; You might give a later version of NI-DAQmx a try and be amazed by how easy it is to use &lt;SPAN&gt;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.ni.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Aug 2006 16:04:23 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Digital-I-O/Exact-function-of-DIG-Block-In/m-p/400586#M5282</guid>
      <dc:creator>McKala[DE]</dc:creator>
      <dc:date>2006-08-04T16:04:23Z</dc:date>
    </item>
  </channel>
</rss>

