Hi Chris,
You're right - I see the same behavior although I fetch 2000 points every time when I set this field to -1. I think this is because we're in continuous acq mode and the default acquisition size is 1000 samples (2000 samples treating I and Q as separate 16 bit samples).
In any case I think this is probably a moot point since you really do not want to use a small fetch size in continuous acquisition mode. The smaller the fetch size the smaller the ratio of samples fetched in proportion to the fixed costs of the driver calls and everything that must happen regardless of how much data is returned. Using small fetch sizes will prevent you from being able to keep the Fetch Backlog from growing and eventually overflowing your onboard memory.
In my experience a fetch size between 100,000 and 300,000 samples allows for highest throughput. I modified the example I posted before to incororate continuous acquisition (and took out all SW processing and graphing from the loop) and am able to use the max DDC BW / Sample Rate and keep the Fetch Backlog down when using a fetch size of 100,000 samples. If I use 10,000 or below I start to overflow.
Let me know if you need more help on this!
Regards,
Andy Hinde
National Instruments
Message Edited by Andy Hinde on 03-15-2007 06:17 PM