Measurements Using Two Pulse Encoders; Buffered (Sample Clock) Position Measurement - National Instruments X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Advertisement

Measurements Using Two Pulse Encoders

The counter supports two pulse encoders that have two channels—channels A and B.
The counter increments on each rising edge of channel A. The counter decrements on each rising
edge of channel B, as shown in Figure 7-22.
Figure 7-22. Measurements Using Two Pulse Encoders
Ch A
Ch B
Counter Value 2
For information about connecting counter signals, refer to the
section.

Buffered (Sample Clock) Position Measurement

With buffered position measurement (position measurement using a sample clock), the counter
increments based on the encoding used after the counter is armed. The value of the counter is
sampled on each active edge of a sample clock. A DMA controller transfers the sampled values
to host memory. The count values returned are the cumulative counts since the counter armed
event; that is, the sample clock does not reset the counter. You can route the counter sample
clock to the Gate input of the counter. You can configure the counter to sample on the rising or
falling edge of the sample clock.
Figure 7-23 shows an example of a buffered X1 position measurement.
Sample Clock
(Sample on Rising Edge)
3
4
Figure 7-23. Buffered Position Measurement
Counter
Armed
Ch A
Ch B
Count
0
Buffer
5
4
Default Counter/Timer Pins
1
2
1
© National Instruments | 7-23
X Series User Manual
3
4
3
4
1
3

Advertisement

Table of Contents
loading

Table of Contents