Resumen del contenido incluido en la página 1
USER GUIDE AND SPECIFICATIONS
NI USB-6008/6009
This user guide describes how to use the National Instruments
USB-6008/6009 data acquisition (DAQ) devices and lists specifications.
Introduction
The NI USB-6008/6009 provides connection to eight analog input (AI)
channels, two analog output (AO) channels, 12 digital input/output (DIO)
channels, and a 32-bit counter with a Full-Speed USB interface.
Note This manual revision updates naming conventions to reflect the conventions used in
NI-DAQmx.
Resumen del contenido incluido en la página 2
1 Analog 16 Table 2. Differences Between the NI USB-6008 and NI USB-6009 Feature NI USB-6008 NI USB-6009 AI Resolution 12 bits differential, 14 bits differential, 11 bits single-ended 13 bits single-ended Maximum AI Sample Rate, 10 kS/s 48 kS/s * Single Channel Maximum AI Sample Rate, 10 kS/s 48 kS/s * Multiple Channels (Aggregate) DIO Configuration Open collector Open collector or active drive * System dependent. 1 NI USB-6009 8 Inputs, 14-bit, Multifunction I/O 1 USB Cable Strain Relief Figu
Resumen del contenido incluido en la página 3
Dimensions Figure 3 illustrates the dimensions of the NI USB-6008/6009 device. 23.19 mm 81.81 mm (0.913 in.) (3.221 in.) 85.09 mm (3.350 in.) NATIONAL INSTRUMENTS 76.09 mm (2.996 in.) 63.50 mm (2.500 in.) 72.65 mm (2.860 in.) Figure 3. NI USB-6008/6009 in Millimeters (Inches) Safety Guidelines Caution Operate the NI USB-6008/6009 only as described in these operating instructions. The following section contains important safety information that you must follow when installing and using the
Resumen del contenido incluido en la página 4
Do not operate the device in an explosive atmosphere or where there may be flammable gases or fumes. If you must operate the device in such an environment, it must be in a suitably rated enclosure. If you need to clean the device, use a dry cloth. Make sure that the device is completely dry and free from contaminants before returning it to service. Operate the device only at or below Pollution Degree 2. Pollution is foreign matter in a solid, liquid, or gaseous state that can reduce dielectr
Resumen del contenido incluido en la página 5
� Measurement Category II is for measurements performed on circuits directly connected to the electrical distribution system. This category refers to local-level electrical distribution, such as that provided by a standard wall outlet (for example, 115 V for U.S. or 230 V for Europe). Examples of Measurement Category II are measurements performed on household appliances, portable tools, and similar E Series devices. � Measurement Category III is for measurements performed in the building
Resumen del contenido incluido en la página 6
LabVIEW If you are a new user, use the Getting Started with LabVIEW manual to familiarize yourself with the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications. Open the Getting Started with LabVIEW manual by selecting Start»All Programs»National Instruments»LabVIEW»LabVIEW Manuals or by navigating to the labview\manuals directory and opening LV_Getting_Started.pdf. Use the LabVIEW Help, available by
Resumen del contenido incluido en la página 7
based on your task or channel in Measurement Studio. Refer to the DAQ Assistant Help for additional information about generating code. You also can create channels and tasks, and write your own applications in your ADE using the NI-DAQmx API. For help with NI-DAQmx methods and properties, refer to the NI-DAQmx .NET Class Library or the NI-DAQmx Visual C++ Class Library included in the NI Measurement Studio Help. For general help with programming in Measurement Studio, refer to the NI Measu
Resumen del contenido incluido en la página 8
Library»Reference to view the function reference. Expand NI Measurement Studio Help»NI Measurement Studio .NET Class Library»Using the Measurement Studio .NET Class Libraries to view conceptual topics for using NI-DAQmx with Visual C# and Visual Basic .NET. To get to the same help topics from within Visual Studio, go to Help»Contents. Select Measurement Studio from the Filtered By drop-down list and follow the previous instructions. Device Documentation and Specifications NI-DAQmx includes
Resumen del contenido incluido en la página 9
Note All NI-DAQmx Base documentation for Linux is installed at /usr/local/natinst/nidaqmxbase/documentation. Note All NI-DAQmx Base documentation for Mac OS X is installed at /Applications/National Instruments/NI-DAQmx Base/documentation. Training Courses If you need more help getting started developing an application with NI products, NI offers training courses. To enroll in a course or obtain a detailed course outline, refer to ni.com/training. Technical Support on the Web For additional s
Resumen del contenido incluido en la página 10
Note For information about non-Windows operating system support, refer to ni.com/ info and enter BaseGSGML. Installing the NI USB-6008/6009 Device Before installing the device, you must install the software you plan to use with the device. Refer to the Installing the Software section of this guide and the documentation included with the software for more information. Figure 4 shows key functional components of the NI USB-6008/6009. External Vbus Power +5 V/200 mA Supply PFI 0 USB USB Microc
Resumen del contenido incluido en la página 11
Setting Up the NI USB-6008/6009 Device Complete the following steps to set up the NI USB-6008/6009: 1. Install combicon screw terminal blocks by inserting them into the combicon jacks. 2. Figure 5 illustrates the signal labels that ship in the NI USB-6008/6009 kit. You can apply the signal labels to the screw terminal blocks for easy signal identification. 3 4 ANALOG DIGITAL 1 2 1 Terminal Number Labels (Use Both Together) 3 Single-Ended Signal Name Label (Use Either) 2 Digital I/O Label 4 D
Resumen del contenido incluido en la página 12
1 Analog 16 4 3 2 1 2 3 1 Overlay Label with Pin Orientation Guides 3 Signal Labels 2 Combicon Jack 4 USB Cable Figure 6. Signal Label Application Diagram Note Once you label the screw terminal blocks, you must only insert them into the matching combicon jack, as indicated by the overlay label on the NI USB-6008/6009 device. 4. Connect the wiring to the appropriate screw terminals. NI USB-6008/6009 User Guide and Specifications 12 ni.com NI USB-6009 8 Inputs, 14-bit, Multifunction I/O 17 32
Resumen del contenido incluido en la página 13
Connecting the NI USB-6008/6009 to a Computer Plug one end of the USB cable into the NI USB-6008/6009 and the other end into an available USB port on the computer. LED Indicator The NI USB-6008/6009 device has a green LED next to the USB connector. The LED indicator indicates device status, as listed in Table 3. When the device is connected to a USB port, the LED blinks steadily to indicate that the device is initialized and is receiving power from the connection. If the LED is not blinking
Resumen del contenido incluido en la página 14
1234567 8 9 10111213141516 I/O Connector The NI USB-6008/6009 ships with one detachable screw terminal block for analog signals and one detachable screw terminal block for digital signals. These terminal blocks provide 16 connections that use 16 AWG to 28 AWG wire. Table 4 lists the analog terminal assignments, and Table 5 lists the digital terminal assignments. Table 4. Analog Terminal Assignments Signal, Signal, Module Terminal Single-Ended Mode Differential Mode 1 GND GND 2 AI 0 AI 0+ 3
Resumen del contenido incluido en la página 15
Table 5. Digital Terminal Assignments Module Terminal Signal 17 P0.0 18 P0.1 19 P0.2 20 P0.3 21 P0.4 22 P0.5 23 P0 6 24 P0.7 25 P1.0 26 P1.1 27 P1.2 28 P1.3 29 PFI 0 30 +2.5 V 31 +5 V 32 GND © National Instruments Corporation 15 NI USB-6008/6009 User Guide and Specifications 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
Resumen del contenido incluido en la página 16
Signal Descriptions Table 6 describes the signals available on the I/O connectors. Table 6. Signal Descriptions Signal Name Reference Direction Description GND — — Ground—The reference point for the single-ended AI measurements, bias current return point for differential mode measurements, AO voltages, digital signals at the I/O connector, +5 VDC supply, and the +2.5 VDC reference. AI <0..7> Varies Input Analog Input Channels 0 to 7—For single-ended measurements, each signal is an analog
Resumen del contenido incluido en la página 17
Analog Input You can connect analog input signals to the NI USB-6008/6009 through the I/O connector. Refer to Table 6 for more information about connecting analog input signals. Analog Input Circuitry Figure 7 illustrates the analog input circuitry of the NI USB-6008/6009. +2.5 V REF MUX PGA ADC AI FIFO 30.9 kΩ 127 kΩ AI Input Range 39.2 kΩ Selection Figure 7. Analog Input Circuitry MUX The NI USB-6008/6009 has one analog-to-digital converter (ADC). The multiplexer (MUX) routes one AI channe
Resumen del contenido incluido en la página 18
AI FIFO The NI USB-6008/6009 can perform both single and multiple A/D conversions of a fixed or infinite number of samples. A first-in-first-out (FIFO) buffer holds data during AI acquisitions to ensure that no data is lost. Analog Input Modes You can configure the AI channels on the NI USB-6008/6009 to take single-ended or differential measurements. Refer to Table 6 for more information about I/O connections for single-ended or differential measurements. Connecting Differential Voltage Si
Resumen del contenido incluido en la página 19
20 15 10 5 AI 1 AI 5 0 Result –5 –10 –15 –20 Figure 9. Example of a Differential 20 V Measurement Connecting a signal greater than ±10 V on either pin results in a clipped output. 20 15 10 5 AI 1 0 AI 5 Result –5 –10 –15 –20 Figure 10. Exceeding ±10 V on AI Returns Clipped Output Connecting Reference Single-Ended Voltage Signals To connect reference single-ended voltage signals (RSE) to the NI USB-6008/6009, connect the positive voltage signal to the desired AI terminal, and the ground sign
Resumen del contenido incluido en la página 20
AI Voltage NI USB-6008/6009 Source GND Figure 11. Connecting a Reference Single-Ended Voltage Signal Digital Trigger When an AI task is defined, you can configure PFI 0 as a digital trigger input. When the digital trigger is enabled, the AI task waits for a rising or falling edge on PFI 0 before starting the acquisition. To use ai/Start Trigger with a digital source, specify PFI 0 as the source and select rising or falling edge. Analog Output The NI USB-6008/6009 has two independent AO chan