background image

About This Manual

NI USB-621x User Manual

xvi

ni.com

Use the 

LabVIEW Help

, available by selecting 

Help»Search the 

LabVIEW Help 

in LabVIEW, to access information abo

u

t LabVIEW 

programming concepts, step-by-step instr

u

ctions for 

u

sing LabVIEW, and 

reference information abo

u

t LabVIEW VIs, f

u

nctions, palettes, men

u

s, and 

tools. Refer to the following locations on the 

Contents

 tab of the 

LabVIEW 

Help

 for information abo

u

t NI-DAQmx:

Getting Started with LabVIEW»Getting Started with 
DAQ

—Incl

u

des overview information and a t

u

torial to learn how to 

take an NI-DAQmx meas

u

rement in LabVIEW 

u

sing the DAQ 

Assistant.

VI and Function Reference»Measurement I/O VIs and 
Functions

—Describes the LabVIEW NI-DAQmx VIs and properties.

Taking Measurements

—Contains the concept

u

al and how-to 

information yo

u

 need to acq

u

ire and analyze meas

u

rement data 

in LabVIEW, incl

u

ding common meas

u

rements, meas

u

rement 

f

u

ndamentals, NI-DAQmx key concepts, and device considerations.

LabWindows/CVI

The 

Data Acquisition

 book of the 

LabWindows/CVI Help

 contains 

meas

u

rement concepts for NI-DAQmx. This book also contains 

Taking 

an NI-DAQmx Measurement in LabWindows/CVI

, which incl

u

des 

step-by-step instr

u

ctions abo

u

t creating a meas

u

rement task 

u

sing the DAQ 

Assistant. In LabWindows

/CVI

, select 

Help»Contents

, then select 

Using LabWindows/CVI»Data Acquisition

.

The 

NI-DAQmx Library

 book of the 

LabWindows/CVI Help

 contains 

API overviews and f

u

nction reference for NI-DAQmx. Select 

Library 

Reference»NI-DAQmx Library

 in the 

LabWindows/CVI Help

.

Measurement Studio

If yo

u

 program yo

u

r NI-DAQmx-s

u

pported device in Meas

u

rement St

u

dio 

u

sing Vis

u

al C++, Vis

u

al C#, or Vis

u

al Basic .NET, yo

u

 can interactively 

create channels and tasks by la

u

nching the DAQ Assistant from MAX or 

from within Vis

u

al St

u

dio .NET. Yo

u

 can generate the config

u

ration code 

based on yo

u

r task or channel in Meas

u

rement St

u

dio. Refer to the 

DAQ 

Assistant Help

 for additional information abo

u

t generating code. Yo

u

 also 

can create channels and tasks, and write yo

u

r own applications in yo

u

ADE 

u

sing the NI-DAQmx API.

For help with NI-DAQmx methods and properties, refer to the NI-DAQmx 
.NET Class Library or the NI-DAQmx Vis

u

al C++ Class Library incl

u

ded 

in the 

NI Measurement Studio Help

. For general help with programming 

Summary of Contents for DAQ M Series

Page 1: ...DAQ M Series NI USB 621x User Manual Bus Powered M Series USB Devices NI USB 621x User Manual ni com manuals Deutsch Français April 2009 371931F 01 ...

Page 2: ...ebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 328 90 10 Portugal 351 210 311 210 Russia 7 495 783 6851 Singapore 1800 226 5886 Slovenia 386 3 425 42 00 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailand ...

Page 3: ... including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National 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 reproduc...

Page 4: ... Pinouts 1 2 Device Specifications 1 2 Applying Signal Labels to the USB 621x 1 3 USB Cable Strain Relief 1 4 Mounting the USB 621x 1 6 Desktop Use 1 6 DIN Rail Mounting 1 6 Panel Mounting 1 7 USB Device Security Cable Slot 1 8 Chapter 2 DAQ System Overview DAQ Hardware 2 1 DAQ STC2 2 2 Calibration Circuitry 2 2 Signal Conditioning 2 3 Sensors and Transducers 2 3 Cables and Accessories 2 4 USB 621...

Page 5: ...s 4 11 AI Sample Clock Signal 4 14 Using an Internal Source 4 14 Using an External Source 4 14 Routing AI Sample Clock to an Output Terminal 4 14 Other Timing Requirements 4 14 AI Sample Clock Timebase Signal 4 15 AI Convert Clock Signal 4 16 Using an Internal Source 4 16 Using an External Source 4 16 Routing AI Convert Clock to an Output Terminal 4 16 Using a Delay from Sample Clock to Convert Cl...

Page 6: ...renced Signal Sources 4 31 When to Use Differential Connections with Ground Referenced Signal Sources 4 32 When to Use Non Referenced Single Ended Connections with Ground Referenced Signal Sources 4 32 When to Use Referenced Single Ended Connections with Ground Referenced Signal Sources 4 33 Using Differential Connections for Ground Referenced Signal Sources 4 34 Using Non Referenced Single Ended ...

Page 7: ...onnecting 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 6 4 Digital I O on USB 6212 6216 Devices 6 4 Static DIO on USB 6212 6216 Devices 6 5 I O Protection on USB 6212 6216 Devices 6 5 Programmable Power Up States on USB 6212 6216 Devices 6 6 Increasing Current Drive on USB 6212 6216 Devices 6 6 Conne...

Page 8: ...nt 8 15 Measurements Using Quadrature Encoders 8 16 Measurements Using Two Pulse Encoders 8 18 Buffered Sample Clock Position Measurement 8 18 Two Signal Edge Separation Measurement 8 19 Single Two Signal Edge Separation Measurement 8 20 Buffered Two Signal Edge Separation Measurement 8 20 Counter Output Applications 8 21 Simple Pulse Generation 8 21 Single Pulse Generation 8 21 Single Pulse Gener...

Page 9: ...equency Output Signal 8 31 Routing Frequency Output to a Terminal 8 31 Default Counter Timer Pinouts 8 32 Counter Triggering 8 33 Other Counter Features 8 34 Sample Clock 8 34 Cascading Counters 8 35 Counter Filters 8 35 Prescaling 8 36 Duplicate Count Prevention 8 37 Example Application That Works Correctly No Duplicate Counting 8 37 Example Application That Works Incorrectly Duplicate Counting 8...

Page 10: ...eam 11 1 Data Transfer Methods 11 1 Changing Data Transfer Methods 11 2 Chapter 12 Triggering Triggering with a Digital Source 12 1 Appendix A Device Specific Information USB 6210 A 2 USB 6211 6215 A 4 USB 6212 6216 Screw Terminal A 6 USB 6212 6216 Mass Termination A 8 USB 6212 6216 BNC A 13 USB 6218 Screw Terminal A 19 USB 6218 BNC A 21 Appendix B Troubleshooting Appendix C Technical Support and ...

Page 11: ...ut A 2 Figure A 2 USB 6211 6215 Pinout A 4 Figure A 3 USB 6212 6216 Screw Terminal Pinout A 6 Figure A 4 USB 6212 6216 Mass Termination Pinout A 9 Figure A 5 USB 6212 6216 BNC Top Panel and Pinout A 14 Figure A 13 USB 6218 Screw Terminal Pinout A 19 Figure A 14 USB 6218 BNC Top Panel and Pinout A 22 ...

Page 12: ... The symbol leads you through nested menu items and dialog box options to a final action The sequence File Page Setup Options directs you to pull down the File menu select the Page Setup item and select Options from the last dialog box This icon denotes a note which alerts you to important information This icon denotes a caution which advises you of precautions to take to avoid injury data loss or...

Page 13: ...DAQmx for USB Devices Getting Started Guide describes how to install your 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 Select Start All Programs Nati...

Page 14: ...rence Help contains C reference and general information about measurement concepts In Windows select Start All Programs National Instruments NI DAQmx Base Documentation C Function Reference Help 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 Instrument...

Page 15: ...ains measurement concepts for NI DAQmx This book also contains Taking an NI DAQmx Measurement in LabWindows CVI which includes step by step instructions about creating a measurement task using the DAQ Assistant In LabWindows CVI select Help Contents then select Using LabWindows CVI Data Acquisition The NI DAQmx Library book of the LabWindows CVI Help contains API overviews and function reference f...

Page 16: ...al Instruments data acquisition devices to develop instrumentation acquisition and control applications Select Start All Programs National Instruments NI DAQ NI DAQmx C Reference Help NET Languages without NI Application Software With the Microsoft NET Framework version 1 1 or later you can use NI DAQmx to create applications using Visual C and Visual Basic NET without Measurement Studio You need ...

Page 17: ...ice Documentation directory and double click the Device Documents shortcut for your language to find view and print device documents 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 support refer t...

Page 18: ...ide which you can download from ni com manuals offers NI DAQmx users step by step instructions for installing software and hardware configuring channels and tasks and getting started developing an application Installing Other Software If you are using other software refer to the installation instructions that accompany your software Installing the Hardware The NI DAQmx for USB Devices Getting Star...

Page 19: ...alibration using Measurement Automation Explorer MAX by completing the following steps 1 Launch MAX 2 Select My System Devices and Interfaces NI DAQmx Devices your device 3 Initiate self calibration using one of the following methods Click Self Calibrate in the upper right corner of MAX Right click the name of the device in the MAX configuration tree and select Self Calibrate from the drop down me...

Page 20: ... labels with pin numbers or signal names or blank labels Choose one of the labels align the correct label with the terminals printed on the top panel of your device or the 16 position combicon connector and apply the label as shown in Figure 1 1 Figure 1 1 USB 621x Screw Terminal Signal Labels 1 Terminal Number Label 2 Single Ended Signal Name Label 3 Differential Signal Name Label 4 User Defined ...

Reviews: