ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

VeriStand .NET API Reference

DAQCounterDecoding Enumeration

Specifies the method used to count and interpret the pulses the encoder generates on signal A and signal B. Decoding1X, Decoding2X, and Decoding4X are valid for quadrature encoders only.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Member nameDescription
Decoding1X If signal A leads signal B, counts the rising edges of signal A. If signal B leads signal A, counts the falling edges of signal A.
Decoding2X Counts the rising and falling edges of signal A.
Decoding4X Counts the rising and falling edges of signal A and signal B.
DecodingPulseCounting Increments the count on rising edges of signal A. Decrements the count on rising edges of signal B.

See Also