background image

©

 National Instruments Corporation

29

NI USB-6008/6009 User Guide and Specifications

Measurement Studio

If you program your NI-DAQmx-supported device in Measurement Studio using Visual C# or Visual 
Basic .NET, you can interactively create channels and tasks by launching the DAQ Assistant from MAX 
or from within Visual Studio. You can use Measurement Studio to generate the configuration code based 
on your task or channel. Refer to the 

DAQ Assistant Help

 for additional information about generating 

code. 

The 

NI Measurement Studio Help

 is fully integrated with the Microsoft Visual Studio help. To view this 

help file in Visual Studio, select 

Measurement Studio»NI Measurement Studio Help

. For 

information related to developing with NI-DAQmx, refer to the following topics within the 

NI Measurement Studio Help

:

For step-by-step instructions on how to create an NI-DAQmx application using the Measurement 
Studio Application Wizard and the DAQ Assistant, refer to 

Walkthrough: Creating a Measurement 

Studio NI-DAQmx Application

.

For help with NI-DAQmx methods and properties, refer to 

NationalInstruments.DAQmx 

Namespace

 and 

NationalInstruments.DAQmx.ComponentModel Namespace

.

For conceptual help with NI-DAQmx, refer to 

Using the Measurement Studio NI-DAQmx .NET 

Library

 and 

Developing with Measurement Studio NI-DAQmx

.

For general help with programming in Measurement Studio, refer to 

Getting Started with the 

Measurement Studio Class Libraries

.

To create an application in Visual Basic .NET or Visual C#, follow these general steps:

1.

In Visual Studio, select 

File»New»Project

 to launch the New Project dialog box.

2.

In the Project types pane, expand the 

Visual Basic

 or 

Visual C#

 node, depending on which 

language you want to create the project in, and select 

Measurement Studio

.

3.

Choose a project type. You add DAQ tasks as a part of this step.

ANSI C without NI Application Software

The 

NI-DAQmx Help

 contains API overviews and general information about measurement concepts. 

Select 

Start»All Programs»National Instruments»NI-DAQ»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» Text-Based Code 

Support»NI-DAQmx C Reference Help

.

.NET Languages without NI Application Software

With the Microsoft .NET Framework version 2.0 or later, you can use NI-DAQmx to create applications 
using Visual C# and Visual Basic .NET without Measurement Studio. You need Microsoft Visual Studio 
.NET 2005 or later for the API documentation to be installed.

The installed documentation contains the NI-DAQmx API overview, measurement tasks and concepts, 
and function reference. This help is fully integrated into the Visual Studio documentation. To view the 
NI-DAQmx .NET documentation, go to 

Start»All Programs»National Instruments»NI-DAQ» 

Text-Based Code Support

. For function reference, refer to the

NationalInstruments.DAQmx 

Namespace

 and 

NationalInstruments.DAQmx.ComponentModel Namespace

 topics. For conceptual 

help, refer to the 

Using the Measurement Studio NI-DAQmx .NET Library

 and 

Developing with 

Measurement Studio NI-DAQmx

 sections.

To get to the same help topics from within Visual Studio 2005 or 2008, go to 

Help»Contents

 and select 

Measurement Studio

 from the 

Filtered By

 drop-down list. To get to the same help topics from within 

Summary of Contents for NI USB-6008

Page 1: ...a full speed USB interface Table 1 compares the devices Table 1 NI USB 6008 and NI USB 6009 Comparison Feature NI USB 6008 NI USB 6009 AI resolution 12 bits differential 11 bits single ended 14 bits d...

Page 2: ...USB 6008 6009 4 Using the NI USB 6008 6009 in an Application 6 Features 7 USB Connector and USB Cable Strain Relief 7 LED Indicator 8 Screw Terminal Connector Plugs 8 Firmware 8 Cables and Accessories...

Page 3: ...maged in any way If the device is damaged contact National Instruments for repair Caution Do not substitute parts or modify the device except as described in this document Use the device only with the...

Page 4: ...e exposed pins of connectors To avoid ESD damage in handling the device take the following precautions Ground yourself with a grounding strap or by touching a grounded object Touch the antistatic pack...

Page 5: ...matching connector jack as indicated by the overlay label on the device 5 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 1 Overlay...

Page 6: ...ut If using a shielded cable connect the cable shield to a nearby GND terminal Note For information about sensors go to ni com sensors For information about IEEE 1451 4 TEDS smart sensors go to ni com...

Page 7: ...nnector and USB Cable Strain Relief The NI USB 6008 6009 features a USB connector for full speed USB interface You can provide strain relief for the USB cable by threading a zip tie through the USB ca...

Page 8: ...lecting labels for the screw terminal connector plugs Refer to the Pinout and Signal Descriptions section for the device pinout and signal descriptions You can order additional connectors and labels f...

Page 9: ...itional screw terminal connectors connector labels and a screwdriver USB 6000 Series Prototyping Accessory 779511 01 Unshielded breadboarding accessory for custom defined signal conditioning and proto...

Page 10: ...AO 0 1 GND Output Analog Output Channels 0 and 1 Supplies the voltage output of AO channel 0 or AO channel 1 Refer to the Analog Output section for more information P0 0 7 GND Input or Output Port 0...

Page 11: ...for single ended measurements The PGA gain is automatically calculated based on the voltage range selected in the measurement application ADC The analog to digital converter ADC digitizes the AI sign...

Page 12: ...ctions for any channel that meets any of the following conditions Your application requires input ranges other than 10 V The input signal is low level and requires greater accuracy The leads connectin...

Page 13: ...e and the device ground Refer to the Taking Referenced Single Ended Measurements section for more information about RSE connections Ground Referenced Signal Sources A ground referenced signal source i...

Page 14: ...ottom rightmost cell of Table 6 there can be a potential difference between GND and the ground of the sensor In RSE mode this ground loop causes measurement errors Taking Differential Measurements For...

Page 15: ...minal as shown in Figure 11 Figure 11 Connecting a Referenced Single Ended Voltage Signal When no signals are connected to the analog input terminal the internal resistor divider may cause the termina...

Page 16: ...09 connect the positive lead of the load to the AO terminal and connect the ground of the load to a GND terminal as shown in Figure 13 Figure 13 Connecting a Load Minimizing Glitches on the Output Sig...

Page 17: ...of Connecting a Load Caution Exceeding the maximum input voltage ratings or maximum output ratings which are listed in the Specifications section can damage the device and the computer National Instru...

Page 18: ...ent go to ni com info and enter the Info Code ex52sp Complete the following steps to determine the value of the user provided pull up resistor 1 Place an ammeter in series with the load 2 Place a vari...

Page 19: ...ent when handling the DAQ device or connecting to it Power On States At system startup and reset the hardware sets all DIO lines to high impedance inputs The DAQ device does not drive the signal high...

Page 20: ...n USB suspend the output is disabled Specifications The following specifications are typical at 25 C unless otherwise noted Analog Input Analog inputs Differential 4 Single ended 8 software selectable...

Page 21: ...lute accuracy at full scale single ended Analog Output Analog outputs 2 Output resolution 12 bits Maximum update rate 150 Hz software timed Output range 0 to 5 V Output impedance 50 Output current dri...

Page 22: ...0 5 to 5 8 V with respect to GND Pull up resistor 4 7 k to 5 V Power on state Input Digital logic levels External Voltage 5 V output 200 mA maximum Minimum 4 85 V Typical 5 V 2 5 V output 1 mA maximu...

Page 23: ...imum high pulse width 100 ns Minimum low pulse width 100 ns Input high voltage 2 0 V Input low voltage 0 8 V Bus Interface USB specification USB 2 0 full speed USB bus speed 12 Mb s Power Requirements...

Page 24: ...y I is for measurements performed on circuits not directly connected to the electrical distribution system referred to as MAINS voltage MAINS is a hazardous live electrical supply system that powers e...

Page 25: ...y use EN 61326 1 IEC 61326 1 Class A emissions Basic immunity EN 55011 CISPR 11 Group 1 Class A emissions AS NZS CISPR 11 Group 1 Class A emissions FCC 47 CFR Part 15B Class A emissions ICES 001 Class...

Page 26: ...luded in this document Waste Electrical and Electronic Equipment WEEE EU Customers The symbol indicates that the waste products should be disposed of separately from municipal household waste accordin...

Page 27: ...or later of the NI application software NI DAQmx The NI USB 6008 6009 Quick Start packaged with the NI USB 6008 6009 describes how to install NI DAQmx software install the device and confirm that your...

Page 28: ...epts 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...

Page 29: ...e Project types pane expand the Visual Basic or Visual C node depending on which language you want to create the project in and select Measurement Studio 3 Choose a project type You add DAQ tasks as a...

Page 30: ...ls DAQ specifications and some DAQ manuals are available as PDFs You must have Adobe Acrobat Reader with Search and Accessibility 5 0 5 or later installed to view the PDFs Refer to the Adobe Systems I...

Reviews: