CIVelocityEncoderType Enumeration

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

See Also


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.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Enumeration CIVelocityEncoderType

C#
public enum CIVelocityEncoderType

Members

Member nameDescription
TwoPulseCountingIncrement the count on rising edges of signal A. Decrement the count on rising edges of signal B.
X1If 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.
X2Count the rising and falling edges of signal A.
X4Count the rising and falling edges of signal A and signal B.

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.

See Also

Reference

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful