From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

The sampling rate setting in DAQmxCfgSampClkTiming

Hi,
 
I would like to set up the sampling rate of PCI-6251with DAQmxCfgSampClkTiming(*taskHandle,"",SampRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan) for multi AI channels. The 6251 manual says the highest sampling rate for signle channel is 1.25M and 1M for multi-channel. Does that mean I have to set the SampRate to be 1M or it has to be divided by the number of channels (500K if I have two analog inputs?)?
 
Thanks
David.
0 Kudos
Message 1 of 5
(3,333 Views)
Hi David!  look  here 

It seems that you have to divide!

Graziano
0 Kudos
Message 2 of 5
(3,326 Views)
Note: I refer to Ayman  post...
0 Kudos
Message 3 of 5
(3,324 Views)
Hello David,

Graziano is right, it's 1MS/s divided by the number of channels in the scan list.

Regards,
Micaela
Micaela N
National Instruments
0 Kudos
Message 4 of 5
(3,315 Views)
Thanks guys!
0 Kudos
Message 5 of 5
(3,307 Views)