Hi,
I have run into an issue involving the getting and setting of the sample clock rate. My workflow is as follows:
1) Create a task
2) Create an AI Voltage channel
3) Set the rate to 10000 using DAQmxCfgSampClkTiming
4) Get the rate using DAQmxGetSampClkRate
5) If I get this rate and print it using the following command, I get a slightly different number(10000.00000885847800000000000000000000) :
printf("Rate = %.32f\n",rate);
I have attached sample C code that demonstrates this.
Is this a bug? If it is, can you provide a CAR number so that we can track this.
Thanks,
Varun Hariharan
MathWorks