Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample Rate & Scan Rate

Hi

I m using the NI-DAQ-16E-4 PCMCIA card.I am little confused about the scan rate and sample rate.I was going through the shipped program ScanSingleBufAsync.c and in this example 2 channels are scanned.Sample rate is set to 10,000 S/s(i.e. dSampRate=10,000).Is this rate same for both the channels or is this rate the aggregate sampling rate??I am using 8 channels and wanted to sample each channel at 10Khz,so in this dSampRate should I put 10,000 or 80,000(10,000 * 8=aggregate sample rate)??

Similarly wat should be my scan rate for my application?
I want to take 100 samples on each channel so I think the "ulCount" parameter should be set to 800.Similarly the size of the arrays piBuffer & pdVoltBuffer would be 800.

Has this number to
do anything with the scan rate?
Please clarify.

Thanks
0 Kudos
Message 1 of 3
(6,102 Views)
Cool,

Here's some definitions that should help you make the best selections.

Scan Rate: The number of scans per second. For example a scan rate of 10 Hz means sampling each channel 10 times per second. The scan rate equals the sample rate divided by the number of channels in the scan. For example a scan including 32 channels with a sampling rate of 1000 S/s would have a Scan Rate = (1000 S/s) / (32 S/Scan) = 31.25 Scans/s.

Sample Rate: Sample rate is the rate at which data is sampled.

Have a great day!
Message 2 of 3
(6,102 Views)
Hi Sarah,
where would I find the settings of sample/scan rate for my pcmcia daq card? It's a model 776912-01 with 24 DIO ports on it. I would like to decrease the scan rate, but cannot find the settings anywhere. If you have any information, please email me at mark.heuer@integrated-designs.com

Thanks,
Mark
0 Kudos
Message 3 of 3
(6,102 Views)