Sample Rate

Sample Rate

We have a DI1100, and we are creating a custom app for it using the .Net SDK. The app mostly works, but I'd like to slow down the sample rate. What is the definition of the value passed into the SetSampleRateOnChannels() function?

I tried retrieving the min and max like this:
ReadOnlyRange<double> lstSampleRateRange = (targetDevice.Channels[0] as Dataq.Devices.Dynamic.IChannelSampleRate).GetSupportedSampleRateRange(targetDevice);

(targetDevice refers to the DI1100, and it is working)

SetSampleRateOnChannels() fails when I use the retrieved minimum. It works with the retrieved maximum, but the unit samples very slowly. I found that the Dataq .net sample project has the same problem.

I'm using all 4 channels, and I call SetSampleRateOnChannels() after I've configured the channels.

I'm missing something...anyone have any ideas?

Thanks.
Don