NI-DAQ™mx C Reference

Get/Set/Reset CI_LinEncoder_Units

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

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

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


Purpose

DAQmxGetCILinEncoderUnits gets the Counter Input >> Position >> Linear Encoder >> Units property.

DAQmxSetCILinEncoderUnits sets the Counter Input >> Position >> Linear Encoder >> Units property.

DAQmxResetCILinEncoderUnits resets the Counter Input >> Position >> Linear Encoder >> Units property.

Log in to get a better experience