Counter Input >> Position >> Z Index Phase

NI-DAQmx C Properties

Counter Input >> Position >> Z Index Phase

Data Type: int32
Description: 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 DAQmx_Val_AHighBHigh.

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.

Valid values

DAQmx_Val_AHighBHigh 10040 Reset the measurement when signal A and signal B are high.
DAQmx_Val_AHighBLow 10041 Reset the measurement when signal A is high and signal B is low.
DAQmx_Val_ALowBHigh 10042 Reset the measurement when signal A is low and signal B high.
DAQmx_Val_ALowBLow 10043 Reset the measurement when signal A and signal B are low.


You can get/set/reset this property using:
  DAQmxGetCIEncoderZIndexPhase
  DAQmxSetCIEncoderZIndexPhase
  DAQmxResetCIEncoderZIndexPhase