Connect Analog Voltage Signals to a Data Acquisition (DAQ) DeviceIncluded in the SectionThis document provides step-by-step instructions for wiring and configuring your NI data acquisition device for analog voltage measurements. Before you begin using your NI data acquisition hardware, you must install your application development environment (ADE) and NI-DAQmx driver software. Refer to the Installing NI LabVIEW and NI-DAQmx document for more information. To measure analog signals, you need to know the signal source—grounded or floating. You also must consider the measurement system—differential, referenced single-ended, or nonreferenced single-ended.
The following table provides an application-independent summary of analog input connections.
Table 1. Analog Input Configurations A floating signal source is not connected to the building ground system, but has an isolated ground-reference point. When to Use Differential Connections with Floating Signal SourcesUse differential input connections for any channel that meets any of the following conditions:
Figure 1. Differential Connections for Floating Sources Differential signal connections reduce noise pickup and increase common-mode noise rejection. Differential signal connections also allow input signals to float within the common-mode limits of the instrumentation amplifier on the DAQ device. When to Use Non-Referenced Single-Ended (NRSE) Connections with Floating Signal SourcesOnly use NRSE input connections if the input signal meets the following conditions:
Figure 2. NRSE Connections for Floating Signal Sources Differential input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions. However, differential input connections may reduce the overall number of signals you can attach to your DAQ device. With this type of single-ended connection, the instrumentation amplifier rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. When to Use Referenced Single-Ended (RSE) Connections with Floating Signal SourcesOnly use RSE input connections if the input signal meets the following conditions:
Figure 3. RSE Connections for Floating Signal Sources Differential input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions. However, differential input connections may reduce the overall number of signals you can attach to your DAQ device. With this type of single-ended connection, the instrumentation amplifier rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. A ground-referenced signal source is a signal source connected to the building system ground. The difference in ground potential between two instruments connected to the same building power system is typically between 1 and 100 mV, but the difference can be much higher if power distribution circuits are improperly connected. If a grounded signal source is incorrectly measured, this difference can appear as measurement error. Follow the connection instructions for grounded signal sources to eliminate this ground potential difference from the measured signal. When to Use Differential Connections with Ground-Referenced Signal SourcesUse differential input connections for any channel that meets any of the following conditions:
Figure 4. Differential Connections for Ground-Referenced Signal Sources Differential signal connections reduce noise pickup and increase common-mode noise rejection. Differential signal connections also allow input signals to float within the common-mode limits of the instrumentation amplifier on the DAQ device. When to Use Non-Referenced Single-Ended (NRSE) Connections with Ground-Referenced Signal SourcesOnly use NRSE input connections if the input signal meets the following conditions:
Figure 5. Single-Ended Connections for Ground-Referenced Signal Sources (NRSE Configuration) Differential input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions. However, differential input connections may reduce the overall number of signals you can attach to your DAQ device. With this type of single-ended connection, the instrumentation amplifier rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. When to Use Referenced Single-Ended (RSE) Connections with Ground-Referenced Signal SourcesDo not use RSE connections with ground-referenced signal sources. Use NRSE or differential connections instead. As shown in the bottom-rightmost cell of Table 1, there can be a potential difference between AI GND and the ground of the sensor. In RSE mode, this ground loop causes measurement errors. Environmental noise can seriously affect the measurement accuracy of the device if you do not take proper care when running signal wires between signal sources and the device. In the single-ended modes, more electrostatic and magnetic noise couples into the signal connections than in differential configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the two signal conductors. Electrical coupling is a function of how much the electric field differs between the two conductors. With this type of connection, the instrumentation amplifier rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. The following recommendations apply mainly to analog input signal routing to the device, although they also apply to signal routing in general. Minimize noise pickup and maximize measurement accuracy by taking the following precautions:
Refer to the NI Developer Zone document, Field Wiring and Noise Considerations for Analog Signals, for more information. Before connecting any signals, locate your device pinout.
Figure 6. Device Terminals Help The following terminal types correspond with analog voltage measurements:
You can use NI Measurement & Automation Explorer (MAX) to quickly verify the accuracy of your measurement system setup. Using an NI-DAQmx Global Virtual Channel you can configure a voltage measurement without any programming. A virtual channel is a concept of the NI-DAQmx driver architecture used to represent a collection of device property settings that can include a name, a physical channel, input terminal connections, the type of measurement or generation, and scaling information. Follow these steps to begin:
Figure 7. Creating an NI-DAQmx Virtual Channel
Figure 8. Device Physical Channels
Figure 9. Setting up a Voltage Channel in MAX
The next step is to physically connect the voltage signal to your DAQ device.
Figure 10. Analog Voltage Connection Diagram The connection diagram above indicates which pins on your DAQ device should be wired according to the physical channel you selected. In this example, a differential input connection uses pins 68 and 34, corresponding to ai0 (AI+) and ai8 (AI-). The diagram shows an SCC-68 terminal block accessory. This can be changed by right-clicking on the device name under Devices and Interfaces and selecting Properties. NI-DAQmx global virtual channels allow you to preview your measurements.
Figure 11. Previewing a Voltage Measurement in MAX You can choose to view the signal in tabular form or as a graph by selecting Graph from the Display Type dropdown. You also have the option of saving your NI-DAQmx Global Virtual Channel should you wish to refer to this configuration screen again in the future. |


















