08-04-2005 10:39 AM
Hi,
My application requires to scan all 32 AI channels. I am using a 4 Ms circular buffer with sampling rate of 50 000 S/s. Strangely I can only include 30 channels in my scan list. This line causes my application to stop working ( samples are no longer acquired, a call to
DAQmxGetReadTotalSampPerChanAcquired returns 0 )
DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0:30","",DAQmx_Val_RSE ,-10.0,10.0,DAQmx_Val_Volts,NULL)
but it works fine when I use this line:
DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0:29","",DAQmx_Val_RSE ,-10.0,10.0,DAQmx_Val_Volts,NULL)
I am using Visual C++ .Net.
Any ideas?
thanks,
jerry.
08-05-2005 11:21 AM
08-05-2005 03:50 PM
Thanks for your help.
The problem went away. I think I misunderstood the scan rate parameter and was trying to scan too fast ( over 1.25 MS/s ).
Jerry.