Get/Set/Reset AI_Gain

NI-DAQmx C Properties

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 >> Gain Value property.

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

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