Chapter 2 Function Reference — AI_Setup
NI-DAQ FRM for PC Compatibles 2-16
©
National Instruments Corporation
Using This Function
AI_Setup addresses the specified analog input channel and changes the input gain to the
specified gain setting. AI_Setup, in conjunction with AI_Check and AI_Clear, is used for
externally timed A/D conversions. If your application calls AI_Read with channel and gain
parameters different from those used in the last AI_Setup call, you must call AI_Setup
again for AI_Check to return data from the channel you want at the selected gain.
Note This function cannot be used if you have an SC-2040 connected to your DAQ
device.