Hello,
The "AI_Configure" function has the following prototype: status = AI_Configure (deviceNumber, chan, inputMode, inputRange, polarity, driveAIS)
The parameter InputMode indicates whether the analog input channels are configured for single-ended (RSE or NRSE) or differential operation.
0: Differential (DIFF) configuration (default).
1: Referenced Single-Ended (RSE) configuration. This is used when the input signal does not have its own ground reference. The negative (-) input of the instrumentation amplifier is tied to the instrumentation amplifier signal ground to provide one.
2: Nonreferenced Single-Ended (NRSE) configuration. This is used when the input signal has its own ground reference. The ground reference for the input signal is connected to AISENSE, which is tied to the negative (-) input of the instrumentation amplifier.
For the NI-6071E, the AI signals are AI <0..63>, AI SENSE, AI SENSE 2, and AI GND. In single-ended mode (RSE or NRSE), signals connected to AI <0..63> are routed to the positive input of the PGIA. In differential mode, signals connected to AI <0..7, 16..23, 32..39, 48..55> are routed to the positive input of the PGIA, and signals connected to AI <8..15, 24..31, 40..47, 56..63> are routed to the negative input of the PGIA.
A good starting point is to use the shipped examples for CVI provided with the driver NI-DAQ. You can find AI examples at the following path:
C:\Program Files\National Instruments\CVIxx\samples\daq\Ai
Hope this helps.
Best Regards.
Matthieu Gourssies
National Instruments