National Instruments NI 6238 User Manual page 39

Daq m series isolated current input/c urrent output devices
Hide thumbs Also See for NI 6238:
Table of Contents

Advertisement

© National Instruments Corporation
M Series devices use ai/SampleClock and ai/ConvertClock to perform
interval sampling. As Figure 4-8 shows, ai/SampleClock controls the
sample period, which is determined by the following equation:
1/Sample Period = Sample Rate
Channel 0
Channel 1
ai/ConvertClock controls the Convert Period, which is determined by the
following equation:
1/Convert Period = Convert Rate
By default, the NI-DAQmx driver chooses the fastest Channel Clock rate
possible while still allowing extra time for adequate amplifier settling time.
At slower scan rates, 10 μs of delay is added to the fastest possible channel
conversion rate of the device, which is the same as the maximum scan rate,
to derive the Channel Clock.
As the scan rate increases, there eventually will not be enough time to have
a full 10 μs of additional delay time between channel conversions and to
finish acquiring all channels before the next edge of the Scan Clock. At this
point, NI-DAQmx uses round robin channel sampling, evenly dividing the
time between scans by the number of channels being acquired to obtain the
interchannel delay. In this case, you can calculate the Channel Clock by
multiplying the scan rate by the number of channels being acquired.
For example, the NI 623x M Series device has a maximum sampling rate of
250 kS/s. At a slower acquisition rate, such as 10 kHz with 2 channels, the
Convert Clock would be set to 71428.6 Hz. This rate is determined by
taking the fastest channel conversion rate for the device and adding 10 μs,
4 μs (1/250000) + 10 μs, which results in 14 μs or 71428.6 Hz.
Convert Period
Sample Period
Figure 4-8. Interval Sampling
4-13
Chapter 4
Analog Input
NI 6238/6239 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6239Daq m series

Table of Contents