NI-DAQ™mx C Reference

Get/Set/Reset AI_Gain

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

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

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


Purpose

DAQmxGetAIGain gets the Analog Input >> General Properties >> Advanced >> Gain property.

DAQmxSetAIGain sets the Analog Input >> General Properties >> Advanced >> Gain property.

DAQmxResetAIGain resets the Analog Input >> General Properties >> Advanced >> Gain property.