Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Traditional daq pci-6534 , working with double buffer

hi,
 
I am working with traditional daq pci 6534
The main goal is to acquiring enormous size of data for a certain time interval,
For this I am using the double buffer and when "DIG_DB_HalfReady(iDevice, iGroup, &iHalfReady)"
When iHalfReady == 1 I get half the buffer,
After a period of time, I would like to retrieve the data from the NI card, the size of the data in the NI card is less then half buffer size.
How can I do it???
 
0 Kudos
Message 1 of 2
(3,119 Views)

Hello,

Have you tried the DIG_Block_In function?  If you are able to read the number of points in the buffer with the DIG_Block_Check function, you should be able to feed that value into the DIG_Block_In function to pull the data out of the buffer.

Please try this out and let me know your results.
 
Regards,
Sean C.
0 Kudos
Message 2 of 2
(3,106 Views)