NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

CIChannel.EncoderZIndexPhase Property

  • Updated2023-02-21
  • 1 minute(s) read
CIChannel.EncoderZIndexPhase Property
Specifies the states at which signal A and signal B must be while signal Z is high for NI-DAQmx to reset the measurement. If signal Z is never high while signal A and signal B are high, for example, you must choose a phase other than AHighBHigh.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public CIEncoderZIndexPhase EncoderZIndexPhase { get; set; }
Public Property EncoderZIndexPhase As CIEncoderZIndexPhase
	Get
	Set

Property Value

Type: CIEncoderZIndexPhase
Specifies the states at which signal A and signal B must be while signal Z is high for NI-DAQmx to reset the measurement. If signal Z is never high while signal A and signal B are high, for example, you must choose a phase other than AHighBHigh.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

When signal Z transitions to high and how long it stays high varies from encoder to encoder. Refer to the documentation for the encoder to determine the timing of signal Z with respect to signal A and signal B.

See Also

Log in to get a better experience