Worldwide Technical Support and Product Information
ni.com
Worldwide Offices
Visit ni.com/niglobal to access the branch office websites, which provide up-to-date
contact information, support phone numbers, email addresses, and current events.
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
For further support information, refer to the NI Services appendix. To comment on NI
documentation, refer to the NI website at ni.com/info and enter the Info Code feedback.
This document is provided ‘as is’ and is subject to being changed, without notice, in future editions. For the latest version,
ni.com/manuals. NI reviews this document carefully for technical accuracy; however, NI MAKES NO EXPRESS
refer to
OR IMPLIED WARRANTIES AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND
SHALL NOT BE LIABLE FOR ANY ERRORS.
NI warrants that its hardware products will be free of defects in materials and workmanship that cause the product to fail to
substantially conform to the applicable NI published specifications for one (1) year from the date of invoice.
For a period of ninety (90) days from the date of invoice, NI warrants that (i) its software products will perform substantially
in accordance with the applicable documentation provided with the software and (ii) the software media will be free from
defects in materials and workmanship.
If NI receives notice of a defect or non-conformance during the applicable warranty period, NI will, in its discretion: (i) repair
or replace the affected product, or (ii) refund the fees paid for the affected product. Repaired or replaced Hardware will be
warranted for the remainder of the original warranty period or ninety (90) days, whic hever is lon ger. If NI elects to repair or
replace the product, NI may use new or refurbished parts or products that are equivalent to new in performance and reliability
and are at least functionally equivalent to the original part or product.
You must obtain an RMA number from NI before returning any product to NI. NI reserves the right to charge a fee for
examining and testing Hardware not covered by the Limited Warranty.
This Limited Warranty does not apply if the defect of the product resulted from improper or inadequate maintenance,
installation, repair, or calibration (performed by a party other than NI); unauthorized modification; improper environment;
use of an improper hardware or software key; impr oper use or operation outsid e of the specification for the product; improper
voltages; accident, abuse, or neglect; or a hazard such as lightning, flood, or other act of nature.
THE REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND THE CUSTOMER’S SOLE REMEDIES, AND SHALL
APPLY EVEN IF SUCH REMEDIES FAIL OF THEIR ESSENTI A L PU RPOS E.
EXCEPT AS EXPRESSLY SET FORTH HEREIN, PRODUCTS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND AND NI DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, WITH RESPECT TO THE
PRODUCTS, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, TIT LE OR NON-INFR INGEMENT, AND ANY WARRANTIES T HAT MAY ARISE FROM
USAGE OF TRADE OR COURSE OF DEALING. NI DOES NOT WARRANT, GUARANTEE, OR MAKE ANY
REPRESENTATIONS REGARDING THE USE OF OR THE RESULTS O F THE USE OF THE PRODUCTS IN TERMS
OF CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NI DOES NOT WARRANT THAT THE
OPERATION OF THE PRODUCTS WILL BE UNINTERRUPTED OR ERROR FRE E.
In the event that you and NI have a separate signed written agreement with warranty terms covering the products, then the
warranty terms in the separate agreement shall control.
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retr ieval 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 soft ware 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.
End-User License Agreements and Third-Party Legal Notices
You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:
• Notices are located in the
directories.
• EULAs are located in the
•Review
<National Instruments>\_Legal Information.txt for information on including legal information in
installers built with NI products.
U.S. Government Restricted Rights
If you are an agency, department, or other entity of the United States Government (“Government”), the use, duplication,
reproduction, release, modification, disclosure or transfer of the technical data includ ed in this manual is governed by the
Restricted Rights provisions under Federal Acquisition Regulation 52.227-14 for civilian agencies and Defense Federal
Acquisition Regulation Supplement Section 252.227-7014 and 252 .22 7-7015 fo r military agencies.
Trademarks
Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for more information on NI trademarks.
ARM, Keil, and µVision are trademarks or registered of ARM Ltd or its subsidiaries.
LEGO, the LEGO logo, WEDO, and MINDSTORMS are trademarks of the LEGO Group.
TETRIX by Pitsco is a trademark of Pitsco, Inc.
FIELDBUS FOUNDATION
®
EtherCAT
is a registered trademark of and licensed by Beckhoff Automation GmbH.
<National Instruments>\_Legal Information and <National Instruments>
CANopen® is a registered Community Trademark of CAN in Automation e.V.
™
DeviceNet
Go!, SensorDAQ, and Vernier are registered trademarks of Vernier Software & Technology. Vernier Software & Technology
and
and EtherNet/IP™ are trademarks of ODVA.
vernier.com are trademarks or trade dress.
Xilinx is the registered trademark of Xilinx, Inc.
Taptite and Trilobular are registered trademarks of Research Engineering & Manufacturing Inc.
®
is the registered trademark of Apple Inc.
FireWire
®
Linux
is the registered trademark of Linus Torvalds in the U.S. and other countries.
Handle Graphics
Simulink Coder
Tektronix
The Bluetooth
The ExpressCard
license.
The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft
Corporation in the United States and other countries.
®
, MATLAB®, Simulink®, Stateflow®, and xPC TargetBox® are registered trademarks, and
™
, TargetBox™, and Target Language Compiler™ are trademarks of The MathWorks, Inc.
®
, Tek, and Tektronix, Enabling Technology are registered trademarks of Tektronix, Inc.
®
word mark is a registered trademark owned by the Bluetooth SIG, Inc.
™
word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from NI and have no
agency, partnership, or joint-venture relationship with NI.
Patents
For patents covering NI products/technology, refer to the appropriate location : Help»Patents in your software,
the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.
Export Compliance Information
Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NI global trade compliance
policy and how to obtain relevant HTS codes, ECCNs, and other import/export data.
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
YOU ARE ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY AND
RELIABILITY OF THE PRODUCTS WHENEVE R THE PR ODUCTS AR E INCORPO RATED IN YOUR SYSTE M OR
APPLICATION, INCLUDING THE APPROPRIATE DESIGN, PROCESS, AND SAFETY LEVEL OF SUCH SYSTEM
OR APPLICATION.
PRODUCTS ARE NOT DESIGNED, MANUFACTURED, OR TESTED FOR USE IN LIFE OR SAFETY CRITICAL
SYSTEMS, HAZARDOUS ENVIRONME NTS OR ANY OTHER ENVIRONMENTS REQUIRING FAIL- S AF E
PERFORMANCE, INCLUDING IN TH E OPE RAT ION O F NUCLEAR FACILITIES; AIRCRAFT NAVIGATION; AIR
TRAFFIC CONTROL SYSTEMS; LIFE SAVING OR LIFE SUSTAINING SYSTEMS OR SUCH OTHER MEDICAL
DEVICES; OR ANY OTHER APPLICATION IN WHICH THE FAILURE OF THE PRODUCT OR SERVICE COULD
LEAD TO DEATH, PERSONAL INJURY, SEVERE PROPERTY DAMAGE OR ENVIRONMENTAL HARM
(COLLECTIVELY, “HIGH-RISK USE S”). FURTHER, PRUDENT ST EPS MUST BE TAKEN TO PROTECT AGAINST
FAILURES, INCLUDING P ROVIDING BACK-U P AND SHUT-DOWN ME CHANISMS. NI EXPR ESSLY DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS OF THE PRODUCTS OR SERVICES FOR HIGH-RISK
USES.
The M Series User Manual contains information about using the National Instruments M Series
multifunction I/O data acquisition (DAQ) devices with NI-DAQmx 15.5 and later. M Series
devices feature up to 80 analog input (AI) channels, up to four analog output (AO) channels, up
to 48 lines of digital input/output (DIO), and two counters. This chapter provides basic
information you need to get started using your M Series device.
Safety Guidelines
Operate the NI 62xx M Series devices and modules only as described in this user manual.
Caution NI 62xx devices and modules are not certified for use in hazardous
locations.
Caution Never connect the +5 V power terminals to analog or digital ground or to
any other voltage source on the M Series device or any other device. Doing so can
damage the device and the computer. NI is not liable for damage resulting from such
a connection.
Caution The maximum input voltages rating of AI signals with respect to ground
(and for signal pairs in differential mode with respect to each other) are listed in the
specifications document for your device. Exceeding the maximum input voltage of
AI signals distorts the measurement results. Exceeding the maximum input voltage
rating also can damage the device and the computer . NI is not liable fo r any damage
resulting from such signal connections.
Caution Exceeding the maximum input voltage ratings, which are listed in the
specifications document for each M Series device, can damage the DAQ device and
the computer. NI is not liable for any damage resulting from such signal connections.
Caution Damage can result if these lines are dri ven by the sub-bus. NI is not liable
for any damage resulting from improper signal connections.
If hazardous voltages are connected to the device/module, take the following precautions. A
hazardous voltage is a voltage greater than 42.4 V
Caution Ensure that hazardous voltage wiring is performed only by qualified
personnel adhering to local electrical standards.
Caution Do not mix hazardous voltage circuits and human-accessible circuits on
the same module.
Caution Make sure that chassis and circuits connected to the module are properly
insulated from human contact.
Caution NI 62xx devices and modules provide no isolation.
or 60 VDC to earth ground.
pk
Electromagnetic Compatibility Guidelines
This product was tested and complies with the regulatory requirements and limits for
electromagnetic compatibility (EMC) as stated in the product specifications. These requirements
and limits are designed to provide reasonable protection against harmful interference when the
product is operated in its intended operational electromagnetic environment.
This product is intended for use in industrial locations. There is no guarantee that harmful
interference will not occur in a particular installation, when the product is connected to a test
object, or if the product is used in residential areas. To minimize the potential for the product to
cause interference to radio and television reception or to experience unacceptable performance
degradation, install and use this product in strict accordance with the instructions in the product
documentation.
Furthermore, any changes or modifications to the product not expressly approved by National
Instruments could void your authority to operate it under your local regulatory rules.
Caution To ensure the specified EMC performance, product installation requires
either special considerations or user-installed, add-on devices. Refer to the product
installation instructions for further information.
Caution For compliance with Electromagnetic Comp ati b il ity (EMC)
requirements, this product must be operated with shielded cables and accessories. If
unshielded cables or accessories are used, the EMC specifications are no longer
guaranteed unless all unshielded cables and/or accessories are installe d in a shielde d
enclosure with properly designed and shielded input/output ports.
Caution This product may become more sensitive to electromagnetic disturbances
in the operational environment when test leads are attached or when connected to a
test object.
The following symbols are marked on your device or module.
Caution When this symbol is marked on a product, refer to the Safety Guidelines
section for information about precautions to take.
EU Customers At the end of the product life cycle, all products must be sent to
a WEEE recycling center. For more information about WEEE recycling centers,
National Instruments WEEE initiatives, and compliance with WEEE Directive
2002/96/EC on Waste and Electronic Equipment, visit
weee.
ni.com/environment/
Installation
Before installing your multifunction I/O device, you must install the software you plan to use
with the device.
1.Installing application software—Refer to the installation instructions that accompany
your software.
2.Installing NI-DAQmx—The DAQ Getting Started Guide for PXI/PXI Express, DAQ
Getting Started Guide for PCI/PCI Express, or DAQ Getting Started Guide for Externally
Powered USB, packaged with your device or module, and also available on ni.com/
manuals, contain step-by-step instructions for installing software and hardware,
configuring channels and tasks, and getting started developing an application.
3.Installing the hardware—Unpack your M Series device as described in the Unpacking
section. Refer to the DAQ Getting Started Guide for PXI/PXI Express, DAQ Getting Started
Guide for PCI/PCI Express, or DAQ Getting Started Guide for Externally Powered USB
for information how to install your software and device or module. It also describes how to
confirm that your device or module is operating properly, configure your device or module,
run test panels, and take a measurement.
Unpacking
The M Series device ships in an antistatic package to prevent electrostatic discharge (ESD).
ESD can damage several components on the device.
Caution Never touch the 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.
•T ouch the antistatic package to a metal part of your computer chassis before removing the
device from the package.
Remove the device from the package and inspect it for loose components or any other signs of
damage. Notify NI if the device appears damaged in any way. Do not install a damaged device
in your computer or chassis.
Store the device in the antistatic package when the device is not in use.
Device Self-Calibration
NI recommends that you self-calibrate your M Series 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 device specifications to find your device
warm-up time. This function measures the onboard reference voltage of the device and adjusts
the self-calibration constants to account for any errors caused by short-term fluctuations in the
environment. Disconnect all external signals when you self-calibrate a device.
Note (NI PCIe-6251/6259 Devices) Connecting or disconnecting the disk drive
power connector on M Series PCI Express devices can affect the analog performance
of your device. To compensate for this, NI recommends that you self-calibrate after
connecting or disconnecting the disk drive power connector, as described in the
Device Self-Calibration section.
You can initiate self-calibration using Measurement & Automation Explorer (MAX), by
completing the following steps.
1.Launch MAX.
2.Select My System»Devices and Interfaces»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 menu.
Note You can also programmatically self-calibrate your device with NI-DAQmx,
as described in Device Calibration in the NI-DAQmx Help or the LabVIEW Help.
Getting Started with M Series PCI Express
Devices and the Disk Drive Power Connector
(NI PCIe-6251/6259 Devices) The disk drive power connector is a four-pin hard drive
connector on PCI Express devices that, when connected, increases the current the device can
supply on the +5 V terminal.
When to Use the Disk Drive Power Connector
M Series PCI Express devices without the disk drive power connector installed perform
identically to other M Series devices for most applications and with most accessories. For most
applications, it is not necessary to install the disk drive power connector.
However, you should install the disk drive power connector in either of the following situations:
•You need more power than listed in the device specifications
•You are using an SCC accessory without an external power supply, such as the SC-2345
Refer to the specifications document for your device for more information about PCI Express
power requirements and power limits.
Disk Drive Power Connector Installation
Before installing the disk drive power connector, you must install and set up the M Series PCI
Express device as described in the DAQ Getting Started Guide for PCI/PCI Express. Complete
the following steps to install the disk drive power connector.
1.Power off and unplug the computer.
2.Remove the computer cover.
3.Attach the PC disk drive power connector to the disk drive power connector on the device,
as shown in Figure 1-1.
Note The power available on the disk drive power connectors in a computer can
vary. For example, consider using a disk driv e power connector that is not in the same
power chain as the hard drive.
Figure 1-1. Connecting to the Disk Drive Power Connector
1 Device Disk Drive Power Connector2 PC Disk Drive Power Connector
4.Replace the computer cover, and plug in and power on the computer.
5.Self-calibrate the PCI Express DAQ device in MAX by following the instructions in the
Device Self-Calibration section.
Note Connecting or disconnecting the disk drive power connector can affect the
analog performance of your device. T o compensate for this, NI recommends that you
self-calibrate after connecting or disconnecting the disk drive power connector, as
described in the Device Self-Calibration section.
Getting Started with M Series USB Devices
The following sections contain information about M Series USB device features and best
practices.
Applying the Signal Label to USB Screw Terminal
Devices
(USB-622x/625x/628x Screw Terminal Devices) The supplied signal label can be adhered to
the inside cover of the USB-62xx Screw Terminal device with supplied velcro strips as shown
in Figure 1-2.
Figure 1-2. Applying the USB-62xx Screw Ter m inal Signal Label
USB Device Chassis Ground
(USB-622x/625x/628x Devices) For EMC compliance, the cha ssis of the USB M Series device
must be connected to earth ground through the chassis ground.
The wire should be A WG 16 or lar ger solid copper wire with a maximu m length of 1.5 m (5 ft).
Attach the wire to the earth ground of the facility’s power system. For more information about
earth ground connections, refer to the KnowledgeBase document, Earth Grounding for Test and Measurement Devices, by going to
ni.com/info and entering the Info Code earthground.
M Series User Manual
NI USB-62xx
Multifunction I/O with
Correlated Digital I/O for USB
ACTIVE
READY
ONOFF
NATIONAL
INSTRUMENTS
You can attach a wire to the ground lug screw of any USB-62xx device, as shown in Figure 1-3.
Figure 1-3. Grounding a USB-62xx Device through the Ground Lug Screw
(USB-6225/625x/628x Screw Terminal Devices) You can attach and solder a wire to the
chassis ground lug of certain USB-62xx Screw Terminal devices, as shown in Figure 1-4. The
wire should be as short as possible.
Figure 1-4. Grounding a USB-62xx Screw Terminal Device through the Chassis Ground
Lug
(USB-62xx BNC Devices) You can attach a wire to a CHS GND screw terminal of any
USB-62xx BNC device, as shown in Figure 1-5. Use as short a wire as possible. In addition, the
wires in the shielded cable that extend beyond the shield should be as short as possible.
Figure 1-5. Grounding a USB-62xx BNC Device through the CHS GND Screw Terminal
(USB-622x/625x/628x Devices) The Externally Powered USB M Series Panel Mounting Kit
(part number 780214-01, not included in your USB-62xx kit) is an accessory you can use to
mount the USB-62xx family of products to a panel or wall.
USB Device LEDs
(USB-622x/625x/628x Devices) Refer to the LED Patterns section of Chapter 3, Connector
and LED Information, for information about the M Series USB device LEDs.
USB Cable Strain Relief
(USB-622x/625x/628x Screw Terminal and USB-622x/625x/628x Mass Termination
Devices) Use the supplied strain relief hardware to provide strain relief for your USB cable.
Adhere the cable tie mount to the rear panel of the USB-62xx Screw Terminal or USB-62xx Mass
Termination device, as shown in Figure 1-6. Thread a zip tie through the cable tie mount and
tighten around the USB cable.
Figure 1-6. USB Cable Strain Relief on USB-62xx Screw Terminal and
USB-62xx Mass Termination Devices
(USB-622x/625x BNC Devices) Thread a zip tie through two of the strain relief holes on the
end cap to provide strain relief for your USB cable as shown in Figure 1-7. The strain relief holes
can also be used as cable management for signal wires to/from the screw terminals and BNC
connectors.
(USB-62221/6229 BNC Devices) To ensure EMC compliance, you must install the ferrite
shipped with the USB-6221/6229 BNC.
Loop the power cabling through the ferrite at least five times. Install the ferrite as close as
possible to the end of the power cable, as shown in Figure 1-11.
Figure 1-11. Installing the Ferrite on the Power Cable
3
2
1
1 Power Cable
2 Ferrite
3 NI USB-6221/6229 BNC Device
Pinouts
Refer to Appendix A, Module/Device-Specific Information, for M Series device pinouts.
Specifications
Refer to the device specifications document for your device. M Series device documentation is
available on ni.com/manuals.
Accessories and Cables
NI offers a variety of accessories and cables to use with your multifunction I/O DAQ module
device. Refer to the Cables and Accessories section of Chapter 2, DAQ System Overview, for
more information.
Figure 2-1 shows a typical DAQ system, which includes sensors, transducers, signal
conditioning devices, cables that connect the various devices to the accessories, the M Series
device, programming software, and PC. The following sections cover the components of a
typical DAQ system.
Figure 2-1. Components of a Typical DAQ System
Sensors and
Transducers
Signal
Conditioning
Cables and
Accessories
DAQ
Hardware
DAQ
Software
Personal Computer
or
PXI/PXI Express
Chassis
DAQ Hardware
DAQ hardware digitizes signals, performs D/A conversions to generate analog output signals,
and measures and controls digital I/O signals. Figure 2-2 features components common to all
M Series devices.
The DAQ-STC2 and DAQ-6202 implement a high-performance digital engine for M Series data
acquisition hardware. Some key features of this engine include the following:
•Flexible AI and AO sample and convert timing
•Many triggering modes
•Independent AI, AO, DI, and DO FIFOs
•Generation and routing of RTSI signals for multi-device synchronization
•Generation and routing of internal and external timing signals
•T wo flexible 32-bit counter/timer modules with hardware gating
•Digital waveform acquisition and generation
•Static DIO signals
•True 5 V high current drive DO
•DI change detection
•PLL for clock synchronization
•Seamless interface to signal conditioning accessories
•PCI/PXI interface
•Independent scatter-gather DMA controllers for all acquisition and generation functions
Calibration Circuitry
The M Series analog inputs and outputs have calibration circuitry to correct gain and offset
errors. You can calibrate the device to minimize AI and AO errors caused by time and
temperature drift at run time. No external circuitry is necessary; an internal reference ensures
high accuracy and stability over time and temperature changes.
Factory-calibration constants are permanently stored in an onboard EEPROM and cannot be
modified. When you self-calibrate the device, as described in the Device Self-Calibration
section of Chapter 1, Getting Started, software stores new constants in a user-modifiable section
of the EEPROM. To return a device to its initi al factory calibration settings, software can copy
the factory-calibration constants to the user-modifiable sec tion of the EEPROM. Refer to the
NI-DAQmx Help or the LabVIEW Help for more information about using calibration constants.
For a detailed calibration procedure for M Series devices, refer to the B/E/M/S/X Series Calibration Procedure available at
NI offers a variety of products to use with M Series PCI, PCI Express, PXI, PXI Express, USB
devices, including cables, connector blocks, and other accessories, as follows:
•Shielded cables and cable assemblies, and unshielded ribbon cables and cable assemblies
•Screw terminal connector blocks, shielded and unshielded
•RTSI bus cables
•SCXI modules and accessories for isolating, amplifying, exciting, and multiplexing
signals; with SCXI you can condition and acquire up to 3,072 channels
•Low-channel-count signal conditioning modules, devices, and accessories, including
conditioning for strain gauges and RTDs, simultaneous sample and hold circuitry, and
relays
Refer to the appropriate section for your device connector type—68-Pin M Series Cables and
Accessories or 37-Pin M Series Cables and Accessories. For more specific information about
these products, refer to
Note For compliance with Electromagnetic Compatibility (EMC) requirements,
this product must be operated with shielded cables and accessories. If unshielded
cables or accessories are used, the EMC specifications are no longer guaranteed
unless all unshielded cables and/or accessories are installed in a shie lded enclosure
with properly designed and shielded input/output ports.
ni.com.
Refer to the 68-Pin Custom Cabling and Connectivity or 37-Pin Custom Cabling section of this
chapter and the Field Wiring Considerations section of Chapter 4, Analog Input, for information
about how to select accessories for your M Series device.
68-Pin M Series Cables and Accessories
This section describes some cable and accessory options for M Series devices with one or two
68-pin connectors. Refer to the following sections for descriptions of these cables and
accessories. Refer to