Thanks ,
I've also encountered this page when I was about to submit my question to the NI Support Team on a "possible solution page". Don't know why I didn't find it earlier by normal searching...
But now I'm having another problem. And that is, that I can't read as much data as I would like to with this example.
When I take the given code as is I get an error telling me that my PC is to slow to handle all the data flow. At least that's what I figured after some time. Apperantly that's because my card doesn't support DMA.
So I just changed the programm a tiny bit, so that it stops the reading task after it has once "collected" all the samples. But still, when I want to read at a sampling rate of 100kHz I get an error. This time it's error -200019 ("ADC conversion attempted before the prior conversion was completed. Increase the period between ADC conversions. If you are using an external clock, check your signal [...]")
Since I'm not using an external clock what can be the reason for this error?
[EDIT] I'm only reading on one channel, so the whole 250kS/s should be available. And using the testpanel in Automation Explorer it's working fine (of course) with high sampling rates.
Message Edited by metzeltiger on 09-19-2006 06:43 AM