User's Manual
Chapter 2 Function Reference — AI_Configure
NI-DAQ FRM for PC Compatibles 2-8
©
 National Instruments Corporation
Note If a device is software configurable, the inputMode, inputRange, and polarity 
parameters are used to program the device for the configuration you want. If a 
device is not software configurable, this function uses these parameters to inform 
NI-DAQ of the device configuration, which you must set using hardware jumpers. 
If your device is software configurable and you have changed the analog input 
settings through the NI-DAQ Configuration Utility, you do not have to use 
AI_Configure, although it is good practice to do so in case you inadvertently 
change the configuration file maintained by the NI-DAQ Configuration Utility.
driveAIS, for the AT-MIO-64F-5 and AT-MIO-16X, indicates whether to drive AISENSE to 
onboard ground or not. This parameter is ignored for all other devices.
0: Do not drive AISENSE to ground.
1: Drive AISENSE to ground.
Notice that if you have configured any of the input channels in nonreferenced single-ended 
(NRSE) mode, this function returns a warning, inputModeConflict (18), if you set driveAIS 
to 1. When NI-DAQ reads a channel in NRSE mode, the device uses AISENSE as an input to 
the negative input of the amplifier, regardless of the driveAIS setting. When NI-DAQ reads 
a channel in differential or referenced single-ended (RSE) mode, the device drives AISENSE 
to onboard ground if driveAIS is 1.
LPM Devices 
(RSE 
inputMode 
only)
ignored 5 unipolar 0 to +5 V No 
(PC-LPM-16)
Yes 
(PC-LPM-16PnP)
5 bipolar –2.5 to +2.5 
V
10 unipolar 0 to +10 V
10 bipolar –5 to +5 V
516 Devices, 
DAQCard-500
1 10 bipolar –5 to 5 V N/A
DAQCard-700 0, 1 5 bipolar –2.5 to +2.5 
V
Yes
10 bipolar –5 to +5 V
20 bipolar –10 to +10 V
Table 2-1. 
Parameter Settings for 
AI_Configure
 (Continued)
Device
Possible 
Values for 
inputMode
Analog Input Range
Software 
Configurable
inputRange polarity
Resulting 
Analog 
Input 
Range










