NI-DAQ™mx C Reference

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.

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

Log in to get a better experience