02-15-2010 04:16 AM
My system configuration is PCI-6220 and 4 SCXI-1100 modules installed inSCXI-1000.
My task is to port VB application from NI-DAQ to DAQmx.
In order to provide the new application the same scan rate capabilities(usually all 128 channels should be scanned at maximum rate (166000 Hz) whileaccuracy restrictions are not important) as the old one I'm looking for the wayto eliminate the MaxRate values provided by DAQmx.
As I understand there is a solution by using the DAQmxSetAIConvRate function.
At the same time there is only one function there the sample mode can beprovide for the DAQmx - the DAQmxCfgSampClkTiming function.
In this function I should use the DAQmx_Val_FiniteSamps parameter.
That is the correct procedures order for my case?
I have tested
DAQmxCfgSampClkTiming...
DAQmxSetAIConvRate ...
with rate 1200Hz (1296Hz max for 166000HZ per 128 chans) but the error was generated "Maximum rate was exceed"...
02-16-2010 11:53 AM