NI-DAQ™mx C Reference

Get/Set/Reset CI_LinEncoder_DistPerPulse

int32 __CFUNC DAQmxGetCILinEncoderDistPerPulse(TaskHandle taskHandle, const char channel[], float64 *data);

int32 __CFUNC DAQmxSetCILinEncoderDistPerPulse(TaskHandle taskHandle, const char channel[], float64 data);

int32 __CFUNC DAQmxResetCILinEncoderDistPerPulse(TaskHandle taskHandle, const char channel[]);


Purpose

DAQmxGetCILinEncoderDistPerPulse gets the Counter Input >> Position >> Linear Encoder >> Distance Per Pulse property.

DAQmxSetCILinEncoderDistPerPulse sets the Counter Input >> Position >> Linear Encoder >> Distance Per Pulse property.

DAQmxResetCILinEncoderDistPerPulse resets the Counter Input >> Position >> Linear Encoder >> Distance Per Pulse property.

Log in to get a better experience