Figure 25. Two-Pulse Encoder Position Measurement
Encoder Count
Read Value
Ch A
Counter
Read
Ch B
54 4 43 32
3
Channel Settings
You can configure the following counter properties:
■
Decoding Type: Configurable to two-pulse decoding for two-pulse encoder
or X1, X2 or X4 decoding for quadrature encoder.
■
Input terminal of A signal.
■
Input terminal of B signal.
■
The initial value of the count.
You can configure the following counter properties for encoders supporting Z
terminal:
■
Z index enable to enable the reset of the counter based on the Z signal.
■
Input terminal of Z signal.
■
Z index phase for quadrature encoders to indicate when to reset the
counter.
■
Z index value to indicate the value to reset the counter to.
Trigger Settings
Counter Arm—You can control when the counter starts the encoder position
measurement through the counter arm control. The counter waits for the active
edge on the encoder signal aer it is armed and starts counting aer it is detected.
Refer to your soware documentation for more information on the arming of the
counter.
Velocity Measurement
You can take velocity measurements with the NI-9361.
© National Instruments
27
NI-9361 Getting Started