High-precision temperature and voltage meters (77 pages)
Summary of Contents for National Instruments USB-6210
Page 1
DAQ M Series NI USB-621x User Manual Bus-Powered M Series USB Devices NI USB-621x User Manual Français Deutsch ni.com/manuals April 2009 371931F-01...
Page 3
Instruments Corporation. National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Page 5
Contents Chapter 3 Connector and LED Information I/O Connector Signal Descriptions................3-1 +5 V Power........................3-3 +5 V Power as an Output ................3-3 +5 V Power as an Input................... 3-3 USB Chassis Ground..................... 3-4 USB Device Fuse Replacement..................3-4 PWR/ACT LED Indicator .....................
Page 6
Contents Getting Started with AI Applications in Software............4-22 Connecting Analog Input Signals on USB-6210/6211/6212 Devices......4-23 Connecting Floating Signal Sources ...............4-25 What Are Floating Signal Sources? ..........4-25 When to Use Differential Connections with Floating Signal Sources..............4-25 When to Use Referenced Single-Ended Connections with Floating Signal Sources..............4-25...
Page 7
Digital I/O on USB-6210/6211/6215/6218 Devices ............. 6-1 Static DIO on USB-6210/6211/6215/6218 Devices ........6-2 I/O Protection on USB-6210/6211/6215/6218 Devices........6-2 Increasing Current Drive on USB-6210/6211/6215/6218 Devices ....6-3 Connecting Digital I/O Signals on USB-6210/6211/6215/6218 Devices..6-3 Getting Started with DIO Applications in Software on USB-6210/6211/6215/6218 Devices ............
Page 9
Contents Counter n Gate Signal ..................8-29 Routing a Signal to Counter n Gate..........8-29 Routing Counter n Gate to an Output Terminal ....... 8-29 Counter n Aux Signal..................8-29 Routing a Signal to Counter n Aux ..........8-29 Counter n A, Counter n B, and Counter n Z Signals ........8-30 Routing Signals to A, B, and Z Counter Inputs........
The NI USB-621x User Manual contains information about using the National Instruments USB-621x data acquisition (DAQ) devices with NI-DAQmx 8.9 and later. NI USB-6210, USB-6211, USB-6212, USB-6215, USB-6216, and USB-6218 devices feature up to 32 analog input (AI) channels, up to two analog output (AO) channels, two counters, and up to eight lines of digital input (DI) and up to eight lines of digital output (DO), or 32 bidirectional static DIO lines.
NI-DAQmx for Windows software, your NI-DAQmx-supported DAQ device, and how to confirm that your device is operating properly. Select Start»All Programs»National Instruments» NI-DAQ»NI-DAQmx for USB Devices Getting Started. The NI-DAQ Readme lists which devices are supported by this version of NI-DAQ.
Page 14
The NI-DAQmx Base Readme lists which devices are supported by this version of NI-DAQmx Base. In Windows, select Start»All Programs» National Instruments»NI-DAQmx Base»DAQmx Base Readme. The NI-DAQmx Base VI Reference Help contains VI reference and general information about measurement concepts. In LabVIEW, select Help»...
Page 15
About This Manual Use the LabVIEW Help, available by selecting Help»Search the LabVIEW Help in LabVIEW, to access information about LabVIEW programming concepts, step-by-step instructions for using LabVIEW, and reference information about LabVIEW VIs, functions, palettes, menus, and tools. Refer to the following locations on the Contents tab of the LabVIEW Help for information about NI-DAQmx: •...
Page 16
Select Start»All Programs»National Instruments»NI-DAQmx Help. The NI-DAQmx C Reference Help describes the NI-DAQmx Library functions, which you can use with National Instruments data acquisition devices to develop instrumentation, acquisition, and control applications. Select Start»All Programs»National Instruments»NI-DAQ» NI-DAQmx C Reference Help.
Page 17
Device Documentation and Specifications The NI USB-621x Specifications contains all specifications for the USB-6210, USB-6211, USB-6212, USB-6215, USB-6216, and USB-6218 M Series devices. Documentation for supported devices and accessories, including PDF and help files describing device terminals, specifications, features, and operation are on the NI-DAQmx media that includes Device Documentation.
Chapter 1 Getting Started Device Self-Calibration NI recommends that you self-calibrate your USB-621x device after installation and whenever the ambient temperature changes. Self-calibration should be performed after the device has warmed up for the recommended time period. Refer to the NI USB-621x Specifications to find your device warm-up time.
Chapter 1 Getting Started USB Cable Strain Relief You can provide strain relief for the USB cable in the following ways: • Cable Strain Relief Groove Method— (USB-621x Screw Terminal/Mass Termination Devices) Press the USB cable into one of the two grooves on the underside of the USB-621x.
Chapter 1 Getting Started Mounting the USB-621x You can use the USB-621x on a desktop or mount it to a standard DIN rail or a panel. Desktop Use You can use the USB-621x on a desktop. USB-621x Screw Terminal/Mass Termination devices have grooves on the underside that allow it to be stacked with other like-sized USB-621x devices, as shown in Figure 1-2.
Chapter 1 Getting Started Remove the USB cable from the connector on the USB-621x. Screw a #8 or M4 screw into the bottom point on the panel. Set the USB-621x on the screw by fitting it into the bottom screw notch on the underside of the USB-621x.
Chapter 2 DAQ System Overview Figure 2-2 features components common to all USB-621x devices. Isolation Barrier Analog Input (USB-6215/ 6216/6218 devices only) Analog Output Digital Routing Digital Digital I/O and Clock Isolators Interface Generation Counters Figure 2-2. USB-621x Block Diagram DAQ-STC2 The DAQ-STC2 implements a high-performance digital engine for M Series data acquisition hardware.
Chapter 2 DAQ System Overview • If you are using other application software, refer to Common Sensors in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later. Cables and Accessories Cable and accessory options for USB-621x devices are as follows: •...
Chapter 2 DAQ System Overview Programming Devices in Software National Instruments measurement devices are packaged with NI-DAQ driver software, an extensive library of functions and VIs you can call from your application software, such as LabVIEW or LabWindows/CVI, to program all the features of your NI measurement devices. Driver software...
Page 32
D GND Input or +5 V Power—These terminals provide a +5 V power source or Output can be used to externally power the digital outputs. (USB-6210/6211/6215/6218 Devices) Programmable PFI <0..3>, D GND Input PFI <8..11>/P0.<0..7> Function Interface or Static Digital Input Channels 0 to 7—Each PFI terminal can be used to supply an...
Chapter 3 Connector and LED Information Table 3-1. I/O Connector Signals (Continued) Signal Name Reference Direction Description (USB-621x BNC Devices) User-Defined Channel—The USER USER — — BNC connector allows you to use a BNC connector for a digital or timing I/O signal of your choice. The USER BNC connector is internally routed to the USER screw terminal.
Page 35
Chapter 3 Connector and LED Information Replace the broken fuse in the socket. Figure 3-2 shows the fuse location. 0.75A,125V Fuse, Socketed Figure 3-2. USB-621x Mass Termination Fuse Location Replace the device top and reattach with the screws. Unscrewing and reinstalling the thread-forming screws over time will produce a Note compromised connection between the device top and bottom.
Chapter 4 Analog Input • NI-PGIA—The NI programmable gain instrumentation amplifier (NI-PGIA) is a measurement and instrument class amplifier that minimizes settling times for all input ranges. The NI-PGIA can amplify or attenuate an AI signal to ensure that you use the maximum resolution of the ADC.
AI signals to the USB-621x device. For more information, refer to one of the following sections depending on your device: • Connecting Analog Input Signals on USB-6210/6211/6212 Devices • Connecting Analog Input Signals on USB-6215/6216/6218 Devices Ground-reference settings are programmed on a per-channel basis.
Page 40
Chapter 4 Analog Input with this amplified voltage. The amount of amplification (the gain) is determined by the analog input range, as shown in Figure 4-2. Instrumentation Amplifier PGIA Measured in– Voltage – ] × Gain = [V – V in–...
Page 42
The capacitance of the cable also can increase the settling time. National Instruments recommends using individually shielded, twisted-pair wires that are 2 m or less to connect AI signals to the device. Refer to the...
Chapter 4 Analog Input • Avoid Scanning Faster Than Necessary—Designing your system to scan at slower speeds gives the NI-PGIA more time to settle to a more accurate level. Consider the following examples: – Example 1—Averaging many AI samples can increase the accuracy of the reading by decreasing noise effects.
Chapter 4 Analog Input Analog Input Digital Triggering Analog input supports three different triggering actions: • Start trigger • Reference trigger • Pause trigger Refer to the AI Start Trigger Signal, AI Reference Trigger Signal, and AI Pause Trigger Signal sections for information about these triggers.
Page 48
Chapter 4 Analog Input Channel 0 Channel 1 Convert Period Sample Period Figure 4-5. Interval Sampling AI Convert Clock controls the Convert Period, which is determined by the following equation: 1/Convert Period = Convert Rate The sampling rate is the fastest you can acquire data on the device and still achieve Note accurate results.
Chapter 4 Analog Input AI Sample Clock Signal Use the AI Sample Clock (ai/SampleClock) signal to initiate a set of measurements. Your USB-621x device samples the AI signals of every channel in the task once for every AI Sample Clock. A measurement acquisition consists of one or more samples.
Chapter 4 Analog Input AI Convert Clock Signal Use the AI Convert Clock (ai/ConvertClock) signal to initiate a single A/D conversion on a single channel. A sample (controlled by the AI Sample Clock) consists of one or more conversions. You can specify either an internal or external signal as the source of AI Convert Clock.
Page 54
Chapter 4 Analog Input AI Sample Clock AI Convert Clock Channel Measured 1 2 3 1 2 3 1 2 3 Sample #1 Sample #2 Sample #3 Figure 4-10. AI Sample Clock Too Fast For AI Convert Clock; AI Sample Clock Pulses Are Gated Off AI Sample Clock AI Convert Clock 1 2 3...
Using a Digital Source To use AI Start Trigger with a digital source, specify a source and an edge. The source can be any of the following signals: • PFI <0..3> (USB-6210/6211/6215 Devices) • (USB-6212/6216 Devices) PFI <0..15> • PFI <0..3>, PFI <8..11>...
Chapter 4 Analog Input Using a Digital Source To use AI Reference Trigger with a digital source, specify a source and an edge. The source can be any input PFI signal. The source also can be one of several internal signals on your DAQ device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information.
Page 60
Chapter 4 Analog Input Table 4-2. USB-6210/6211/6212 Analog Input Configuration Floating Signal Sources (Not Connected to Ground-Referenced † Building Ground) Signal Sources Examples: Example: • Ungrounded thermocouples • Plug-in instruments with non-isolated outputs • Signal conditioning with isolated outputs AI Ground-Reference Setting •...
Chapter 4 Analog Input Differential input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions. 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.
Page 64
You can fully balance the signal path by connecting another resistor of the same value between the positive input and AI GND on the USB-6210/6211/6212 device, as shown in Figure 4-18. This fully balanced configuration offers slightly better noise rejection, but has the disadvantage of loading the source down with the series combination (sum) of the two resistors.
Page 65
Input Multiplexers AI SENSE AI GND I/O Connector USB-6210/6211/6212 Device Configured in Differential Mode Figure 4-18. Differential Connections for Floating Signal Sources with Balanced Bias Resistors Both inputs of the NI-PGIA require a DC path to ground in order for the NI-PGIA to work.
Chapter 4 Analog Input AC Coupling AC-Coupled Floating Signal – Source AI– AI SENSE AI GND Figure 4-19. Differential Connections for AC Coupled Floating Sources with Balanced Bias Resistors Using Non-Referenced Single-Ended Connections for Floating Signal Sources It is important to connect the negative lead of a floating signals source to AI GND (either directly or through a resistor).
DAQ Assistant. Using Referenced Single-Ended Connections for Floating Signal Sources Figure 4-21 shows how to connect a floating signal source to the USB-6210/6211/6212 device configured for referenced single-ended mode. AI <0..n> Programmable Gain Instrumentation...
Chapter 4 Analog Input 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.
Chapter 4 Analog Input Using Differential Connections for Ground-Referenced Signal Sources Figure 4-22 shows how to connect a ground-referenced signal source to the USB-6210/6211/6212 device configured in differential mode. AI + Ground- Referenced Instrumentation Signal Amplifier – Source PGIA AI –...
Chapter 4 Analog Input Using Non-Referenced Single-Ended Connections for Ground-Referenced Signal Sources Figure 4-23 shows how to connect ground-reference signal sources to the USB-6210/6211/6212 device in non-referenced single-ended mode. I/O Connector AI <0..15> or AI <16..n> Instrumentation Ground- Amplifier Referenced Signal –...
Chapter 4 Analog Input Using the DAQ Assistant, you can configure the channels for referenced single-ended or non-referenced single-ended input modes. Refer to the Configuring AI Ground-Reference Settings in Software section for more information about the DAQ Assistant. Connecting Analog Input Signals on USB-6215/6216/6218 Devices You can connect the USB-6215/6216/6218 directly to a variety of devices and other signal sources.
Chapter 4 Analog Input AI 1 PGIA AI 2 AI GND USB-6215/6216/6218 Figure 4-25. Connecting to the USB-6215/6216/6218 in Referenced Single-Ended Mode In an referenced single-ended connection configuration, each input channel is measured with respect to AI GND. Taking Non-Referenced Single-Ended Measurements To reach a compromise between referenced single-ended and differential measurements, you can use an non-referenced single-ended measurement configuration.
Chapter 5 Analog Output • AO Sample Clock—The AO Sample Clock signal reads a sample from the DAC FIFO and generates the AO voltage. Refer to the AO Sample Clock Signal section for more information. • Isolation Barrier and Digital Isolators—Refer to Chapter 9, Isolation and Digital Isolators on USB-6215/6216/6218 Devices, for more information.
Chapter 5 Analog Output Analog Output Digital Triggering Analog output supports two different triggering actions: • Start trigger • Pause trigger A digital trigger can initiate these actions on USB-621x devices. Refer to AO Start Trigger Signal AO Pause Trigger Signal sections for more information about these triggering actions.
Chapter 5 Analog Output • PFI <0..3>, PFI <8..11> (USB-6218 Devices) • AI Start Trigger (ai/StartTrigger) The source also can be one of several internal signals on your USB-621x device. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information.
Chapter 5 Analog Output AO Sample Clock Signal Use the AO Sample Clock (ao/SampleClock) signal to initiate AO samples. Each sample updates the outputs of all of the DACs. You can specify an internal or external source for AO Sample Clock. You also can specify whether the DAC update begins on the rising edge or falling edge of AO Sample Clock.
Chapter 5 Analog Output Getting Started with AO Applications in Software You can use a USB-621x device in the following analog output applications: • Single-point (on-demand) generation • Finite generation • Continuous generation • Waveform generation You can perform these generations through programmed I/O or USB Signal Stream data transfer mechanisms.
Refer to one of the following sections, depending on your device: • Digital I/O on USB-6210/6211/6215/6218 Devices— USB-6210/6211/6215/6218 devices have up to eight lines of digital inputs (DI) and up to eight lines of digital output (DO). • Digital I/O on USB-6212/6216 Devices—USB-6212/6216 devices...
I/O Protection 47 kΩ Pull-Down Figure 6-1. USB-6210/6211/6215/6218 Digital I/O Circuitry The DI terminals are named P0.<0..7> on the USB-6210/6211/6215/6218 device I/O connector. The DO terminals are named P1.<0..7> on the USB-6210/6211/6215/6218 device I/O connector. The voltage input and output levels and the current drive levels of the DIO lines are listed in the NI USB-621x Specifications.
Chapter 3, Connector and LED Information. Connecting Digital I/O Signals on USB-6210/6211/6215/6218 Devices The DI and DO signals, P0.<0..7> and P1.<0..7> are referenced to D GND. Digital input applications include receiving TTL signals and sensing external device states, such as the state of the switch shown in the figure.
Chapter 6 Digital I/O Getting Started with DIO Applications in Software on USB-6210/6211/6215/6218 Devices You can use the USB-6210/6211/6215/6218 device in the following digital I/O applications: • Static digital input • Static digital output For more information about programming digital I/O applications and triggers in Note software, refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
Chapter 6 Digital I/O Programmable Power-Up States on USB-6212/6216 Devices At system startup and reset, the hardware sets all PFI and DIO lines to high-impedance inputs by default. The DAQ device does not drive the signal high or low. Each line has a weak pull-down resistor connected to it, as described in the NI USB-621x Specifications.
Chapter 7 Figure 7-2 shows the circuitry of an output PFI line. Isolation Barrier (USB-6215/ 6216/6218 devices only) Digital Timing Signals Isolators PFI/DIO Pin I/O Protection Static DO Buffer 47 kΩ Pull-Down Direction Control Figure 7-2. USB-621x PFI Output Circuitry When a terminal is used as a timing input or output signal, it is called PFI x.
Chapter 7 Connecting PFI Input Signals All PFI input connections are referenced to D GND. Figure 7-3 shows this reference, and how to connect an external PFI 0 source and an external PFI 2 source to two PFI terminals. PFI 0 PFI 2 PFI 0 PFI 2...
Chapter 7 I/O Protection Each DI, DO, and PFI signal is protected against overvoltage, undervoltage, and overcurrent conditions as well as ESD events. However, you should avoid these fault conditions by following these guidelines: • Do not connect a DO or PFI output lines to any external signal source, ground signal, or power supply.
Chapter 8 Counters The counters have seven input signals, although in most applications only a few inputs are used. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Counter Input Applications Counting Edges In edge counting applications, the counter counts edges on its Source after the counter is armed.
Chapter 8 Counters Controlling the Direction of Counting In edge counting applications, the counter can count up or down. You can configure the counter to do the following: • Always count up • Always count down • Count up when the Counter n B input is high; count down when it is low For information about connecting counter signals, refer to the Default...
Chapter 8 Counters condition is not met, consider using duplicate count prevention, described in the Duplicate Count Prevention section. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section. Period Measurement In period measurements, the counter measures a period on its Gate input signal after the counter is armed.
Chapter 8 Counters Note that if you are using an external signal as the Source, at least one Source pulse should occur between each active edge of the Gate signal. This condition ensures that correct values are returned by the counter. If this condition is not met, the counter returns a zero.
Chapter 8 Counters Frequency Measurement You can use the counters to measure frequency in several different ways. You can choose one of the following methods depending on your application: • Method 1: Measure Low Frequency with One Counter—In this method, you measure one period of your signal using a known timebase.
Page 109
Chapter 8 Counters • Method 2: Measure High Frequency with Two Counters—In this method, you measure one pulse of a known width using your signal and derive the frequency of your signal from the result. This method is good for high frequency signals. In this method, you route a pulse of known duration (T) to the Gate of a counter.
Chapter 8 Counters From Counter 0, the length of the pulse is N/F1. From Counter 1, the length of the same pulse is J/F2. Therefore, the frequency of F1 is given by F1 = F2 * (N/J). Choosing a Method for Measuring Frequency The best method to measure frequency depends on several factors including the expected frequency of the signal to measure, the desired accuracy, how many counters are available, and the measurement duration.
Chapter 8 Counters Measurements Using Quadrature Encoders The counters can perform measurements of quadrature encoders that use X1, X2, or X4 encoding. A quadrature encoder can have up to three channels—channels A, B, and Z. • X1 Encoding—When channel A leads channel B in a quadrature cycle, the counter increments.
Chapter 8 Counters Ch A Ch B Ch Z Max Timebase Counter Value A = 0 B = 0 Z = 1 Figure 8-17. Channel Z Reload with X4 Decoding Measurements Using Two Pulse Encoders The counter supports two pulse encoders that have two channels—channels A and B.
Chapter 8 Counters Single Two-Signal Edge-Separation Measurement With single two-signal edge-separation measurement, the counter counts the number of rising (or falling) edges on the Source input occurring between an active edge of the Gate signal and an active edge of the Aux signal.
Chapter 8 Counters Figure 8-22 shows a generation of a pulse with a pulse delay of four and a pulse width of three (using the rising edge of Source). Counter Armed SOURCE Figure 8-22. Single Pulse Generation Single Pulse Generation with Start Trigger The counter can output a single pulse in response to one pulse on a hardware Start Trigger signal.
Chapter 8 Counters You also can use the Gate input of the counter as a Pause Trigger (if it is not used as a Start Trigger). The counter pauses pulse generation when the Pause Trigger is active. Figure 8-25 shows a continuous pulse train generation (using the rising edge of Source).
Chapter 8 Counters Frequency Output can be routed out to any output PFI terminal. All PFI terminals are set to high-impedance at startup. The FREQ OUT signal also can be routed to DO Sample Clock and DI Sample Clock. In software, program the frequency generator as you would program one of the counters for pulse train generation.
Chapter 8 Counters Default Counter/Timer Pinouts By default, NI-DAQmx routes the counter/timer inputs and outputs to the USB-6210/6211/6215 device PFI pins as shown in Table 8-4. Table 8-4. Default NI-DAQmx Counter/Timer Pins for USB-6210/6211/6215 Devices Counter/Timer Signal Default Terminal Number (Name)
Chapter 8 Counters Other Counter Features Sample Clock When taking counter measurements, you can enable a sample clock. When you use a sample clock, measurements are saved after an active edge of the sample clock. Figure 8-30 shows an example of using a sample clock with a buffered period measurement.
Chapter 8 Counters Filtered input goes high PFI Terminal when terminal is sampled high on five consecutive Filter Clock filter clocks. (40 MHz) Filtered Input Figure 8-31. Filter Example Enabling filters introduces jitter on the input signal. For the 125 ns and 6.425 μs filter settings, the jitter is up to 25 ns.
Chapter 8 Counters the first rising Source edge after the rising edge of Gate. The details of when exactly the counter synchronizes the Gate signal vary depending on the synchronization mode. Example Application That Works Incorrectly (Duplicate Counting) In Figure 8-34, after the first rising edge of Gate, no Source pulses occur, so the counter does not write the correct data to the buffer.
Analog Input • Connecting Analog Output Signals section of Chapter 5, Analog Output • Connecting Digital I/O Signals on USB-6210/6211/6215/6218 Devices Connecting Digital I/O Signals on USB-6212/6216 Devices section of Chapter 6, Digital I/O • Connecting PFI Input Signals section of Chapter 7, Digital Isolation USB-6215/6216/6218 devices use digital isolators.
Chapter 9 Isolation and Digital Isolators on USB-6215/6216/6218 Devices of error and noise, are the result of a measurement system having multiple grounds at different potentials. • Improved Safety—The isolation barrier allows you to make floating measurements while protecting the USB host computer against large transient voltage spikes.
Chapter 11 Bus Interface Changing Data Transfer Methods USB-621x devices have four dedicated USB Signal Stream channels. To change your data transfer mechanism between USB Signal Streams and programmed I/O, use the Data Transfer Mechanism property node function in NI-DAQmx. NI USB-621x User Manual 11-2 ni.com...
Page 145
Chapter 12 Triggering You also can program your USB-621x device to perform an action in response to a trigger from a digital source. The action can affect the following: • Analog input acquisition • Analog output generation • Counter behavior NI USB-621x User Manual 12-2 ni.com...
Appendix A Device-Specific Information USB-6210 USB-6210 Pinout Figure A-1 shows the pinout of the USB-6210. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. PFI 0/P0.0 (In) PFI 1/P0.1 (In)
Appendix A Device-Specific Information USB-6211/6215 USB-6211/6215 Pinout Figure A-2 shows the pinout of the USB-6211 and USB-6215. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. PFI 0/P0.0 (In) PFI 1/P0.1 (In) PFI 2/P0.2 (In) PFI 3/P0.3 (In)
Appendix A Device-Specific Information USB-6212/6216 Screw Terminal USB-6212/6216 Screw Terminal Pinout Figure A-3 shows the pinout of the USB-6212 Screw Terminal and USB-6216 Screw Terminal. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Appendix A Device-Specific Information USB-6212/6216 Mass Termination USB-6212/6216 Mass Termination Pinout Figure A-4 shows the pinout of the USB-6212 Mass Termination and USB-6216 Mass Termination. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Page 155
Appendix A Device-Specific Information Table A-4. Default NI-DAQmx Counter/Timer Pins Counter/Timer Signal Default Terminal Number (Name) CTR 0 SRC 37 (PFI 8) CTR 0 GATE 3 (PFI 9) CTR 0 AUX 45 (PFI 10) CTR 0 OUT 2 (PFI 12) CTR 0 A 37 (PFI 8) CTR 0 Z...
Page 156
BNC-2090A—Desktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals Screw Terminal Accessories National Instruments offers several styles of screw terminal connector blocks. Use an SH68-68-EPM shielded cable to connect a USB-6212/6216 Mass Termination device to a connector block, such as the following: •...
Page 157
Appendix A Device-Specific Information Cables In most applications, you can use the following cables: • SH68-68-EPM—High-performance cable with individual bundles separating analog and digital signals. Each differential analog input channel is routed on an individually shielded twisted pair of wires. Analog outputs are also individually shielded •...
Page 159
Appendix A Device-Specific Information AI x + – AI x – Floating Source 5 kΩ 0.1 µF AI GND USB-621x Device AI x + – AI x – Ground- Referenced Source 0.1 µF 5 kΩ AI GND NI USB-6212/6216 USB-621x Device Figure A-5.
Page 160
(FS) source or a ground-referenced signal (GS) source. Refer to the Connecting Analog Input Signals on USB-6210/6211/6212 Devices Connecting Analog Input Signals on USB-6215/6216/6218 Devices section of Chapter 4, Analog Input, for more information.
Page 161
Appendix A Device-Specific Information AI 0 Figure A-6. FS/GS Switch Figure A-7 shows the analog input circuitry on the USB-6212/6216 BNC. When the switch is set to the FS position, AI x – is grounded through a 0.1 μF capacitor in parallel with a 5 kΩ resistor. AI x + AI x + –...
Page 162
For information on how to connect your signals in single-ended mode, Connecting Analog Input AI GND, and/or AI SENSE, refer to the Signals on USB-6210/6211/6212 Devices Connecting Analog Input Signals on USB-6215/6216/6218 Devices section of Chapter 4, Analog Input.
Page 163
Appendix A Device-Specific Information Refer to the Digital I/O on USB-6212/6216 Devices section of Chapter 6, Digital I/O, and the Connecting PFI Input Signals section of Chapter 7, PFI, for more information. USER The USER BNC connector allows you to use a BNC connector for a digital or timing I/O signal of your choice.
Page 167
Appendix A Device-Specific Information AI x + – AI x – Floating Source 5 kΩ 0.1 µF AI GND USB-621x Device AI x + – AI x – Ground- Referenced Source 0.1 µF 5 kΩ AI GND NI USB-6218 USB-621x Device Figure A-14.
Page 169
Appendix A Device-Specific Information AI 0 Figure A-15. FS/GS Switch Figure A-16 shows the analog input circuitry on the USB-6218 BNC. When the switch is set to the FS position, AI x – is grounded through a 0.1 μF capacitor in parallel with a 5 kΩ resistor. AI x + AI x + –...
Page 171
Appendix A Device-Specific Information Refer to the Connecting Analog Output Signals section of Chapter 5, Analog Output, for more information. USER The USER BNC connector allows you to use a BNC connector for a digital or timing I/O signal of your choice. The USER BNC connector is routed (internal to the USB-6218 BNC) to the USER screw terminal, as shown in Figure A-19.
Troubleshooting This section contains common questions about USB-621x devices. If your questions are not answered here, refer to the National Instruments KnowledgeBase at ni.com/kb Analog Input I am seeing crosstalk or ghost voltages when sampling multiple channels. What does this mean?
Page 173
There are various methods of achieving this reference while maintaining a high common-mode rejection ratio (CMRR). These methods are outlined in the Connecting Analog Input Signals on USB-6210/6211/6212 Devices Connecting Analog Input Signals on USB-6215/6216/6218 Devices sections of Chapter 4, Analog Input.
Page 175
Technical Support and Professional Services Visit the following sections of the award-winning National Instruments Web site at for technical support and professional services: ni.com • Support—Technical support at includes the ni.com/support following resources: – Self-Help Technical Resources—For answers and solutions,...
Page 176
Appendix C Technical Support and Professional Services • Declaration of Conformity (DoC)—A DoC is our claim of compliance with the Council of the European Communities using the manufacturer’s declaration of conformity. This system affords the user protection for electromagnetic compatibility (EMC) and product safety.
Page 178
Glossary Amperes—the unit of electric current. Analog-to-Digital. Most often used as A/D converter. Alternating current. accuracy A measure of the capability of an instrument or sensor to faithfully indicate the value of the measured signal. This term is not related to resolution; however, the accuracy level can never be better than the resolution of the instrument.
Page 180
Glossary channel Pin or wire lead to which you apply or from which you read the analog or digital signal. Analog signals can be single-ended or differential. For digital signals, you group channels to form ports. Ports usually consist of either four or eight digital channels.
Page 182
Glossary differential input An input circuit that actively responds to the difference between two terminals, rather than the difference between one terminal and ground. Often associated with balanced input circuitry, but also may be used with an unbalanced source. digital I/O The capability of an instrument to generate and acquire digital signals.
Page 184
Glossary glitch An unwanted signal excursion of short duration that is usually unavoidable. See ground. ground 1. A pin. 2. An electrically neutral wire that has the same potential as the surrounding earth. Normally, a noncurrent-carrying circuit intended for safety. 3.
Page 186
Glossary Meter. M Series An architecture for instrumentation-class, multichannel data acquisition devices based on the earlier E Series architecture with added new features. measurement The quantitative determination of a physical characteristic. In practice, measurement is the conversion of a physical quantity or observation to a domain where a human being or computer can determine the value.
Page 188
Glossary power source An instrument that provides one or more sources of AC or DC power. Also known as power supply. Parts per million. pretriggering The technique used on a DAQ device to keep a continuous buffer filled with data, so that when the trigger conditions are met, the sample includes the data leading up to the trigger condition.
Page 190
Glossary single-ended output A circuit whose output signal is present between one output terminal and ground. software triggering A method of triggering in which you simulate an analog trigger using software. Also called conditional retrieval. source impedance A parameter of signal sources that reflects current-driving ability of voltage sources (lower is better) and the voltage-driving ability of current sources (higher is better).
Page 192
Glossary Signal source voltage. virtual channel See channel. waveform 1. The plot of the instantaneous amplitude of a signal as a function of time. 2. Multiple voltage readings taken at a specific sampling rate. NI USB-621x User Manual G-16 ni.com...
Page 193
AI Convert Clock, B-2 20 MHz Timebase, 10-1 charge injection, B-1 80 MHz Timebase, 10-1 circuitry, 4-1 connecting signals on USB-6210/6211/6212 devices, 4-23 connecting signals on A/D converter, 4-2 USB-6215/6216/6218 devices, 4-36 AC return path, creating, 9-4 connecting through I/O connector, 4-1...
Page 194
Index AI Reference Trigger, 4-21 AI Sample Clock, 4-14 AI Sample Clock Timebase, 4-15 cables, 2-4 AI Start Trigger, 4-20 connecting signals, A-15, A-23 analog output, 5-1 board mounting, 1-7 circuitry, 5-1 buffered connecting signals, 5-4 edge counting, 8-3 data generation methods, 5-2 hardware-timed acquisitions, 4-9 fundamentals, 5-1 hardware-timed generations, 5-3...
Page 195
Counter n HW Arm signal, 8-30 analog output signals, 5-4 Counter n Internal Output signal, 8-31 digital I/O signals Counter n Source signal, 8-28 on USB-6210/6211/6215/6218, 6-3 Counter n TC signal, 8-31 on USB-6212/6216, 6-6 Counter n Up_Down signal, 8-30 floating signal sources, 4-25...
Page 196
Index prescaling, 8-36 USB-6210, A-2 USB-6211, A-4 pulse train generation, 8-23 retriggerable single pulse USB-6212 BNC, A-13 generation, 8-22 USB-6212 Mass Termination, A-8 simple pulse generation, 8-21 USB-6212 Screw Terminal, A-6 single pulse generation, 8-21 USB-6215, A-4 single pulse generation with start...
Page 199
4-5 MUX, 4-1 Mac OS X, xiv Measurement Studio documentation, xvi measurements buffered period, 8-7 National Instruments support and buffered pulse-width, 8-5 services, C-1 buffered semi-period, 8-9 .NET languages documentation, xvii buffered two-signal edge-separation, 8-20 NI support and services, C-1...
Page 200
8-5 pin assignments. See pinouts single, 8-4 pinouts PWR LED, 3-6 counter default, 8-32 device, 1-2 USB-6210, A-2 USB-6211, A-4 quadrature encoders, 8-16 USB-6212 BNC, A-13 USB-6212 Mass Termination, A-8 USB-6212 Screw Terminal, A-6 USB-6215, A-4 NI USB-621x User Manual...
Page 201
USB-6215/6216/6218 devices, 4-36 sample clock, 8-34 connecting analog output, 5-4 edge counting, 8-3 connecting digital I/O measurement, 8-18 on USB-6210/6211/6215/6218, 6-3 scan speed, 4-8 on USB-6212/6216, 6-6 scanning speed, 4-8 connecting PFI input, 7-4 self-calibration, 1-2 Counter n A, 8-30...
Page 202
4-10 stacking, 1-6 counter, 8-33 start trigger, 8-33 with a digital source, 12-1 static DIO troubleshooting USB-6210/6211/6215/6218, 6-2 analog input, B-1 USB-6212/6216, 6-5 analog output, B-3 using PFI terminals as, 7-3 NI resources, C-1 strain relief, 1-4 two-signal edge-separation...