National Instruments PCI-6251 User Manual page 68

Table of Contents

Advertisement

Chapter 4
Analog Input
M Series devices use AI Sample Clock (ai/SampleClock) and AI Convert Clock
(ai/ConvertClock) to perform interval sampling. As Figure 4-13 shows, AI Sample Clock
(ai/SampleClock) controls the sample period, which is determined by the following equation:
AI Convert Clock controls the Convert Period, which is determined by the following equation:
Typically, this rate is the sampling rate for the task multiplied by the number of channels in the
task.
Note
The sampling rate is the fastest you can acquire data on the device and still
achieve accurate results. For example, if an M Series device has a sampling rate of
250 kS/s, this sampling rate is aggregate—one channel at 250 kS/s or two channels
at 125 kS/s per channel illustrates the relationship.
Posttriggered data acquisition allows you to view only data that is acquired after a trigger event
is received. A typical posttriggered DAQ sequence is shown in Figure 4-14. The sample counter
is loaded with the specified number of posttrigger samples, in this example, five. The value
decrements with each pulse on AI Sample Clock, until all desired samples have been acquired.
Figure 4-14. Posttriggered Data Acquisition Example
AI Start Trigger
AI Sample Clock
AI Convert Clock
Sample Counter
Pretriggered data acquisition allows you to view data that is acquired before the trigger of
interest, in addition to data acquired after the trigger. Figure 4-15 shows a typical pretriggered
DAQ sequence. AI Start Trigger (ai/StartTrigger) can be either a hardware or software signal. If
4-22 | ni.com
1/Sample Period = Sample Rate
Figure 4-13. Interval Sampling
Channel 0
Channel 1
1/Convert Period = Convert Rate
4
Convert Period
Sample Period
3
2
1
0
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

622 series625 series628 seriesM series

Table of Contents