Discussion:
Exact function of DIG_Block_In
(too old to reply)
Buffning
2006-08-01 18:40:12 UTC
Permalink
Hello,

Can someone clarify the exact function of the DIG_Block_In function for
a 6533 DAQ card?  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.  In the example code, however,
ulCount was half the buffer size, yet the program took in 10 half
buffers.  Once DIG_Block_In is called, does it continually input
data forever? 

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?

Thanks,
Mark
Buffning
2006-08-03 18:40:14 UTC
Permalink
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. 
The computer only recognized the card if I installed the traditional
legacy software.  I am looking at the example program entitled
DIdoubleBufPatternGenExtClock653x.C.  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.  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.

Mark

Loading...