03-18-2009 05:27 AM
Hello,
If I choose a high number of samples in BeginReadMultiSampleDouble always get a timeout while reading with EndReadMultiSampleDouble. What's the condition that a timeout occurs ?
Thanks andré
03-19-2009 03:59 AM
Hi koins,
the condition refers to your sample rate.
If you choose e.g. a sample rate of 1kHz and your number of samples is 1000, than ONE measurement iteration will take 1 second.
If you set the sample rate to 1kHz and the number of samples to 10000, than ONE measurement iteration will take 10seconds.
If you want to use a very high number of samples, you should increase the timeout.
You can calculate the time which is needed by:
time for ONE iteration = (number of samples) / (sampe rate)
This is because we are using a Fifo memory and we transfer the data in blocks (number of samples) from the device to e.g. Labview, C#, C++,...
Hope this helps
Best regards
Dippi