Enumerates the different encoder quadrature modes.

Namespace:  Quanser.Hardware
Assembly:  Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)

Syntax

Visual Basic (Declaration)
Public Enumeration Quadrature
C#
public enum Quadrature
Visual C++
public enum class Quadrature
JavaScript
Quanser.Hardware.Quadrature = function();
Quanser.Hardware.Quadrature.createEnum('Quanser.Hardware.Quadrature', false);

Members

Member nameDescription
None
No quadrature. Inputs are count and direction.
X1
1X quadrature. Inputs are A and B channels.
X2
2X quadrature. Inputs are A and B channels.
X4
4X quadrature. Inputs are A and B channels.

Remarks

On many data acquisition cards, such as the Quanser Q8, the encoder input channels may be configured in a variey of quadrature modes. The SetEncoderQuadrature(array<Int32>[]()[], array<Hil..::.Quadrature>[]()[]) method is used to configure the quadrature of the encoder inputs.

The None mode configures an encoder input to interpret its signals as count and direction rather than as quadrature A and B channels.

The X1 mode configures an encoder input to interpret its signals as A and B channels but without taking advantage of the multiple edges to improve the encoder line resolution.

The X1 mode configures an encoder input to interpret its signals as A and B channels but only takes advantage of some of the edges to yield double the encoder line resolution.

The X4 mode configures an encoder input to interpret its signals as A and B channels and takes full advantage of the multiple edges to yield four times the encoder line resolution.

See Also