CIVelocityEncoderType Enumeration
- Updated2026-02-03
- 1 minute(s) read
Specifies how to count and interpret the pulses the encoder generates on signal A and signal B. X1, X2, and X4 are valid for quadrature encoders only. Two Pulse Counting is valid for two-pulse encoders only.
Syntax
Namespace: NationalInstruments.DAQmx
public enum CIVelocityEncoderType
Remarks
Specifies how to count and interpret the pulses the encoder generates on signal A and signal B. X1, X2, and X4 are valid for quadrature encoders only. Two Pulse Counting is valid for two-pulse encoders only. Use this enumeration to get or set the value of VelocityDecodingType.
Members
| Name | Value | Description |
|---|---|---|
| X1 | 10090 | If signal A leads signal B, count the rising edges of signal A. If signal B leads signal A, count the falling edges of signal A. |
| X2 | 10091 | Count the rising and falling edges of signal A. |
| X4 | 10092 | Count the rising and falling edges of signal A and signal B. |
| TwoPulseCounting | 10313 | Increment the count on rising edges of signal A. Decrement the count on rising edges of signal B. |