channel B goes low to enter the reload phase, the reload occurs. Aer the reload
occurs, the counter continues to count as before. The figure illustrates channel Z
reload with X4 decoding.
Figure 22. Channel Z Reload
Encoder Count
A = 0
B = 0
Z = 1
Ch A
Ch B
Ch Z
5 6 8 0 1 2 3 47
Two-Pulse Encoder Overview
The counter supports two-pulse encoders that have two 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 the following figure.
Figure 23. Two-Pulse Encoder
Encoder Count
Ch A
Ch B
54 4 43 32
Position Measurement
You can take position measurements with the NI-9361.
The counter measures position using an encoder. The NI-9361 returns the current
encoder count value when the counter is read. The following figure shows an
example of an encoder position measurement using a quadrature encoder.
Figure 24. Quadrature Encoder Position Measurement
Encoder Count
Read Value
Counter
Read
Ch A
Ch B
5 6 87 9 10 11
12
13
12
The following figure shows an example of two-pulse encoder position
measurement.
ni.com
26
NI-9361 Getting Started