Buffer problems 2

Hi, i have this problem: i'm using cmd.c demo program in order to acquire data
from my NIDaqcard6062E, i use an ARM board, when i want to acquire a number of
samples greater than the internal buffer of the card the output is zero (2048)
for a number of times equal to the number of reading of the entire buffer. 
For example if i want 5000 scan for only one channel the first 5000-4096 samples
are zero and the last 1804 are the right samples. It seems that hte buffer
doesn't discard old samples.
How can I solve this problem????
I've seen that there are comedilib functions to manage buffer.
Thanks
Alberto.

Received on 2004-03-05Z15:17:47