© National Instruments
|
3-25
Other Settings
The counter measures time using the Counter Timebase signal. By default, the counter uses an
onboard 100 MHz signal as the timebase. To change the timebase, use the CI.CtrTimebaseSrc
DAQmx Channel property.
You can filter noise on any PFI signal that is an input to the counter by enabling a filter. Refer
to the
section in Chapter 4,
, for more information.
If you route the same PFI signal to multiple destinations, you should enable the Synchronization
feature. Refer to Chapter 4,
, for more information.
Quadrature and Two-Pulse Encoder Overview
The NI 6612 can make angular and linear position measurements using quadrature and
two-pulse encoders.
Quadrature Encoders
A quadrature encoder can have up to three channels: channels A, B, and Z. When channel A
leads channel B in a quadrature cycle, the counter increments. When channel B leads channel A
in a quadrature cycle, the counter decrements. The amount of increments and decrements per
cycle depends on the type of encoding: X1, X2, or X4.
•
X1 Encoding
—Figure 3-27 shows a quadrature cycle and the resulting increments and
decrements for X1 encoding. When channel A leads channel B, the increment occurs on the
rising edge of channel A. When channel B leads channel A, the decrement occurs on the
falling edge of channel A.
Figure 3-27.
X1 Encoding
•
X2 Encoding
—The counter increments or decrements on each edge of channel A,
depending on which channel leads the other. Each cycle results in two increments or
decrements, as shown in Figure 3-28.
Figure 3-28.
X2 Encoding
•
X4 Encoding
—The counter increments or decrements on each edge of channels A and B.
Whether the counter increments or decrements depends on which channel leads the other.
Each cycle results in four increments or decrements, as shown in Figure 3-29.
Ch A
Ch B
Co
u
nter V
a
l
u
e
7
7
6
5
5
6
Ch A
Ch B
Co
u
nter V
a
l
u
e 5
6
8
9
7
5
6
8
9
7
Содержание NI 6612
Страница 1: ...PCIe 6612...
Страница 2: ...NI 6612 User Manual NI 6612 User Manual November 2013 374008B 01...
Страница 11: ...NI 6612 User Manual National Instruments xi Appendix B Technical Support and Professional Services...
Страница 94: ...National Instruments 7 1 7 Calibration For the NI 6612 calibration is not required...