DAQmx M Series
DAQmx M Series
DAQmx M Series
Franais
Deutsch
ni.com/manuals
Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Worldwide Offices Australia 1800 300 800, Austria 43 662 457990-0, Belgium 32 (0) 2 757 0020, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 5050 9800, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00, Finland 358 (0) 9 725 72511, France 01 57 66 24 24, Germany 49 89 7413130, India 91 80 41190000, Israel 972 3 6393737, Italy 39 02 41309277, Japan 0120-527196, Korea 82 02 3451 3400, Lebanon 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 3390150, 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 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545 For further support information, refer to the Technical Support and Professional Services appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at ni.com/info and enter the info code feedback. 20042008 National Instruments Corporation. All rights reserved. Austin, Texas 78759-3504 USA Tel: 512 683 0100
Important Information
Warranty
M Series devices are warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor. The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free. A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty. National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it. EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owners failure to follow the National Instruments installation, operation, or maintenance instructions; owners modification of the product; owners abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable 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 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 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.
Trademarks
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks. FireWire is the registered trademark of Apple Computer, Inc. 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 National Instruments and have no agency, partnership, or joint-venture relationship with National Instruments.
Patents
For patents covering National Instruments products, refer to the appropriate location: HelpPatents in your software, the patents.txt file on your media, or ni.com/patents.
Compliance
Compliance with FCC/Canada Radio Frequency Interference Regulations
Determining FCC Class
The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products. Depending on where it is operated, this Class A product could be subject to restrictions in the FCC rules. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.) Digital electronics emit weak signals during normal operation that can affect radio, television, or other wireless products. All Class A products display a simple warning statement of one paragraph in length regarding interference and undesired operation. The FCC rules have restrictions regarding the locations where FCC Class A products can be operated. Consult the FCC Web site at www.fcc.gov for more information.
FCC/DOC Warnings
This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual and the CE marking Declaration of Conformity*, may cause interference to radio and television reception. Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by NI could void the users authority to operate the equipment under the FCC Rules.
Class A
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user is required to correct the interference at their own expense.
* The CE marking Declaration of Conformity contains important supplementary information and instructions for the user or installer.
Contents
About This Manual
Conventions ...................................................................................................................xv Related Documentation..................................................................................................xvi
Contents
vi
ni.com
Contents
When to Use Referenced Single-Ended (RSE) Connections with Ground-Referenced Signal Sources..............................................................4-21 Using Differential Connections for Ground-Referenced Signal Sources........4-22 Using Non-Referenced Single-Ended (NRSE) Connections for Ground-Referenced Signal Sources ..............................................................................................4-23 Field Wiring Considerations ..........................................................................................4-24 Analog Input Timing Signals.........................................................................................4-25 AI Sample Clock Signal ..................................................................................4-28 Using an Internal Source...................................................................4-28 Using an External Source..................................................................4-29 Routing AI Sample Clock Signal to an Output Terminal .................4-29 Other Timing Requirements..............................................................4-29 AI Sample Clock Timebase Signal..................................................................4-30 AI Convert Clock Signal .................................................................................4-30 Using an Internal Source...................................................................4-31 Using an External Source..................................................................4-31 Routing AI Convert Clock Signal to an Output Terminal ................4-32 Using a Delay from Sample Clock to Convert Clock .......................4-32 Other Timing Requirements..............................................................4-32 AI Convert Clock Timebase Signal.................................................................4-34 AI Hold Complete Event Signal......................................................................4-35 AI Start Trigger Signal ....................................................................................4-35 Using a Digital Source ......................................................................4-35 Using an Analog Source ...................................................................4-36 Routing AI Start Trigger to an Output Terminal ..............................4-36 AI Reference Trigger Signal ...........................................................................4-36 Using a Digital Source ......................................................................4-37 Using an Analog Source ...................................................................4-37 Routing AI Reference Trigger Signal to an Output Terminal ..........4-37 AI Pause Trigger Signal ..................................................................................4-38 Using a Digital Source ......................................................................4-38 Using an Analog Source ...................................................................4-38 Routing AI Pause Trigger Signal to an Output Terminal .................4-38 Getting Started with AI Applications in Software.........................................................4-38
vii
Contents
AO Start Trigger Signal .................................................................................. 5-7 Using a Digital Source...................................................................... 5-7 Using an Analog Source ................................................................... 5-7 Routing AO Start Trigger Signal to an Output Terminal ................. 5-8 AO Pause Trigger Signal ................................................................................ 5-8 Using a Digital Source...................................................................... 5-9 Using an Analog Source ................................................................... 5-9 Routing AO Pause Trigger Signal to an Output Terminal ............... 5-9 AO Sample Clock Signal ................................................................................ 5-10 Using an Internal Source .................................................................. 5-10 Using an External Source ................................................................. 5-10 Routing AO Sample Clock Signal to an Output Terminal ............... 5-10 Other Timing Requirements ............................................................. 5-10 AO Sample Clock Timebase Signal................................................................ 5-11 Getting Started with AO Applications in Software....................................................... 5-12
viii
ni.com
Contents
Chapter 7 Counters
Counter Input Applications............................................................................................7-2 Counting Edges ...............................................................................................7-2 Single Point (On-Demand) Edge Counting ......................................7-2 Buffered (Sample Clock) Edge Counting .........................................7-3 Controlling the Direction of Counting ..............................................7-4 Pulse-Width Measurement ..............................................................................7-4 Single Pulse-Width Measurement.....................................................7-4 Buffered Pulse-Width Measurement.................................................7-5 Period Measurement........................................................................................7-6 Single Period Measurement ..............................................................7-6 Buffered Period Measurement ..........................................................7-7 Semi-Period Measurement ..............................................................................7-8 Single Semi-Period Measurement.....................................................7-8 Buffered Semi-Period Measurement.................................................7-8 Frequency Measurement .................................................................................7-9 Choosing a Method for Measuring Frequency .................................7-13 Position Measurement .....................................................................................7-14 Measurements Using Quadrature Encoders......................................7-14 Measurements Using Two Pulse Encoders .......................................7-16 Buffered (Sample Clock) Position Measurement .............................7-17 Two-Signal Edge-Separation Measurement....................................................7-17 Single Two-Signal Edge-Separation Measurement ..........................7-18 Buffered Two-Signal Edge-Separation Measurement ......................7-18 Counter Output Applications .........................................................................................7-19 Simple Pulse Generation .................................................................................7-19 Single Pulse Generation ....................................................................7-19 Single Pulse Generation with Start Trigger ......................................7-20 Retriggerable Single Pulse Generation .............................................7-20 Pulse Train Generation ....................................................................................7-21 Continuous Pulse Train Generation ..................................................7-21 Finite Pulse Train Generation ...........................................................7-22 Frequency Generation .....................................................................................7-23 Using the Frequency Generator ........................................................7-23 Frequency Division .........................................................................................7-24 Pulse Generation for ETS................................................................................7-24 Counter Timing Signals .................................................................................................7-25 Counter n Source Signal..................................................................................7-26 Routing a Signal to Counter n Source...............................................7-26 Routing Counter n Source to an Output Terminal ............................7-27 Counter n Gate Signal .....................................................................................7-27 Routing a Signal to Counter n Gate ..................................................7-27
ix
Contents
Routing Counter n Gate to an Output Terminal ............................... 7-27 Counter n Aux Signal...................................................................................... 7-28 Routing a Signal to Counter n Aux .................................................. 7-28 Counter n A, Counter n B, and Counter n Z Signals ...................................... 7-28 Routing Signals to A, B, and Z Counter Inputs................................ 7-28 Routing Counter n Z Signal to an Output Terminal ......................... 7-28 Counter n Up_Down Signal............................................................................ 7-29 Counter n HW Arm Signal.............................................................................. 7-29 Routing Signals to Counter n HW Arm Input .................................. 7-29 Counter n Internal Output and Counter n TC Signals..................................... 7-29 Routing Counter n Internal Output to an Output Terminal .............. 7-30 Frequency Output Signal ................................................................................ 7-30 Routing Frequency Output to a Terminal......................................... 7-30 Default Counter/Timer Pinouts ..................................................................................... 7-30 Counter Triggering ........................................................................................................ 7-31 Other Counter Features.................................................................................................. 7-32 Cascading Counters......................................................................................... 7-32 Counter Filters................................................................................................. 7-32 Prescaling ........................................................................................................ 7-34 Duplicate Count Prevention ............................................................................ 7-34 Example Application That Works Correctly (No Duplicate Counting)7-35 Example Application That Works Incorrectly (Duplicate Counting)7-36 Example Application That Prevents Duplicate Count...................... 7-36 When To Use Duplicate Count Prevention ...................................... 7-37 Enabling Duplicate Count Prevention in NI-DAQmx...................... 7-37 Synchronization Modes................................................................................... 7-37 80 MHz Source Mode....................................................................... 7-38 Other Internal Source Mode ............................................................. 7-39 External Source Mode ...................................................................... 7-39
Chapter 8 PFI
Using PFI Terminals as Timing Input Signals .............................................................. 8-2 Exporting Timing Output Signals Using PFI Terminals............................................... 8-2 Using PFI Terminals as Static Digital I/Os ................................................................... 8-3 Connecting PFI Input Signals........................................................................................ 8-4 PFI Filters ...................................................................................................................... 8-4 I/O Protection ................................................................................................................ 8-6 Programmable Power-Up States.................................................................................... 8-6
ni.com
Contents
Chapter 11 Triggering
Triggering with a Digital Source ...................................................................................11-1 Triggering with an Analog Source.................................................................................11-2 APFI <0..1> Terminals....................................................................................11-2 Analog Input Channels ....................................................................................11-3 Analog Trigger Actions ....................................................................11-3 Routing Analog Comparison Event to an Output Terminal............................11-3 Analog Trigger Types ....................................................................................................11-4 Analog Trigger Accuracy ..............................................................................................11-7
xi
Contents
Appendix B Timing Diagrams Appendix C Troubleshooting Appendix D Upgrading from E Series to M Series Appendix E Technical Support and Professional Services Glossary Index
xii
ni.com
Contents
Device Pinouts
Figure A-1. Figure A-2. Figure A-3. Figure A-4. Figure A-5. Figure A-13. Figure A-14. Figure A-15. Figure A-16. Figure A-17. Figure A-18. Figure A-19. Figure A-27. Figure A-28. Figure A-29. Figure A-30. Figure A-39. Figure A-40. Figure A-41. Figure A-42. Figure A-43. Figure A-44. Figure A-45. Figure A-46. Figure A-55. Figure A-56. Figure A-57. Figure A-58. Figure A-59. Figure A-60. Figure A-61. Figure A-62. Figure A-63. PCI/PXI-6220 Pinout ............................................................................A-3 PCI/PXI-6221 (68-Pin) Pinout ..............................................................A-8 PCI-6221 (37-Pin) Pinout......................................................................A-12 USB-6221 Screw Terminal Pinout........................................................A-15 USB-6221 BNC Top Panel and Pinout .................................................A-17 PCI/PXI-6224 Pinout ............................................................................A-25 PCI/PXI-6225 Pinout ............................................................................A-31 USB-6225 Screw Terminal Pinout........................................................A-37 USB-6225 Mass Termination Pinout ....................................................A-40 PCI/PXI-6229 Pinout ............................................................................A-46 USB-6229 Screw Terminal Pinout........................................................A-52 USB-6229 BNC Top Panel and Pinout .................................................A-54 PCI/PXI-6250 Pinout ............................................................................A-61 NI PCI/PCIe/PXI/PXIe-6251 Pinout.....................................................A-66 USB-6251 Screw Terminal Pinout........................................................A-70 USB-6251 BNC Top Panel and Pinout .................................................A-72 USB-6251 Mass Termination Pinout ....................................................A-80 PCI/PXI-6254 Pinout ............................................................................A-85 PCI/PXI-6255 Pinout ............................................................................A-91 USB-6255 Screw Terminal Pinout........................................................A-97 USB-6255 Mass Termination Pinout ....................................................A-100 NI PCI/PCIe/PXI/PXIe-6259 Pinout.....................................................A-106 USB-6259 Screw Terminal Pinout........................................................A-112 USB-6259 BNC Top Panel and Pinout .................................................A-114 USB-6259 Mass Termination Pinout ....................................................A-122 PCI/PXI-6280 Pinout ............................................................................A-127 PCI/PXI-6281 Pinout ............................................................................A-132 USB-6281 Screw Terminal Pinout........................................................A-136 USB-6281 Mass Termination Pinout ....................................................A-139 PCI/PXI-6284 Pinout ............................................................................A-144 PCI/PXI-6289 Pinout ............................................................................A-150 USB-6289 Screw Terminal Pinout........................................................A-156 USB-6289 Mass Termination Pinout ....................................................A-159
xiii
Conventions
The following conventions are used in this manual: <> Angle brackets that contain numbers separated by an ellipsis represent a range of values associated with a bit or signal namefor example, AO <3..0>. The symbol leads you through nested menu items and dialog box options to a final action. The sequence FilePage SetupOptions 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 a system crash. When this symbol is marked on a product, refer to the Read Me First: Safety and Radio-Frequency Interference for information about precautions to take. bold Bold text denotes items that you must select or click in the software, such as menu items and dialog box options. Bold text also denotes parameter names. Italic text denotes variables, emphasis, a cross-reference, or an introduction to a key concept. Italic text also denotes text that is a placeholder for a word or value that you must supply. Text in this font denotes text or characters that you should enter from the keyboard, sections of code, programming examples, and syntax examples. This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions.
italic
monospace
xv
Platform
Text in this font denotes a specific platform and indicates that the text following it applies only to that platform.
Related Documentation
Each application software package and driver includes information about writing applications for taking measurements and controlling measurement devices. The following references to documents assume you have NI-DAQmx 8.7.1 or later, and where applicable, version 7.1 or later of the NI application software.
xvi
ni.com
Note All NI-DAQmx documentation for Linux is installed at /usr/local/natinst/ nidaqmx/docs. Note
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
xvii
acquisition and instrument control applications. Open the Getting Started with LabVIEW manual by selecting StartAll ProgramsNational InstrumentsLabVIEWLabVIEW Manuals or by navigating to the labview\manuals directory and opening LV_Getting_Started.pdf. Use the LabVIEW Help, available by selecting HelpSearch 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: Getting StartedGetting Started with DAQIncludes overview information and a tutorial to learn how to take an NI-DAQmx measurement in LabVIEW using the DAQ Assistant. VI and Function ReferenceMeasurement I/O VIs and FunctionsDescribes the LabVIEW NI-DAQmx VIs and properties. Taking MeasurementsContains the conceptual and how-to information you need to acquire and analyze measurement data in LabVIEW, including common measurements, measurement fundamentals, NI-DAQmx key concepts, and device considerations.
LabWindows/CVI
The Data Acquisition book of the LabWindows/CVI Help contains 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 HelpContents, then select Using LabWindows/CVIData Acquisition. The NI-DAQmx Library book of the LabWindows/CVI Help contains API overviews and function reference for NI-DAQmx. Select Library ReferenceNI-DAQmx Library in the LabWindows/CVI Help.
Measurement Studio
If you program your NI-DAQmx-supported device in Measurement Studio using Visual C++, 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 .NET. You can generate the configuration code 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.
xviii
ni.com
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 Measurement Studio Help, which is fully integrated with the Microsoft Visual Studio .NET help. To view this help file in Visual Studio. NET, select Measurement Studio NI Measurement Studio Help. To create an application in Visual C++, Visual C#, or Visual Basic .NET, follow these general steps: 1. 2. 3. In Visual Studio .NET, select FileNewProject to launch the New Project dialog box. Find the Measurement Studio folder for the language you want to create a program in. Choose a project type. You add DAQ tasks as a part of this step.
xix
LibraryUsing 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.
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.
You can download these documents at ni.com/manuals. 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 Incorporated Web site at www.adobe.com to download Acrobat Reader. Refer to the National Instruments Product Manuals Library at ni.com/manuals for updated documentation resources.
xx
ni.com
Getting Started
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. If you have not already installed your device, refer to the DAQ Getting Started Guide. For specifications arranged by M Series device family, refer to the specifications document for your device on ni.com/manuals. Before installing your DAQ device, you must install the software you plan to use with the device.
Installing NI-DAQmx
The DAQ Getting Started Guide, which you can download at 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.
1-1
Chapter 1
Getting Started
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. You can initiate self-calibration using Measurement & Automation Explorer (MAX), by completing the following steps. 1. 2. 3. Launch MAX. Select My SystemDevices and InterfacesNI-DAQmx Devicesyour device. 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 in version 8.0 or later.
Device Pinouts
Refer to Appendix A, Device-Specific Information, for M Series device pinouts.
Device Specifications
Refer to the specifications for your device, the NI 622x Specifications, the NI 625x Specifications, or the NI 628x Specifications, available on the NI-DAQ Device Document Browser or ni.com/manuals, for more detailed information about M Series devices.
1-2
ni.com
Chapter 1
Getting Started
be adhered to the inside cover of the USB-62xx Screw Terminal device with supplied velcro strips as shown in Figure 1-1.
1-3
Chapter 1
Getting Started
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-2. Thread a zip tie through the cable tie mount and tighten around the USB cable.
Figure 1-2. USB Cable Strain Relief on USB-62xx Screw Terminal and USB-62xx Mass Termination Devices
1-4
ni.com
Chapter 1
Getting Started
(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-3. The strain relief holes can also be used as cable management for signal wires to/from the screw terminals and BNC connectors.
1
1 2
2
3
1-5
Chapter 1
Getting Started
The security cable slot on the USB-62xx BNC may not be compatible with all antitheft cables.
1-6
ni.com
2
DAQ Hardware DAQ Software Personal Computer or PXI/PXI Express Chassis
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.
Signal Conditioning
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.
Analog Input
Analog Output I/O Connector Digital Routing and Clock Generation Bus Interface
Digital I/O
Bus
2-1
Chapter 2
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, software stores new constants in a user-modifiable section of the EEPROM. To return a device to its initial factory calibration settings, software can copy the factory-calibration constants to the user-modifiable section of the EEPROM. Refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information about using calibration constants.
2-2
ni.com
Chapter 2
For a detailed calibration procedure for M Series devices, refer to the B/E/M/S Series Calibration Procedure for NI-DAQmx by clicking Manual Calibration Procedures on ni.com/calibration.
Signal Conditioning
Many sensors and transducers require signal conditioning before a measurement system can effectively and accurately acquire the signal. The front-end signal conditioning system can include functions such as signal amplification, attenuation, filtering, electrical isolation, simultaneous sampling, and multiplexing. In addition, many transducers require excitation currents or voltages, bridge completion, linearization, or high amplification for proper and accurate operation. Therefore, most computer-based measurement systems include some form of signal conditioning in addition to plug-in data acquisition DAQ devices.
2-3
Chapter 2
Note SCXI is not supported on PCI-6221 (37-pin) or all variants of USB-622x/625x/628x devices.
SCC
SCC is a front-end signal conditioning system for M Series plug-in data acquisition devices. An SCC system consists of a shielded carrier that holds up to 20 single- or dual-channel SCC modules for conditioning thermocouples and other transducers. SCC is designed for small measurement systems where you need only a few channels of each signal type, or for portable applications. SCC systems also offer the most comprehensive and flexible signal connectivity options. System features include the following: Modular architectureSelect your measurement technology on a per-channel basis Small-channel systemsCondition up to 16 analog input and eight digital I/O lines Low-profile/portableIntegrates well with other laptop computer measurement technologies
2-4
ni.com
Chapter 2
High bandwidthAcquire signals at rates up to 1.25 MHz ConnectivityIncorporates panelette technology to offer custom connectivity to thermocouple, BNC, LEMO (B Series), and MIL-Spec connectors
Note PCI Express users should consider the power limits on certain SCC modules without an external power supply. Refer to the specifications for your device, and the PCI Express Device Disk Drive Power Connector section of Chapter 3, Connector and LED Information, for information about power limits and increasing the current the device can supply on the +5 V terminal. Note
SCC is not supported on the PCI-6221 (37-pin), USB-622x/625x/628x Screw Terminal, or USB-622x/625x BNC devices.
5B Series
5B is a front-end signal conditioning system for plug-in data acquisition devices. A 5B system consists of eight or 16 single-channel modules that plug into a backplane for conditioning thermocouples and other analog signals. National Instruments offers a complete line of 5B modules, carriers, backplanes, and accessories.
Note 5B is not supported on the PCI-6221 (37-pin), USB-622x/625x/628x Screw Terminal, or USB-622x/625x BNC devices. Note For more information about SCXI, SCC, and 5B Series products, refer to ni.com/ signalconditioning.
2-5
Chapter 2
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
For more specific information about these products, refer to ni.com. Refer to the Custom Cabling section of this chapter, the Field Wiring Considerations section of Chapter 4, Analog Input, and Appendix A, Device-Specific Information, for information about how to select accessories for your M Series device.
Custom Cabling
NI offers cables and accessories for many applications. However, if you want to develop your own cable, adhere to the following guidelines for best results: For AI signals, use shielded, twisted-pair wires for each AI pair of differential inputs. Connect the shield for each signal pair to the ground reference at the source. Route the analog lines separately from the digital lines. When using a cable shield, use separate shields for the analog and digital sections of the cable. Failure to do so results in noise coupling into the analog signals from transient digital signals.
For more information about the connectors used for DAQ devices, refer to the KnowledgeBase document, Specifications and Manufacturers for Board Mating Connectors, by going to ni.com/info and entering the info code rdspmb.
2-6
ni.com
Chapter 2
NI-DAQ 7.3 and later includes two NI-DAQ driversTraditional NI-DAQ (Legacy) and NI-DAQmx. M Series devices use the NI-DAQmx driver. Each driver has its own API, hardware configuration, and software configuration. Refer to the DAQ Getting Started Guide for more information about the two drivers. NI-DAQmx includes a collection of programming examples to help you get started developing an application. You can modify example code and save it in an application. You can use examples to develop a new application or add example code to an existing application. To locate LabVIEW and LabWindows/CVI examples, open the National Instruments Example Finder. In LabVIEW and LabWindows/CVI, select HelpFind Examples. Measurement Studio, Visual Basic, and ANSI C examples are located in the following directories: NI-DAQmx examples for Measurement Studio-supported languages are in the following directories:
MeasurementStudio\VCNET\Examples\NIDaq MeasurementStudio\DotNET\Examples\NIDaq
NI-DAQmx examples for ANSI C are in the NI-DAQ\Examples\ DAQmx ANSI C Dev directory
2-7
The I/O Connector Signal Descriptions, M Series and E Series Pinout Comparison, +5 V Power Source, PCI Express Device Disk Drive Power Connector, and RTSI Connector Pinout sections contain information about M Series connectors. The USB Device Fuse Replacement and LED Patterns sections refer to M Series USB device fuses and LEDs. Refer to Appendix A, Device-Specific Information, for device I/O connector pinouts.
3-1
Chapter 3
AI <0..79>
Varies
Input
AO <0..3> AO GND
AO GND
Output
3-2
ni.com
Chapter 3
D GND D GND
CHS GND*
NC
*
On NI 6225 devices, the reference for each AI <16..63> signal is AI SENSE 2, and each AI <64..79> signal is AI SENSE in NRSE mode. USB-62xx Screw Terminal users can connect the shield of a shielded cable to the chassis ground lug for a ground connection. The chassis ground lug is not available on all device versions.
3-3
Chapter 3
3-4
ni.com
Chapter 3
D GND
PFI 15/P2.7
On E Series devices, this is one of the D GND terminals. On M Series devices, this is the PFI 15/P2.7 terminal.
In NI-DAQmx, National Instruments has revised terminal names so they are easier to understand and more consistent among National Instruments hardware and software products. This column shows the NI-DAQmx terminal names (Traditional NI-DAQ (Legacy) terminal names are shown in parentheses).
Refer to Appendix D, Upgrading from E Series to M Series, for more information about the differences between these two device families.
3-5
Chapter 3
+5 V Power Source
The +5 V terminals on the I/O connector supply +5 V referenced to D GND. Use these terminals to power external circuitry. Newer revision M Series devices have a traditional fuse to protect the supply from overcurrent conditions. This fuse is not customer-replaceable; if the fuse permanently opens, return the device to NI for repair. Older revision M Series devices have a self-resetting fuse to protect the supply from overcurrent conditions. This fuse resets automatically within a few seconds after the overcurrent condition is removed. For more information about the self-resetting fuse and precautions to take to avoid improper connection of +5 V and ground terminals, refer to the KnowledgeBase document, Self-Resetting Fuse Additional Information, by going to ni.com/info and entering the info code pptc.
(USB-6281/6289 Devices) All USB-628x devices have a user-replaceable socketed fuse to protect the supply from overcurrent conditions. When an overcurrent condition occurs, check your cabling to the +5 V terminals and replace the fuse as described in the USB Device Fuse Replacement section. 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.
The power rating on most devices is +4.75 to +5.25 VDC at 1 A. Refer to the specifications document for your device to obtain the device power rating.
Note (NI PCIe-625x Devices) M Series PCI Express devices supply less than 1 A of +5 V power unless you use the disk drive power connector. Refer to the PCI Express Device Disk Drive Power Connector section for more information.
Note
3-6
ni.com
Chapter 3
The wire should be AWG 16 or larger solid copper wire with a maximum length of 1.5 m (5 ft). Attach the wire to the earth ground of the facilitys 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. You can attach a wire to the ground lug screw of any USB-62xx device, as shown in Figure 3-1.
NATIONAL INSTRUMENTS
ACTIVE READY ON OFF
NI USB-62xx
Multifunction I/O with Correlated Digital I/O for USB
Figure 3-1. Grounding a USB-62xx Device through the Ground Lug Screw
3-7
Chapter 3
wire to the chassis ground lug of certain USB-62xx Screw Terminal devices, as shown in Figure 3-2. The wire should be as short as possible.
Figure 3-2. 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 3-3. 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 3-3. Grounding a USB-62xx BNC Device through the CHS GND Screw Terminal
3-8
ni.com
Chapter 3
Refer to the specifications document for your device for more information about PCI Express power requirements and power limits.
3-9
Chapter 3
3.
Attach the PC disk drive power connector to the disk drive power connector on the device, as shown in Figure 3-4.
Note The power available on the disk drive power connectors in a computer can vary. For example, consider using a disk drive power connector that is not in the same power chain as the hard drive.
4. 5.
Replace the computer cover, and plug in and power on the computer. Self-calibrate the PCI Express DAQ device in MAX by following the instructions in the Device Self-Calibration section of Chapter 1, Getting Started.
Note
Connecting or disconnecting the disk drive power connector 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.
Littelfuse 0453002 (F 2A 250V) fuse that protects the device from overcurrent through the +5 V terminal(s).
(USB-622x/625x/628x Screw Terminal Devices) To replace a broken fuse in the
USB-62xx Screw Terminal, complete the following steps. 1. 2. Power down and unplug the device. Remove the USB cable and all signal wires from the device.
3-10
ni.com
Chapter 3
3. 4.
Loosen the four Phillips screws that attach the back lid to the enclosure, and remove the lid. Replace the broken fuse while referring to Figure 3-5 for the fuse locations.
5.
Take proper ESD precautions when handling the device. 2. Remove the USB cable and all BNC cables and signal wires from the device.
3-11
Chapter 3
3.
Remove both end pieces by unscrewing the four sockethead cap screws with a 7/64 in. hex wrench.
Note
The end pieces are attached using self-threading screws. Repeated screwing and unscrewing of self-threading screws will produce a compromised connection. 4. 5. 6. 7. 8. With a Phillips #2 screwdriver, remove the Phillips 4-40 screw adjacent to the USB connector. Remove the nut from the power connector. Remove the four Phillips 4-40 screws that attach the top panel to the enclosure, and remove the panel and connector unit. Replace the broken fuse while referring to Figure 3-6 for the fuse location. Replace the top panel, screws, nut, and end pieces.
the USB-62xx Mass Termination, complete the following steps. 1. 2. Power down and unplug the device. Remove the USB cable and signal cable(s) from the device.
3-12
ni.com
Chapter 3
3. 4.
Loosen the four Phillips screws that attach the lid to the enclosure and remove the lid. Replace the broken fuse while referring to Figure 3-7 for the fuse locations.
1 2
5.
3-13
Chapter 3
LED Patterns
(USB-622x/625x/628x Devices) All variants of M Series USB devices have
LEDs labeled ACTIVE and READY. The ACTIVE LED indicates activity over the bus. The READY LED indicates whether or not the device is configured. Table 3-3 shows the behavior of the LEDs.
Note
USB-62xx BNC devices also have a POWER (+5 V) LED on the top panel. The POWER (+5 V) LED indicates device power.
USB Device State The device is not powered. The device is powered but not connected to the host computer. The device is configured, but there is no activity over the bus. The device is configured and there is activity over the bus.
3-14
ni.com
Analog Input
4
NI-PGIA AI Lowpass Filter ADC AI FIFO AI Data Input Range Selection
I/O Connector
AI <0..n>
AI SENSE
The main blocks featured in the M Series analog input circuitry are as follows: I/O ConnectorYou can connect analog input signals to the M Series device through the I/O connector. The proper way to connect analog input signals depends on the analog input ground-reference settings, described in the Analog Input Ground-Reference Settings section. Also refer to Appendix A, Device-Specific Information, for device I/O connector pinouts. MuxEach M Series device has one analog-to-digital converter (ADC). The multiplexers (mux) route one AI channel at a time to the ADC through the NI-PGIA. Ground-Reference SettingsThe analog input ground-reference settings circuitry selects between differential, referenced single-ended, and non-referenced single-ended input modes. Each AI channel can use a different mode. Instrumentation Amplifier (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
4-1
Chapter 4
Analog Input
NI-PGIA can amplify or attenuate an AI signal to ensure that you use the maximum resolution of the ADC. M Series devices use the NI-PGIA to deliver high accuracy even when sampling multiple channels with small input ranges at fast rates. M Series devices can sample channels in any order at the maximum conversion rate, and you can individually program each channel in a sample with a different input range. A/D ConverterThe analog-to-digital converter (ADC) digitizes the AI signal by converting the analog voltage into a digital number. AI FIFOM Series devices can perform both single and multiple A/D conversions of a fixed or infinite number of samples. A large first-in-first-out (FIFO) buffer holds data during AI acquisitions to ensure that no data is lost. M Series devices can handle multiple A/D conversion operations with DMA, interrupts, or programmed I/O.
4-2
ni.com
Chapter 4
Analog Input
For more information about setting ranges, refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later. Table 4-1 shows the input ranges and resolutions supported by each M Series device family.
Table 4-1. M Series Input Range and Nominal Resolution
Nominal Resolution Assuming 5% Over Range 320 V 160 V 32 V 6.4 V 320 V 160 V 64 V 32 V 16 V 6.4 V 3.2 V 80.1 V 40.1 V 16.0 V 8.01 V 4.01 V 1.60 V 0.80 V
NI 625x
NI 628x
4-3
Chapter 4
Analog Input
The AI ground-reference setting determines how you should connect your AI signals to the M Series device. Refer to the Connecting Analog Input Signals section for more information.
4-4
ni.com
Chapter 4
Analog Input
Ground-reference settings are programmed on a per-channel basis. For example, you might configure the device to scan 12 channelsfour differentially-configured channels and eight single-ended channels. M Series devices implement the different analog input ground-reference settings by routing different signals to the NI-PGIA. The NI-PGIA is a differential amplifier. That is, the NI-PGIA amplifies (or attenuates) the difference in voltage between its two inputs. The NI-PGIA drives the ADC 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 Vin+ PGIA Vin + Vm Measured Voltage Vm = [Vin+ Vin] Gain
Signals Routed to the Positive Input of the NI-PGIA (Vin+) AI <0..79> AI <0..15> AI <16..79>
Signals Routed to the Negative Input of the NI-PGIA (Vin) AI GND AI SENSE AI SENSE 2* AI <8..15> AI <24..31> AI <40..47>, AI <56..63>, AI <72..79>
DIFF
* On NI 6225 devices, the reference for each AI <16..63> signal is AI SENSE 2, and each AI <64..79> signal is AI SENSE in NRSE mode.
4-5
Chapter 4
Analog Input
For differential measurements, AI 0 and AI 8 are the positive and negative inputs of differential analog input channel 0. For a complete list of signal pairs that form differential input channels, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
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 for any damage resulting from such signal connections.
To configure the input mode of your voltage measurement using the DAQ Assistant, use the Terminal Configuration drop-down list. Refer to the DAQ Assistant Help for more information about the DAQ Assistant. To configure the input mode of your voltage measurement using the NI-DAQmx C API, set the terminalConfig property. Refer to the NI-DAQmx C Reference Help for more information.
4-6
ni.com
Chapter 4
Analog Input
4-7
Chapter 4
Analog Input
transmission line effects, and noise. 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 Connecting Analog Input Signals section for more information. 3. Carefully Choose the Channel Scanning Order Avoid Switching from a Large to a Small Input RangeSwitching from a channel with a large input range to a channel with a small input range can greatly increase the settling time. Suppose a 4 V signal is connected to channel 0 and a 1 mV signal is connected to channel 1. The input range for channel 0 is 10 V to 10 V and the input range of channel 1 is 200 mV to 200 mV. When the multiplexer switches from channel 0 to channel 1, the input to the NI-PGIA switches from 4 V to 1 mV. The approximately 4 V step from 4 V to 1 mV is 1,000% of the new full-scale range. For a 16-bit device to settle within 0.0015% (15 ppm or 1 LSB) of the 200 mV full-scale range on channel 1, the input circuitry must settle to within 0.000031% (0.31 ppm or 1/50 LSB) of the 10 V range. Some devices can take many microseconds for the circuitry to settle this much. To avoid this effect, you should arrange your channel scanning order so that transitions from large to small input ranges are infrequent. In general, you do not need this extra settling time when the NI-PGIA is switching from a small input range to a larger input range. Insert Grounded Channel between Signal ChannelsAnother technique to improve settling time is to connect an input channel to ground. Then insert this channel in the scan list between two of your signal channels. The input range of the grounded channel should match the input range of the signal after the grounded channel in the scan list. Consider again the example above where a 4 V signal is connected to channel 0 and a 1 mV signal is connected to channel 1. Suppose the input range for channel 0 is 10 V to 10 V and the input range of channel 1 is 200 mV to 200 mV. You can connect channel 2 to AI GND (or you can use the internal ground; refer to Internal Channels in the NI-DAQmx Help). Set
4-8
ni.com
Chapter 4
Analog Input
the input range of channel 2 to 200 mV to 200 mV to match channel 1. Then scan channels in the order: 0, 2, 1. Inserting a grounded channel between signal channels improves settling time because the NI-PGIA adjusts to the new input range setting faster when the input is grounded. Minimize Voltage Step between Adjacent ChannelsWhen scanning between channels that have the same input range, the settling time increases with the voltage step between the channels. If you know the expected input range of your signals, you can group signals with similar expected ranges together in your scan list. For example, suppose all channels in a system use a 5 to 5 V input range. The signals on channels 0, 2, and 4 vary between 4.3 V and 5 V. The signals on channels 1, 3, and 5 vary between 4 V and 0 V. Scanning channels in the order 0, 2, 4, 1, 3, 5 produces more accurate results than scanning channels in the order 0, 1, 2, 3, 4, 5. 4. Avoid Scanning Faster Than NecessaryDesigning your system to scan at slower speeds gives the NI-PGIA more time to settle to a more accurate level. Here are two examples to consider: Example 1Averaging many AI samples can increase the accuracy of the reading by decreasing noise effects. In general, the more points you average, the more accurate the final result. However, you may choose to decrease the number of points you average and slow down the scanning rate. Suppose you want to sample 10 channels over a period of 20 ms and average the results. You could acquire 500 points from each channel at a scan rate of 250 kS/s. Another method would be to acquire 1,000 points from each channel at a scan rate of 500 kS/s. Both methods take the same amount of time. Doubling the number of samples averaged (from 500 to 1,000) decreases the effect of noise by a factor of 1.4 (the square root of 2). However, doubling the number of samples (in this example) decreases the time the NI-PGIA has to settle from 4 s to 2 s. In some cases, the slower scan rate system returns more accurate results. Example 2If the time relationship between channels is not critical, you can sample from the same channel multiple times and scan less frequently. For example, suppose an application requires averaging 100 points from channel 0 and averaging 100 points from channel 1. You could alternate reading between channelsthat is, read one point from channel 0, then one point
4-9
Chapter 4
Analog Input
from channel 1, and so on. You also could read all 100 points from channel 0 then read 100 points from channel 1. The second method switches between channels much less often and is affected much less by settling time.
Hardware-timed operations can be buffered or non-buffered. A buffer is a temporary storage in computer memory for to-be-generated samples. BufferedIn a buffered acquisition, data is moved from the DAQ devices onboard FIFO memory to a PC buffer using DMA or interrupts before it is transferred to application memory. Buffered acquisitions typically allow for much faster transfer rates than non-buffered acquisitions because data is moved in large blocks, rather than one point at a time. One property of buffered I/O operations is the sample mode. The sample mode can be either finite or continuous. Finite sample mode acquisition refers to the acquisition of a specific, predetermined number of data samples. Once the specified number of samples has been read in, the acquisition
4-10
ni.com
Chapter 4
Analog Input
stops. If you use a reference trigger, you must use finite sample mode. Continuous acquisition refers to the acquisition of an unspecified number of samples. Instead of acquiring a set number of data samples and stopping, a continuous acquisition continues until you stop the operation. Continuous acquisition is also referred to as double-buffered or circular-buffered acquisition. If data cannot be transferred across the bus fast enough, the FIFO becomes full. New acquisitions overwrite data in the FIFO before it can be transferred to host memory. The device generates an error in this case. With continuous operations, if the user program does not read data out of the PC buffer fast enough to keep up with the data transfer, the buffer could reach an overflow condition, causing an error to be generated. Non-bufferedIn non-buffered acquisitions, data is read directly from the FIFO on the device. Typically, hardware-timed, non-buffered operations are used to read single samples with known time increments between them.
Refer to the AI Start Trigger Signal, AI Reference Trigger Signal, and AI Pause Trigger Signal sections for information about these triggers. An analog or digital trigger can initiate these actions. All M Series devices support digital triggering, but some do not support analog triggering. To find your device triggering options, refer to the specifications document for your device.
4-11
Chapter 4
Analog Input
Floating Signal Sources (Not Connected to Building Ground) Examples: Ungrounded thermocouples Signal conditioning with isolated outputs Battery devices
Signal Source DAQ Device AI+
Signal Source
AI
AI
AI GND
AI GND
Signal Source AI
DAQ Device
Signal Source AI
DAQ Device
+
AI SENSE AI GND
+
AI SENSE AI GND
Signal Source
DAQ Device AI
NOT RECOMMENDED + +
AI GND Signal Source AI DAQ Device
VA
VB
AI GND
Refer to the Analog Input Ground-Reference Settings section for descriptions of the RSE, NRSE, and DIFF modes and software considerations. Refer to the Connecting Ground-Referenced Signal Sources section for more information.
4-12
ni.com
Chapter 4
Analog Input
DIFF signal connections reduce noise pickup and increase common-mode noise rejection. DIFF signal connections also allow input signals to float within the common-mode limits of the NI-PGIA. Refer to the Using Differential Connections for Floating Signal Sources section for more information about differential connections.
When to Use Non-Referenced Single-Ended (NRSE) Connections with Floating Signal Sources
Only use NRSE input connections if the input signal meets the following conditions: The input signal is high-level (greater than 1 V). The leads connecting the signal to the device are less than 3 m (10 ft).
DIFF input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions.
4-13
Chapter 4
Analog Input
In the single-ended modes, more electrostatic and magnetic noise couples into the signal connections than in DIFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the two signal conductors. Electrical coupling is a function of how much the electric field differs between the two conductors. With this type of connection, the NI-PGIA rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. Refer to the Using Non-Referenced Single-Ended (NRSE) Connections for Floating Signal Sources section for more information about NRSE connections.
When to Use Referenced Single-Ended (RSE) Connections with Floating Signal Sources
Only use RSE input connections if the input signal meets the following conditions: The input signal can share a common reference point, AI GND, with other signals that use RSE. The input signal is high-level (greater than 1 V). The leads connecting the signal to the device are less than 3 m (10 ft).
DIFF 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 DIFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the two signal conductors. Electrical coupling is a function of how much the electric field differs between the two conductors. With this type of connection, the NI-PGIA rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. Refer to the Using Referenced Single-Ended (RSE) Connections for Floating Signal Sources section for more information about RSE connections.
4-14
ni.com
Chapter 4
Analog Input
Figure 4-4. Differential Connections for Floating Signal Sources without Bias Resistors
4-15
Chapter 4
Analog Input
However, for larger source impedances, this connection leaves the DIFF signal path significantly off balance. Noise that couples electrostatically onto the positive line does not couple onto the negative line because it is connected to ground. This noise appears as a DIFF-mode signal instead of a common-mode signal, and thus appears in your data. In this case, instead of directly connecting the negative line to AI GND, connect the negative line to AI GND through a resistor that is about 100 times the equivalent source impedance. The resistor puts the signal path nearly in balance, so that about the same amount of noise couples onto both connections, yielding better rejection of electrostatically coupled noise. This configuration does not load down the source (other than the very high input impedance of the NI-PGIA).
M Series Device AI+ Floating Signal Source R is about 100 times source impedance of sensor + Vs AI R AI SENSE AI GND
Figure 4-5. Differential Connections for Floating Signal Sources with Single Bias Resistor
4-16
ni.com
Chapter 4
Analog Input
You can fully balance the signal path by connecting another resistor of the same value between the positive input and AI GND, as shown in Figure 4-6. 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. If, for example, the source impedance is 2 k and each of the two resistors is 100 k, the resistors load down the source with 200 k and produce a 1% gain error.
AI+ Bias Resistors (see text) Instrumentation Amplifier + PGIA AI Bias Current Return Paths Input Multiplexers AI SENSE AI GND I/O Connector M Series Device Configured in DIFF Mode Vm + Measured Voltage
+ Vs
Figure 4-6. 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. If the source is AC coupled (capacitively coupled), the NI-PGIA needs a resistor between the positive input and AI GND. If the source has low-impedance, choose a resistor that is large enough not to significantly load the source but small enough not to produce significant input offset voltage as a result of input bias current (typically 100 k to
4-17
Chapter 4
Analog Input
1 M). In this case, connect the negative input directly to AI GND. If the source has high output impedance, balance the signal path as previously described using the same value resistor on both the positive and negative inputs; be aware that there is some gain error from loading down the source, as shown in Figure 4-7.
AC Coupling AC Coupled Floating Signal Source + Vs AI AI SENSE AI GND M Series Device AI+
Figure 4-7. Differential Connections for AC Coupled Floating Sources with Balanced Bias Resistors
All of the bias resistor configurations discussed in the Using Differential Connections for Floating Signal Sources section apply to the NRSE bias resistors as well. Replace AI with AI SENSE in Figures 4-4, 4-5, 4-6,
4-18
ni.com
Chapter 4
Analog Input
and 4-7 for configurations with zero to two bias resistors. The noise rejection of NRSE mode is better than RSE mode because the AI SENSE connection is made remotely near the source. However, the noise rejection of NRSE mode is worse than DIFF mode because the AI SENSE connection is shared with all channels rather than being cabled in a twisted pair with the AI+ signal. Using the DAQ Assistant, you can configure the channels for RSE or NRSE input modes. Refer to the Configuring AI Ground-Reference Settings in Software section for more information about the DAQ Assistant.
AI <0..n>
Using the DAQ Assistant, you can configure the channels for RSE or NRSE input modes. Refer to the Configuring AI Ground-Reference Settings in Software section for more information about the DAQ Assistant.
4-19
Chapter 4
Analog Input
DIFF signal connections reduce noise pickup and increase common-mode noise rejection. DIFF signal connections also allow input signals to float within the common-mode limits of the NI-PGIA. Refer to the Using Differential Connections for Ground-Referenced Signal Sources section for more information about differential connections.
4-20
ni.com
Chapter 4
Analog Input
When to Use Non-Referenced Single-Ended (NRSE) Connections with Ground-Referenced Signal Sources
Only use non-referenced single-ended input connections if the input signal meets the following conditions: The input signal is high-level (greater than 1 V). The leads connecting the signal to the device are less than 3 m (10 ft). The input signal can share a common reference point with other signals.
DIFF 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 DIFF configurations. The coupling is the result of differences in the signal path. Magnetic coupling is proportional to the area between the two signal conductors. Electrical coupling is a function of how much the electric field differs between the two conductors. With this type of connection, the NI-PGIA rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground. Refer to the Using Non-Referenced Single-Ended (NRSE) Connections for Ground-Referenced Signal Sources section for more information about NRSE connections.
When to Use Referenced Single-Ended (RSE) Connections with Ground-Referenced Signal Sources
Do not use RSE connections with ground-referenced signal sources. Use NRSE or DIFF connections instead. As shown in the bottom-rightmost cell of Table 4-3, there can be a potential difference between AI GND and the ground of the sensor. In RSE mode, this ground loop causes measurement errors.
4-21
Chapter 4
Analog Input
AI+
+ Vs AI +
With this type of connection, the NI-PGIA rejects both the common-mode noise in the signal and the ground potential difference between the signal source and the device ground, shown as Vcm in the figure. AI+ and AI must both remain within 11 V of AI GND.
4-22
ni.com
Chapter 4
Analog Input
AI <0..15> or AI <16..n>
+ Vs +
Input Multiplexers Common+ Mode Vcm Noise and Ground Potential AI SENSE AI GND or AI SENSE 2
Figure 4-11. Single-Ended Connections for Ground-Referenced Signal Sources (NRSE Configuration)
AI+ and AI must both remain within 11 V of AI GND. To measure a single-ended, ground-referenced signal source, you must use the NRSE ground-reference setting. Connect the signal to one of AI <0..15> and connect the signal local ground reference to AI SENSE. You also can connect the signal to one of AI <16..79> and connect the signal local ground reference to AI SENSE 21. AI SENSE (or AI SENSE 2) is internally connected to the negative input of the NI-PGIA. Therefore, the ground point of the signal connects to the negative input of the NI-PGIA. Any potential difference between the device ground and the signal ground appears as a common-mode signal at both the positive and negative inputs of the NI-PGIA, and this difference is rejected by the amplifier. If the input circuitry of a device were referenced to ground, as it is in the RSE
On NI 6225 devices, the reference for each AI <16..63> signal is AI SENSE 2, and each AI <64..79> signal is AI SENSE in NRSE mode.
4-23
Chapter 4
Analog Input
ground-reference setting, this difference in ground potentials would appear as an error in the measured voltage. Using the DAQ Assistant, you can configure the channels for RSE or NRSE input modes. Refer to the Configuring AI Ground-Reference Settings in Software section for more information about the DAQ Assistant.
Refer to the NI Developer Zone document, Field Wiring and Noise Considerations for Analog Signals, for more information. To access this document, go to ni.com/info and enter the info code rdfwn3.
4-24
ni.com
Chapter 4
Analog Input
4-25
Chapter 4
Analog Input
M Series devices use AI Sample Clock (ai/SampleClock) and AI Convert Clock (ai/ConvertClock) to perform interval sampling. As Figure 4-13 shows, AI Sample Clock (ai/SampleClock) controls the sample period, which is determined by the following equation: 1/Sample Period = Sample Rate
Channel 0
AI Convert Clock controls the Convert Period, which is determined by the following equation: 1/Convert Period = Convert Rate Typically, this rate is the sampling rate for the task multiplied by the number of channels in the task.
Note
The sampling rate is the fastest you can acquire data on the device and still achieve accurate results. For example, if an M Series device has a sampling rate of 250 kS/s, this sampling rate is aggregateone channel at 250 kS/s or two channels at 125 kS/s per channel illustrates the relationship.
4-26
ni.com
Chapter 4
Analog Input
Posttriggered data acquisition allows you to view only data that is acquired after a trigger event is received. A typical posttriggered DAQ sequence is shown in Figure 4-14. The sample counter is loaded with the specified number of posttrigger samples, in this example, five. The value decrements with each pulse on AI Sample Clock, until the value reaches zero and all desired samples have been acquired.
Pretriggered data acquisition allows you to view data that is acquired before the trigger of interest, in addition to data acquired after the trigger. Figure 4-15 shows a typical pretriggered DAQ sequence. AI Start Trigger (ai/StartTrigger) can be either a hardware or software signal. If AI Start Trigger is set up to be a software start trigger, an output pulse appears on the ai/StartTrigger line when the acquisition begins. When the AI Start Trigger pulse occurs, the sample counter is loaded with the number of pretriggered samples, in this example, four. The value decrements with each pulse on AI Sample Clock, until the value reaches zero. The sample counter is then loaded with the number of posttriggered samples, in this example, three.
AI Start Trigger AI Reference Trigger AI Sample Clock AI Convert Clock Scan Counter 3 2 1 0 2 2 2 1 0 n/a
4-27
Chapter 4
Analog Input
If an AI Reference Trigger (ai/ReferenceTrigger) pulse occurs before the specified number of pretrigger samples are acquired, the trigger pulse is ignored. Otherwise, when the AI Reference Trigger pulse occurs, the sample counter value decrements until the specified number of posttrigger samples have been acquired. M Series devices feature the following analog input timing signals: AI Sample Clock Signal AI Sample Clock Timebase Signal AI Convert Clock Signal AI Convert Clock Timebase Signal AI Hold Complete Event Signal AI Start Trigger Signal AI Reference Trigger Signal AI Pause Trigger Signal
A programmable internal counter divides down the sample clock timebase. Several other internal signals can be routed to AI Sample Clock through RTSI. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information.
4-28
ni.com
Chapter 4
Analog Input
4-29
Chapter 4
Analog Input
AI Sample Clock Timebase is not available as an output on the I/O connector. AI Sample Clock Timebase is divided down to provide one of the possible sources for AI Sample Clock. You can configure the polarity selection for AI Sample Clock Timebase as either rising or falling edge.
4-30
ni.com
Chapter 4
Analog Input
With NI-DAQmx 7.4 and later, the driver chooses the fastest conversion rate possible based on the speed of the A/D converter and adds 10 s of padding between each channel to allow for adequate settling time. This scheme enables the channels to approximate simultaneous sampling and still allow for adequate settling time. If the AI Sample Clock rate is too fast to allow for this 10 s of padding, NI-DAQmx chooses the conversion rate so that the AI Convert Clock pulses are evenly spaced throughout the sample. With NI-DAQmx 7.3, the driver chooses a conversion rate so the AI Convert Clock pulses are evenly spaced throughout the sample. This allows for the maximum settling time between conversions. To approximate simultaneous sampling, manually increase the conversion rate. To explicitly specify the conversion rate, use AI Convert Clock Rate DAQmx Timing property node or function.
Caution Setting the conversion rate higher than the maximum rate specified for your device will result in errors.
A programmable internal counter divides down the AI Convert Clock Timebase to generate AI Convert Clock. The counter is started by AI Sample Clock and continues to count down to zero, produces an AI Convert Clock, reloads itself, and repeats the process until the sample is finished. It then reloads itself in preparation for the next AI Sample Clock pulse.
4-31
Chapter 4
Analog Input
AI Sample Clock
AI Convert Clock
Convert Period
4-32
ni.com
Chapter 4
Analog Input
Similarly, the device ignores all AI Convert Clock pulses until it recognizes an AI Sample Clock pulse. Once the device receives the correct number of AI Convert Clock pulses, it ignores subsequent AI Convert Clock pulses until it receives another AI Sample Clock. Figures 4-18, 4-19, 4-20, and 4-21 show timing sequences for a four-channel acquisition (using AI channels 0, 1, 2, and 3) and demonstrate proper and improper sequencing of AI Sample Clock and AI Convert Clock.
Figure 4-18. AI Sample Clock Pulses Are Gated Off; AI Sample Clock Too Fast For Convert Clock
Figure 4-19. AI Convert Clock Too Fast For AI Sample Clock; AI Convert Clock Pulses Are Gated Off
Sample #1
Sample #2
Figure 4-20. AI Sample Clock and AI Convert Clock Improperly Matched; Leads to Aperiodic Sampling
4-33
Chapter 4
Analog Input
It is also possible to use a single external signal to drive both AI Sample Clock and AI Convert Clock at the same time. In this mode, each tick of the external clock causes a conversion on the ADC. Figure 4-22 shows this timing relationship.
4-34
ni.com
Chapter 4
Analog Input
An acquisition that uses a start trigger (but not a reference trigger) is sometimes referred to as a posttriggered acquisition.
The source also can be one of several other 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. You also can specify whether the measurement acquisition begins on the rising edge or falling edge of AI Start Trigger.
4-35
Chapter 4
Analog Input
4-36
ni.com
Chapter 4
Analog Input
When the reference trigger occurs, the DAQ device continues to write samples to the buffer until the buffer contains the number of posttrigger samples desired. Figure 4-23 shows the final buffer.
Reference Trigger Pretrigger Samples
Complete Buffer
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. You also can specify whether the measurement acquisition stops on the rising edge or falling edge of AI Reference Trigger.
4-37
Chapter 4
Analog Input
The source also can be one of several other 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.
Pause triggers are only sensitive to the level of the source, not the edge.
You can perform these applications through DMA, interrupt, or programmed I/O data transfer mechanisms. Some of the applications also use start, reference, and pause triggers.
Note
For more information about programming analog input applications and triggers in software, refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
4-38
ni.com
Analog Output
5
DAC0
Many M Series devices have analog output functionality. M Series devices that support analog output have either two or four AO channels that are controlled by a single clock and are capable of waveform generation. Refer to Appendix A, Device-Specific Information, for information about the capabilities of your device. Figure 5-1 shows the analog output circuitry of M Series devices.
AO 0
AO 1
AO 2
DAC2
AO 3
DAC3
The main blocks featured in the M Series analog output circuitry are as follows: DACsDigital-to-analog converters (DACs) convert digital codes to analog voltages. AO FIFOThe AO FIFO enables analog output waveform generation. It is a first-in-first-out (FIFO) memory buffer between the computer and the DACs. It allows you to download the points of a waveform to your M Series device without host computer interaction.
5-1 M Series User Manual
Chapter 5
Analog Output
AO Sample ClockThe AO Sample Clock signal reads a sample from the DAC FIFO and generates the AO voltage. AO Offset and AO Reference SelectionAO offset and AO reference selection signals allow you to change the range of the analog outputs.
(AO GND). The AO reference is always 10 V. So, for NI 622x devices, the AO Range = 10 V.
(NI 625x Devices) On NI 625x devices, the AO offset is always 0 V
(AO GND). The AO reference of each analog output (AO <0..3>) can be individually set to one of the following: 10 V 5 V APFI <0..1>
You can connect an external signal to APFI <0..1> to provide the AO reference. The AO reference can be a positive or negative voltage. If AO reference is a negative voltage, the polarity of the AO output is inverted. The valid ranges of APFI <0..1> are listed in the device specifications. You can use one of the AO <0..3> signals to be the AO reference for a different AO signal. However, you must externally connect this channel to APFI 0 or APFI 1.
5-2
ni.com
Chapter 5
Analog Output
(NI 628x Devices) On NI 628x devices, the AO offset of each analog output can be individually set to one of the following:
You can connect an external signal to APFI <0..1> to provide the AO offset. You can route the output of one of the AO <0..3> signals to be the AO offset for a different AO <0..3> signal. For example, AO 0 can be routed to be the AO offset of AO 1. This route is done on the device; no external connections are required. You cannot route an AO channel to be its own offset. On NI 628x devices, the AO reference of each analog output can be individually set to one of the following: 10 V 5 V APFI <0..1> AO <0..3>
You can connect an external signal to APFI <0..1> to provide the AO reference. You can route the output of one of the AO <0..3> signals to be the AO reference for a different AO <0..3> signal. For example, AO 0 can be routed to be the AO reference of AO 1. This route is done on the device; no external connections are required. You cannot route an AO channel to be its own reference. The AO reference can be a positive or negative voltage. If AO reference is a negative voltage, the polarity of the AO output is inverted.
5-3
Chapter 5
Analog Output
changes. You can build a lowpass deglitching filter to remove some of these glitches, depending on the frequency and nature of the output signal. Visit ni.com/support for more information about minimizing glitches.
Hardware-timed operations can be buffered or non-buffered. A buffer is a temporary storage in computer memory for to-be-generated samples. Non-bufferedIn non-buffered acquisitions, data is written directly to the DACs on the device. Typically, hardware-timed, non-buffered operations are used to write single samples with good latency and known time increments between them. BufferedIn a buffered acquisition, data is moved from a PC buffer to the DAQ devices onboard FIFO using DMA or interrupts for NI PCI/PCIe/PXI/PXIe devices or USB Signal Streams for USB devices before it is written to the DACs one sample at a time. Buffered acquisitions typically allow for much faster transfer rates than non-buffered acquisitions because data is moved in large blocks, rather than one point at a time. One property of buffered I/O operations is the sample mode. The sample mode can be either finite or continuous.
5-4
ni.com
Chapter 5
Analog Output
Finite sample mode generation refers to the generation of a specific, predetermined number of data samples. Once the specified number of samples has been written out, the generation stops. Continuous generation refers to the generation of an unspecified number of samples. Instead of generating a set number of data samples and stopping, a continuous generation continues until you stop the operation. There are several different methods of continuous generation that control what data is written. These methods are regeneration, FIFO regeneration and non-regeneration modes. Regeneration is the repetition of the data that is already in the buffer. Standard regeneration is when data from the PC buffer is continually downloaded to the FIFO to be written out. New data can be written to the PC buffer at any time without disrupting the output. With FIFO regeneration, the entire buffer is downloaded to the FIFO and regenerated from there. Once the data is downloaded, new data cannot be written to the FIFO. To use FIFO regeneration, the entire buffer must fit within the FIFO size. The advantage of using FIFO regeneration is that it does not require communication with the main host memory once the operation is started, thereby preventing any problems that may occur due to excessive bus traffic. With non-regeneration, old data is not repeated. New data must be continually written to the buffer. If the program does not write new data to the buffer at a fast enough rate to keep up with the generation, the buffer underflows and causes an error.
An analog or digital trigger can initiate these actions. All M Series devices support digital triggering, but some do not support analog triggering. To find your devices triggering options, refer to the specifications document for your device. Refer to the AO Start Trigger Signal and AO Pause Trigger Signal sections for more information about these triggering actions.
5-5
Chapter 5
Analog Output
AO GND
Load
V OUT +
AO 3
Channel 3
M Series Device
M Series Device
PFI, RTSI PXI_STAR Analog Comparison Event 20 MHz Timebase 100 kHz Timebase PXI_CLK10 AO Sample Clock Timebase
AO Sample Clock
5-6
ni.com
Chapter 5
Analog Output
M Series devices feature the following AO (waveform generation) timing signals: AO Start Trigger Signal AO Pause Trigger Signal AO Sample Clock Signal AO Sample Clock Timebase 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. You also can specify whether the waveform generation begins on the rising edge or falling edge of AO Start Trigger.
5-7
Chapter 5
Analog Output
Pause Trigger
Sample Clock
If you are using any signal other than the onboard clock as the source of your sample clock, the generation resumes as soon as the pause trigger is deasserted and another edge of the sample clock is received, as shown in Figure 5-5.
5-8
ni.com
Chapter 5
Analog Output
Pause Trigger
Sample Clock
The source also can be one of several other 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. You also can specify whether the samples are paused when AO Pause Trigger is at a logic high or low level.
5-9
Chapter 5
Analog Output
A programmable internal counter divides down the AO Sample Clock Timebase signal.
5-10
ni.com
Chapter 5
Analog Output
AO Sample Clock Timebase is not available as an output on the I/O connector. You might use AO Sample Clock Timebase if you want to use an external sample clock signal, but need to divide the signal down. If you want to use an external sample clock signal, but do not need to divide the signal, then you should use AO Sample Clock rather than AO Sample Clock Timebase.
5-11
Chapter 5
Analog Output
You can perform these generations through programmed I/O, interrupt, or DMA data transfer mechanisms. Some of the applications also use start triggers and pause triggers.
Note
For more information about programming analog output applications and triggers in software, refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
5-12
ni.com
Digital I/O
6
M Series devices contain up to 32 lines of bidirectional DIO signals on Port 0. In addition, M Series devices have up to 16 PFI signals that can function as static DIO signals. M Series devices support the following DIO features on Port 0: Up to 32 lines of DIO Direction and function of each terminal individually controllable Static digital input and output High-speed digital waveform generation High-speed digital waveform acquisition DI change detection trigger/interrupt
6-1
Chapter 6
Digital I/O
Figure 6-1 shows the circuitry of one DIO line. Each DIO line is similar. The following sections provide information about the various parts of the DIO circuit.
Static DO Buffer I/O Protection DO.x Direction Control Static DI DI Waveform Measurement FIFO DI Sample Clock DI Change Detection Weak Pull-Down P0.x
The DIO terminals are named P0.<0..31> on the M Series device I/O connector. The voltage input and output levels and the current drive levels of the DIO lines are listed in the specifications of your device.
Static DIO
Each of the M Series DIO lines can be used as a static DI or DO line. You can use static DIO lines to monitor or control digital signals. Each DIO can be individually configured as a digital input (DI) or digital output (DO). All samples of static DI lines and updates of DO lines are software-timed.
6-2
ni.com
Chapter 6
Digital I/O
P0.6 and P0.7 on 68-pin M Series devices also can control the up/down input of general-purpose counters 0 and 1, respectively. However, it is recommended that you use PFI signals to control the up/down input of the counters. The up/down control signals, Counter 0 Up_Down and Counter 1 Up_Down, are input-only and do not affect the operation of the DIO lines.
DI Sample Clock
Similarly, if you are using AO Sample Clock as the source of DI Sample Clock, then AO Start Trigger initiates both AO and DI operations. If you are using a Counter output as the source of DI Sample Clock, the counters start trigger, enables the counter which drives DI Sample Clock. If you are using an external signal (such as PFI x) as the source for DI Sample Clock or DO Sample Clock, you must trigger that external signal.
6-3
Chapter 6
Digital I/O
6-4
ni.com
Chapter 6
Digital I/O
Several other internal signals can be routed to DI Sample Clock through RTSI. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information.
You can sample data on the rising or falling edge of DI Sample Clock.
6-5
Chapter 6
Digital I/O
correlate digital and analog samples in time by sharing your AI Sample Clock or AO Sample Clock as the source of your DO Sample Clock. To generate digital data independent of an AI, AO, or DI operation, you can configure a counter to generate the desired DO Sample Clock or use an external signal as the source of the clock. If the DAQ device receives a DO Sample Clock when the FIFO is empty, the DAQ device reports an underflow error to the host software.
Several other internal signals can be routed to DO Sample Clock through RTSI. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information.
You can generate samples on the rising or falling edge of DO Sample Clock. You must ensure that the time between two active edges of DO Sample Clock is not too short. If the time is too short, the DO waveform generation FIFO is not able to read the next sample fast enough. The DAQ device reports an overrun error to the host software.
6-6
ni.com
Chapter 6
Digital I/O
I/O Protection
Each DIO 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: If you configure a PFI or DIO line as an output, do not connect it to any external signal source, ground, or power supply. If you configure a PFI or DIO line as an output, understand the current requirements of the load connected to these signals. Do not exceed the specified current output limits of the DAQ device. NI has several signal conditioning solutions for digital applications requiring high current drive. If you configure a PFI or DIO line as an input, do not drive the line with voltages outside of its normal operating range. The PFI or DIO lines have a smaller operating range than the AI signals. Treat the DAQ device as you would treat any static sensitive device. Always properly ground yourself and the equipment when handling the DAQ device or connecting to it.
Refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information about setting power-up states in NI-DAQmx or MAX.
6-7
Chapter 6
Digital I/O
Note When using your M Series device to control an SCXI chassis, DIO lines 0, 1, 2, and 4 are used as communication lines and must be left to power-up in the default high-impedance state to avoid potential damage to these signals.
DI Change Detection
You can configure the DAQ device to detect changes in the DIO signals. Figure 6-3 shows a block diagram of the DIO change detection circuitry.
P0.0
Synch
Enable
P0.31
Synch
Enable
Enable
DI change detection is supported by NI-DAQmx 8.0 and later. You can enable the DIO change detection circuitry to detect rising edges, falling edges, or either edge individually on each DIO line. The DAQ devices synchronize each DI signal to 80MHzTimebase, and then sends the signal to the change detectors. The circuitry ORs the output of all enabled change detectors from every DI signal. The result of this OR is the Change Detection Event signal.
6-8
ni.com
Chapter 6
Digital I/O
The Change Detection Event signal can do the following: Drive any RTSI <0..7>, PFI <0..15>, or PXI_STAR signal Drive the DO Sample Clock or DI Sample Clock Generate an interrupt
The Change Detection Event signal also can be used to detect changes on digital output events.
6-9
Chapter 6
Digital I/O
+5 V LED
P1.<4..7>
P1.<0..3>
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.
Note For more information about programming digital I/O applications and triggers in software, refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
6-10
ni.com
Counters
7
M Series devices have two general-purpose 32-bit counter/timers and one frequency generator, as shown in Figure 7-1. The general-purpose counter/timers can be used for many measurement and pulse generation applications.
Counter 0 Counter 0 Source (Counter 0 Timebase) Counter 0 Gate Counter 0 Aux Counter 0 HW Arm Counter 0 A Counter 0 B (Counter 0 Up_Down) Counter 0 Z Counter 0 TC Counter 0 Internal Output
Counter 1 Counter 1 Source (Counter 1 Timebase) Counter 1 Gate Counter 1 Aux Counter 1 HW Arm Counter 1 A Counter 1 B (Counter 1 Up_Down) Counter 1 Z Counter 0 TC Counter 0 Internal Output
7-1
Chapter 7
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 Armed
You also can use a pause trigger to pause (or gate) the counter. When the pause trigger is active, the counter ignores edges on its Source input. When the pause trigger is inactive, the counter counts edges normally. You can route the pause trigger to the Gate input of the counter. You can configure the counter to pause counting when the pause trigger is high or when it is low. Figure 7-3 shows an example of on-demand edge counting with a pause trigger.
7-2
ni.com
Chapter 7
Counters
Counter Armed Pause Trigger (Pause When Low) SOURCE Counter Value 0 0 1 2 3 4 5
Figure 7-3. Single Point (On-Demand) Edge Counting with Pause Trigger
Counter Armed Sample Clock (Sample on Rising Edge) SOURCE Counter Value Buffer 0 1 2 3 4
3
7
3 6
7-3
Chapter 7
Counters
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
Pulse-Width Measurement
In pulse-width measurements, the counter measures the width of a pulse on its Gate input signal. You can configure the counter to measure the width of high pulses or low pulses on the Gate signal. You can route an internal or external periodic clock signal (with a known period) to the Source input of the counter. The counter counts the number of rising (or falling) edges on the Source signal while the pulse on the Gate signal is active. You can calculate the pulse width by multiplying the period of the Source signal by the number of edges returned by the counter. A pulse-width measurement will be accurate even if the counter is armed while a pulse train is in progress. If a counter is armed while the pulse is in the active state, it will wait for the next transition to the active state to begin the measurement.
7-4
ni.com
Chapter 7
Counters
GATE
SOURCE
3
3
2
3 2
7-5
Chapter 7
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, 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. You can configure the counter to measure the period between two rising edges or two falling edges of the Gate input signal. You can route an internal or external periodic clock signal (with a known period) to the Source input of the counter. The counter counts the number of rising (or falling) edges occurring on the Source input between the two active edges of the Gate signal. You can calculate the period of the Gate input by multiplying the period of the Source signal by the number of edges returned by the counter.
7-6
ni.com
Chapter 7
Counters
GATE
1 3 2 (Discard)
3 3
2 2 (Discard) Buffer
3 2 (Discard)
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, 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.
7-7
Chapter 7
Counters
Semi-Period Measurement
In semi-period measurements, the counter measures a semi-period on its Gate input signal after the counter is armed. A semi-period is the time between any two consecutive edges on the Gate input. You can route an internal or external periodic clock signal (with a known period) to the Source input of the counter. The counter counts the number of rising (or falling) edges occurring on the Source input between two edges of the Gate signal. You can calculate the semi-period of the Gate input by multiplying the period of the Source signal by the number of edges returned by the counter.
1 12
3 1
2 22
3 1 2
7-8
ni.com
Chapter 7
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, 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.
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 CounterIn this method, you measure one period of your signal using a known timebase. This method is good for low frequency signals. You can route the signal to measure (F1) to the Gate of a counter. You can route a known timebase (Ft) to the Source of the counter. The known timebase can be 80MHzTimebase. For signals that might be slower than 0.02 Hz, use a slower known timebase. You can configure the counter to measure one period of the gate signal. The frequency of F1 is the inverse of the period. Figure 7-10 illustrates this method.
Interval Measured F1 F1 Ft Gate 1 Source Single Period Measurement Ft Period of F1 = N Ft Ft N 2 3 N
Frequency of F1 =
7-9
Chapter 7
Counters
Method 1b: Measure Low Frequency with One Counter (Averaged)In this method, you measure several periods of your signal using a known timebase. This method is good for low to medium frequency signals. You can route the signal to measure (F1) to the Gate of a counter. You can route a known timebase (Ft) to the Source of the counter. The known timebase can be 80MHzTimebase. For signals that might be slower than 0.02 Hz, use a slower known timebase. You can configure the counter to make K + 1 buffered period measurements. Recall that the first period measurement in the buffer should be discarded. Average the remaining K period measurements to determine the average period of F1. The frequency of F1 is the inverse of the average period. Figure 7-11 illustrates this method.
Intervals Measured T2 TK
N1 + N2 + NK K K Ft
1 Ft
N1 + N2 + NK
7-10
ni.com
Chapter 7
Counters
Method 2: Measure High Frequency with Two CountersIn 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. You can generate the pulse using a second counter. You also can generate the pulse externally and connect it to a PFI or RTSI terminal. You only need to use one counter if you generate the pulse externally. Route the signal to measure (F1) to the Source of the counter. Configure the counter for a single pulse-width measurement. If you measure the width of pulse T to be N periods of F1, the frequency of F1 is N/T. Figure 7-12 illustrates this method. Another option is to measure the width of a known period instead of a known pulse.
Width of Pulse (T) Pulse
Pulse F1
Frequency of F1 =
7-11
Chapter 7
Counters
Method 3: Measure Large Range of Frequencies Using Two CountersBy using two counters, you can accurately measure a signal that might be high or low frequency. This technique is called reciprocal frequency measurement. In this method, you generate a long pulse using the signal to measure. You then measure the long pulse with a known timebase. The M Series device can measure this long pulse more accurately than the faster input signal. You can route the signal to measure to the Source input of Counter 0, as shown in Figure 7-13. Assume this signal to measure has frequency F1. Configure Counter 0 to generate a single pulse that is the width of N periods of the source input signal.
Signal to Measure (F1)
SOURCE COUNTER 0
OUT
OUT
3 N
Interval to Measure
Then, route the Counter 0 Internal Output signal to the Gate input of Counter 1. You can route a signal of known frequency (F2) to the Counter 1 Source input. F2 can be 80MHzTimebase. For signals that might be slower than 0.02 Hz, use a slower known timebase. Configure Counter 1 to perform a single pulse-width measurement. Suppose the result is that the pulse width is J periods of the F2 clock. 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).
M Series User Manual 7-12 ni.com
Chapter 7
Counters
Task Actual Frequency to Measure Timebase Frequency Actual Number of Timebase Periods Worst Case Measured Number of Timebase Periods Measured Frequency Error Error %
Equation F1 Ft Ft/F1 (Ft/F1) 1 Ft F1/(Ft F1) [Ft F1/(Ft F1)] F1 [Ft/(Ft F1)] 1
Method 1b (measuring K periods of F1) improves the accuracy of the measurement. A disadvantage of Method 1b is that you have to take K + 1 measurements. These measurements take more time and consume some of the available PCI or PXI bandwidth. Method 2 is accurate for high frequency signals. However, the accuracy decreases as the frequency of the signal to measure decreases. At very low frequencies, Method 2 may be too inaccurate for your application. Another disadvantage of Method 2 is that it requires two counters (if you cannot provide an external signal of
7-13
Chapter 7
Counters
known width). An advantage of Method 2 is that the measurement completes in a known amount of time. Method 3 measures high and low frequency signals accurately. However, it requires two counters.
Method 1 1b 2 3
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
Position Measurement
You can use the counters to perform position measurements with quadrature encoders or two-pulse encoders. You can measure angular position with X1, X2, and X4 angular encoders. Linear position can be measured with two-pulse encoders. You can choose to do either a single point (on-demand) position measurement or a buffered (sample clock) position measurement. You must arm a counter to begin position measurements.
Chapter 7
Counters
Figure 7-14 shows a quadrature cycle and the resulting increments and decrements for X1 encoding. When channel A leads channel B, the increment occurs on the rising edge of channel A. When channel B leads channel A, the decrement occurs on the falling edge of channel A.
Ch A Ch B Counter Value 5 6 7 7 6 5
X2 EncodingThe same behavior holds for X2 encoding except the counter increments or decrements on each edge of channel A, depending on which channel leads the other. Each cycle results in two increments or decrements, as shown in Figure 7-15.
Ch A Ch B Counter Value 5 6 7 8 9 9 8 7 6 5
X4 EncodingSimilarly, the counter increments or decrements on each edge of channels A and B for X4 encoding. Whether the counter increments or decrements depends on which channel leads the other. Each cycle results in four increments or decrements, as shown in Figure 7-16.
Ch A Ch B Counter Value 5 6 7 8 9 10 11 12 13 13 12 11 10 9 8 7 6 5
Channel Z Behavior
Some quadrature encoders have a third channel, channel Z, which is also referred to as the index channel. A high level on channel Z causes the counter to be reloaded with a specified value in a specified phase of the quadrature cycle. You can program this reload to occur in any one of the four phases in a quadrature cycle.
7-15
Chapter 7
Counters
Channel Z behaviorwhen it goes high and how long it stays highdiffers with quadrature encoder designs. You must refer to the documentation for your quadrature encoder to obtain timing of channel Z with respect to channels A and B. You must then ensure that channel Z is high during at least a portion of the phase you specify for reload. For instance, in Figure 7-17, channel Z is never high when channel A is high and channel B is low. Thus, the reload must occur in some other phase. In Figure 7-17, the reload phase is when both channel A and channel B are low. The reload occurs when this phase is true and channel Z is high. Incrementing and decrementing takes priority over reloading. Thus, when the channel B goes low to enter the reload phase, the increment occurs first. The reload occurs within one maximum timebase period after the reload phase becomes true. After the reload occurs, the counter continues to count as before. The figure illustrates channel Z reload with X4 decoding.
Ch A Ch B Ch Z Max Timebase Counter Value
5 6 7 8 9 0 1 2 3 4
7-16
ni.com
Chapter 7
Counters
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
1
1
4
1 4
7-17
Chapter 7
Counters
You can configure the rising or falling edge of the Aux input to be the active edge. You can configure the rising or falling edge of the Gate input to be the active edge. Use this type of measurement to count events or measure the time that occurs between edges on two signals. This type of measurement is sometimes referred to as start/stop trigger measurement, second gate measurement, or A-to-B measurement.
8 8
7-18
ni.com
Chapter 7
Counters
3
3 3
3
3 3 3
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
7-19
Chapter 7
Counters
Figure 7-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 OUT
7-20
ni.com
Chapter 7
Counters
You can route the Start Trigger signal to the Gate input of the counter. You can specify a delay from the Start Trigger to the beginning of each pulse. You also can specify the pulse width. The delay and pulse width are measured in terms of a number of active edges of the Source input. The counter ignores the Gate input while a pulse generation is in progress. After the pulse generation is finished, the counter waits for another Start Trigger signal to begin another pulse generation. Figure 7-24 shows a generation of two pulses with a pulse delay of five and a pulse width of three (using the rising edge of Source).
GATE (Start Trigger) SOURCE OUT
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
7-21
Chapter 7
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 7-25 shows a continuous pulse train generation (using the rising edge of Source).
Continuous pulse train generation is sometimes called frequency division. If the high and low pulse widths of the output signal are M and N periods, then the frequency of the Counter n Internal Output signal is equal to the frequency of the Source input divided by M + N. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
7-22
ni.com
Chapter 7
Counters
Frequency Generation
You can generate a frequency by using a counter in pulse train generation mode or by using the frequency generator circuit.
20 MHz Timebase
The frequency generator generates the Frequency Output signal. The Frequency Output signal is the Frequency Output Timebase divided by a number you select from 1 to 16. The Frequency Output Timebase can be either the 20 MHz Timebase divided by 2 or the 100 kHz Timebase. The duty cycle of Frequency Output is 50% if the divider is either 1 or an even number. For an odd divider, suppose the divider is set to D. In this case, Frequency Output is low for (D + 1)/2 cycles and high for (D 1)/2 cycles of the Frequency Output Timebase. Figure 7-28 shows the output waveform of the frequency generator when the divider is set to 5.
Frequency Output Timebase FREQ OUT (Divisor = 5)
7-23
Chapter 7
Counters
Frequency Output can be routed out to any PFI <0..15> or RTSI <0..7> 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. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
Frequency Division
The counters can generate a signal with a frequency that is a fraction of an input signal. This function is equivalent to continuous pulse train generation. Refer to the Continuous Pulse Train Generation section for detailed information. For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
7-24
ni.com
Chapter 7
Counters
The waveform thus produced at the counters output can be used to provide timing for undersampling applications where a digitizing system can sample repetitive waveforms that are higher in frequency than the Nyquist frequency of the system. Figure 7-29 shows an example of pulse generation for ETS; the delay from the trigger to the pulse increases after each subsequent Gate active edge.
GATE OUT D1 D2 = D1 + D D3 = D1 + 2D
For information about connecting counter signals, refer to the Default Counter/Timer Pinouts section.
In this section, n refers to either Counter 0 or 1. For example, Counter n Source refers to two signalsCounter 0 Source (the source input to Counter 0) and Counter 1 Source (the source input to Counter 1).
7-25
Chapter 7
Counters
Application Pulse Generation One Counter Time Measurements Two Counter Time Measurements Non-Buffered Edge Counting Buffered Edge Counting Two-Edge Separation
Purpose of Source Terminal Counter Timebase Counter Timebase Input Terminal Input Terminal Input Terminal Counter Timebase
In addition, Counter 1 TC or Counter 1 Gate can be routed to Counter 0 Source. Counter 0 TC or Counter 0 Gate can be routed to Counter 1 Source. Some of these options may not be available in some driver software.
7-26
ni.com
Chapter 7
Counters
In addition, Counter 1 Internal Output or Counter 1 Source can be routed to Counter 0 Gate. Counter 0 Internal Output or Counter 0 Source can be routed to Counter 1 Gate. Some of these options may not be available in some driver software.
7-27
Chapter 7
Counters
In addition, Counter 1 Internal Output, Counter 1 Gate, Counter 1 Source, or Counter 0 Gate can be routed to Counter 0 Aux. Counter 0 Internal Output, Counter 0 Gate, Counter 0 Source, or Counter 1 Gate can be routed to Counter 1 Aux. Some of these options may not be available in some driver software.
7-28
ni.com
Chapter 7
Counters
Counter 1 Internal Output can be routed to Counter 0 HW Arm. Counter 0 Internal Output can be routed to Counter 1 HW Arm. Some of these options may not be available in some driver software.
7-29
Chapter 7
Counters
With pulse or pulse train generation tasks, the counter drives the pulse(s) on the Counter n Internal Output signal. The Counter n Internal Output signal can be internally routed to be a counter/timer input or an external source for AI, AO, DI, or DO timing signals.
Counter/Timer Signal CTR 0 SRC CTR 0 GATE CTR 0 AUX CTR 0 OUT CTR 0 A CTR 0 Z CTR 0 B
Default Connector 0 Pin Number (Name) 37 (PFI 8) 3 (PFI 9) 45 (PFI 10) 2 (PFI 12) 37 (PFI 8) 3 (PFI 9) 45 (PFI 10)
7-30
ni.com
Chapter 7
Counters
Counter/Timer Signal CTR 1 SRC CTR 1 GATE CTR 1 AUX CTR 1 OUT CTR 1 A CTR 1 Z CTR 1 B FREQ OUT
Default Connector 0 Pin Number (Name) 42 (PFI 3) 41 (PFI 4) 46 (PFI 11) 40 (PFI 13) 42 (PFI 3) 41 (PFI 4) 46 (PFI 11) 1 (PFI 14)
You can use these defaults or select other sources and destinations for the counter/timer signals in NI-DAQmx. Refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information about how to connect your signals for common counter measurements and generations. M Series default PFI lines for counter functions are listed in Physical Channels in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
Counter Triggering
Counters support three different triggering actions: Arm Start TriggerTo begin any counter input or output function, you must first enable, or arm, the counter. Software can arm a counter or configure counters to be armed on a hardware signal. Software calls this hardware signal the Arm Start Trigger. Internally, software routes the Arm Start Trigger to the Counter n HW Arm input of the counter. For counter output operations, you can use it in addition to the start and pause triggers. For counter input operations, you can use the arm start trigger to have start trigger-like behavior. The arm start trigger can be used for synchronizing multiple counter input and output tasks. When using an arm start trigger, the arm start trigger source is routed to the Counter n HW Arm signal.
7-31
Chapter 7
Counters
Start TriggerFor counter output operations, a start trigger can be configured to begin a finite or continuous pulse generation. Once a continuous generation has triggered, the pulses continue to generate until you stop the operation in software. For finite generations, the specified number of pulses is generated and the generation stops unless you use the retriggerable attribute. When you use this attribute, subsequent start triggers cause the generation to restart. When using a start trigger, the start trigger source is routed to the Counter n Gate signal input of the counter. Counter input operations can use the arm start trigger to have start trigger-like behavior.
Pause TriggerYou can use pause triggers in edge counting and continuous pulse generation applications. For edge counting acquisitions, the counter stops counting edges while the external trigger signal is low and resumes when the signal goes high or vice versa. For continuous pulse generations, the counter stops generating pulses while the external trigger signal is low and resumes when the signal goes high or vice versa. When using a pause trigger, the pause trigger source is routed to the Counter n Gate signal input of the counter.
Counter Filters
You can enable a programmable debouncing filter on each PFI, RTSI, or PXI_STAR signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. M Series devices use an onboard oscillator to generate the filter clock with a 40 MHz frequency.
Note
7-32
ni.com
Chapter 7
Counters
The following is an example of low to high transitions of the input signal. High to low transitions work similarly. Assume that an input terminal has been low for a long time. The input terminal then changes from low to high, but glitches several times. When the filter clock has sampled the signal high on N consecutive edges, the low to high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 7-5.
Table 7-5. Filters
The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 7-30 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5).
RTSI, PFI, or PXI_STAR Terminal Filter Clock (40 MHz) Filtered Input 1 1 2 3 4 1 2 3 4 5
Filtered input goes high when terminal is sampled high on five consecutive filter clocks.
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. On the 2.56 ms setting, the jitter is up to 10.025 s. When a PFI input is routed directly to RTSI, or a RTSI input is routed directly to PFI, the M Series device does not use the filtered version of the input signal.
7-33
Chapter 7
Counters
Refer to the KnowledgeBase document, Digital Filtering with M Series and CompactDAQ, for more information about digital filters and counters. To access this KnowledgeBase, go to ni.com/info and enter the info code rddfms.
Prescaling
Prescaling allows the counter to count a signal that is faster than the maximum timebase of the counter. M Series devices offer 8X and 2X prescaling on each counter (prescaling can be disabled). Each prescaler consists of a small, simple counter that counts to eight (or two) and rolls over. This counter can run faster than the larger counters, which simply count the rollovers of this smaller counter. Thus, the prescaler acts as a frequency divider on the Source and puts out a frequency that is one-eighth (or one-half) of what it is accepting.
External Signal Prescaler Rollover (Used as Source by Counter) Counter Value 0 1
Prescaling is intended to be used for frequency measurement where the measurement is made on a continuous, repetitive signal. The prescaling counter cannot be read; therefore, you cannot determine how many edges have occurred since the previous rollover. Prescaling can be used for event counting provided it is acceptable to have an error of up to seven (or one). Prescaling can be used when the counter Source is an external signal. Prescaling is not available if the counter Source is one of the internal timebases (80MHzTimebase, 20MHzTimebase, or 100kHzTimebase).
7-34
ni.com
Chapter 7
Counters
On the first rising edge of the Gate, the current count of 7 is stored. On the next rising edge of the Gate, the counter stores a 2 since two Source pulses occurred after the previous rising edge of Gate. The counter synchronizes or samples the Gate signal with the Source signal, so the counter does not detect a rising edge in the Gate until the next Source pulse. In this example, the counter stores the values in the buffer on 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. Synchronization modes are described in the Synchronization Modes section.
7-35
Chapter 7
Counters
Counter value increments only one time for each Source pulse.
7-36
ni.com
Chapter 7
Counters
Even if the Source pulses are long, the counter increments only once for each Source pulse. Normally, the counter value and Counter n Internal Output signals change synchronously to the Source signal. With duplicate count prevention, the counter value and Counter n Internal Output signals change synchronously to the 80 MHz Timebase. Note that duplicate count prevention should only be used if the frequency of the Source signal is 20 MHz or less.
In all other cases, you should not use duplicate count prevention.
Synchronization Modes
The 32-bit counter counts up or down synchronously with the Source signal. The Gate signal and other counter inputs are asynchronous to the Source signal. So M Series devices synchronize these signals before presenting them to the internal counter. M Series devices use one of three synchronization methods: 80 MHz source mode Other internal source mode External source mode
7-37
Chapter 7
Counters
In DAQmx, the device uses 80 MHz source mode if you perform the following: Perform a position measurement Select duplicate count prevention
Otherwise, the mode depends on the signal that drives Counter n Source. Table 7-6 describes the conditions for each mode.
Table 7-6. Synchronization Mode Conditions
Type of Measurement Any Position Measurement Any All Except Position Measurement All Except Position Measurement
Signal Driving Counter n Source Any Any 80 MHz Timebase 20 MHz Timebase, 100 kHz Timebase, or PXI_CLK10 Any Other Signal (such as PFI or RTSI)
Synchronization Mode 80 MHz Source 80 MHz Source 80 MHz Source Other Internal Source
No
External Source
Synchronize
Count
7-38
ni.com
Chapter 7
Counters
Synchronize
Count
Count
7-39
PFI
8
M Series devices have up to 16 Programmable Function Interface (PFI) signals. In addition, M Series devices have up to 32 lines of bidirectional DIO signals. Each PFI can be individually configured as the following: A static digital input A static digital output A timing input signal for AI, AO, DI, DO, or counter/timer functions A timing output signal from AI, AO, DI, DO, or counter/timer functions
Each PFI input also has a programmable debouncing filter. Figure 8-1 shows the circuitry of one PFI line. Each PFI line is similar.
Timing Signals
Static DO Buffer I/O Protection Direction Control Static DI Weak Pull-Down PFI x/P1/P2
PFI Filters
8-1
Chapter 8
PFI
When a terminal is used as a timing input or output signal, it is called PFI x (where x is an integer from 0 to 15). When a terminal is used as a static digital input or output, it is called P1.x or P2.x. On the I/O connector, each terminal is labeled PFI x/P1 or PFI x/P2. The voltage input and output levels and the current drive levels of the PFI signals are listed in the specifications of your device.
Most functions allow you to configure the polarity of PFI inputs and whether the input is edge or level sensitive.
8-2
ni.com
Chapter 8
PFI
AI Reference Trigger (ai/ReferenceTrigger) AI Sample Clock (ai/SampleClock) AI Start Trigger (ai/StartTrigger) AO Sample Clock* (ao/SampleClock) AO Start Trigger (ao/StartTrigger) Counter n Source Counter n Gate Counter n Internal Output Frequency Output PXI_STAR RTSI <0..7> Analog Comparison Event Change Detection Event DI Sample Clock* (di/SampleClock) DO Sample Clock* (do/SampleClock)
Note Signals with a * are inverted before being driven to a terminal; that is, these signals are active low.
8-3
Chapter 8
PFI
PFI 0
PFI 2
PFI 0 Source
PFI Filters
You can enable a programmable debouncing filter on each PFI, RTSI, or PXI_STAR signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. M Series devices use an onboard oscillator to generate the filter clock with a 40 MHz frequency.
Note
NI-DAQmx only supports filters on counter inputs. The following is an example of low to high transitions of the input signal. High to low transitions work similarly.
8-4
ni.com
Chapter 8
PFI
Assume that an input terminal has been low for a long time. The input terminal then changes from low to high, but glitches several times. When the filter clock has sampled the signal high on N consecutive edges, the low to high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 8-1.
Table 8-1. Filters
The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 8-3 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5).
RTSI, PFI, or PXI_STAR Terminal Filter Clock (40 MHz) Filtered Input 1 1 2 3 4 1 2 3 4 5
Filtered input goes high when terminal is sampled high on five consecutive filter clocks.
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. On the 2.56 ms setting, the jitter is up to 10.025 s. When a PFI input is routed directly to RTSI, or a RTSI input is routed directly to PFI, the M Series device does not use the filtered version of the input signal. Refer to the KnowledgeBase document, Digital Filtering with M Series and CompactDAQ, for more information about digital filters and counters. To access this KnowledgeBase, go to ni.com/info and enter the info code rddfms.
8-5
Chapter 8
PFI
I/O Protection
Each DIO 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: If you configure a PFI or DIO line as an output, do not connect it to any external signal source, ground, or power supply. If you configure a PFI or DIO line as an output, understand the current requirements of the load connected to these signals. Do not exceed the specified current output limits of the DAQ device. NI has several signal conditioning solutions for digital applications requiring high current drive. If you configure a PFI or DIO line as an input, do not drive the line with voltages outside of its normal operating range. The PFI or DIO lines have a smaller operating range than the AI signals. Treat the DAQ device as you would treat any static sensitive device. Always properly ground yourself and the equipment when handling the DAQ device or connecting to it.
Refer to the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later for more information about setting power-up states in NI-DAQmx or MAX.
Note When using your M Series device to control an SCXI chassis, DIO lines 0, 1, 2, and 4 are used as communication lines and must be left to power-up in the default high-impedance state to avoid potential damage to these signals.
8-6
ni.com
Manages the flow of data between the bus interface and the acquisition/generation sub-systems (analog input, analog output, digital I/O, and the counters). The digital routing circuitry uses FIFOs (if present) in each sub-system to ensure efficient data movement. Routes timing and control signals. The acquisition/generation sub-systems use these signals to manage acquisitions and generations. These signals can come from the following sources: Your M Series device Other devices in your system through RTSI User input through the PFI terminals User input through the PXI_STAR terminal
Routes and generates the main clock signals for the M Series device.
Clock Routing
Figure 9-1 shows the clock routing circuitry of an M Series device.
10 MHz RefClk
4 200
20 MHz Timebase
9-1
Chapter 9
80 MHz Timebase
The 80 MHz Timebase can be used as the Source input to the 32-bit general-purpose counter/timers. The 80 MHz Timebase is generated from the following sources: Onboard oscillator External signal (by using the external reference clock)
20 MHz Timebase
The 20 MHz Timebase normally generates many of the AI and AO timing signals. The 20 MHz Timebase also can be used as the Source input to the 32-bit general-purpose counter/timers. The 20 MHz Timebase is generated by dividing down the 80 MHz Timebase.
The external reference clock is an input to a Phase-Lock Loop (PLL). The PLL generates the internal timebases.
9-2
ni.com
Chapter 9
RTSI is not supported on USB devices. To synchronize multiple devices to a common timebase, choose one devicethe initiatorto generate the timebase. The initiator device routes its 10 MHz reference clock to one of the RTSI <0..7> signals. All devices (including the initiator device) receive the 10 MHz reference clock from RTSI. This signal becomes the external reference clock. A PLL on each device generates the internal timebases synchronous to the external reference clock. On PXI systems, you also can synchronize devices to PXI_CLK10. In this application the PXI chassis acts as the initiator. Each PXI module routes PXI_CLK10 to its external reference clock. Another option in PXI systems is to use PXI_STAR. The Star Trigger controller device acts as the initiator and drives PXI_STAR with a clock signal. Each target device routes PXI_STAR to its external reference clock. Once all of the devices are using or referencing a common timebase, you can synchronize operations across them by sending a common start trigger out across the RTSI bus and setting their sample clock rates to the same value.
9-3
Chapter 9
Many National Instruments DAQ, motion, vision, and CAN devices support RTSI.
Note
RTSI is not supported on USB devices. In a PCI/PCI Express system, the RTSI bus consists of the RTSI bus interface and a ribbon cable. The bus can route timing and trigger signals between several functions on as many as five DAQ, vision, motion, or CAN devices in the computer. In a PXI/PXI Express system, the RTSI bus consists of the RTSI bus interface and the PXI trigger signals on the PXI backplane. This bus can route timing and trigger signals between several functions on as many as seven DAQ devices in the system.
9-4
ni.com
Chapter 9
Terminal 1
Figure 9-2. M Series PCI/PCI Express Device RTSI Pinout Table 9-1. RTSI Signals
RTSI Bus Signal RTSI 7 RTSI 6 RTSI 5 RTSI 4 RTSI 3 RTSI 2 RTSI 1 RTSI 0 Not Connected. Do not connect signals to these terminals. D GND 34 32 30 28 26 24 22 20 118
Terminal
9-5
Chapter 9
AI Start Trigger (ai/StartTrigger) AI Reference Trigger (ai/ReferenceTrigger) AI Convert Clock* (ai/ConvertClock) AI Sample Clock (ai/SampleClock) AI Pause Trigger (ai/PauseTrigger) AO Sample Clock* (ao/SampleClock) AO Start Trigger (ao/StartTrigger) AO Pause Trigger (ao/PauseTrigger) 10 MHz Reference Clock Counter n Source, Gate, Z, Internal Output Change Detection Event Analog Comparison Event FREQ OUT PFI <0..5>
Signals with a * are inverted before being driven on the RTSI terminals.
9-6
ni.com
Chapter 9
Counter input signals for either counterSource, Gate, Aux, HW_Arm, A, B, or Z DI Sample Clock (di/SampleClock) DO Sample Clock (do/SampleClock)
Most functions allow you to configure the polarity of PFI inputs and whether the input is edge or level sensitive.
RTSI Filters
You can enable a programmable debouncing filter on each PFI, RTSI, or PXI_STAR signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. M Series devices use an onboard oscillator to generate the filter clock with a 40 MHz frequency.
Note
NI-DAQmx only supports filters on counter inputs. The following is an example of low to high transitions of the input signal. High to low transitions work similarly. Assume that an input terminal has been low for a long time. The input terminal then changes from low to high, but glitches several times. When the filter clock has sampled the signal high on N consecutive edges, the low to high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 9-2.
Table 9-2. Filters
9-7
Chapter 9
The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 9-3 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5).
RTSI, PFI, or PXI_STAR Terminal Filter Clock (40 MHz) Filtered Input 1 1 2 3 4 1 2 3 4 5
Filtered input goes high when terminal is sampled high on five consecutive filter clocks.
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. On the 2.56 ms setting, the jitter is up to 10.025 s. When a PFI input is routed directly to RTSI, or a RTSI input is routed directly to PFI, the M Series device does not use the filtered version of the input signal. Refer to the KnowledgeBase document, Digital Filtering with M Series and CompactDAQ, for more information about digital filters and counters. To access this KnowledgeBase, go to ni.com/info and enter the info code rddfms.
PXI_CLK10
PXI_CLK10 is a common low-skew 10 MHz reference clock for synchronization of multiple modules in a PXI measurement or control system. The PXI backplane is responsible for generating PXI_CLK10 independently to each peripheral slot in a PXI chassis.
9-8
ni.com
Chapter 9
PXI Triggers
A PXI chassis provides eight bused trigger lines to each module in a system. Triggers may be passed from one module to another, allowing precisely timed responses to asynchronous external events that are being monitored or controlled. Triggers can be used to synchronize the operation of several different PXI peripheral modules. On M Series devices, the eight PXI trigger signals are synonymous with RTSI <0..7>. Note that in a PXI chassis with more than eight slots, the PXI trigger lines may be divided into multiple independent buses. Refer to the documentation for your chassis for details.
PXI_STAR Trigger
In a PXI system, the Star Trigger bus implements a dedicated trigger line between the first peripheral slot (adjacent to the system slot) and the other peripheral slots. The Star Trigger can be used to synchronize multiple devices or to share a common trigger signal among devices. A Star Trigger controller can be installed in this first peripheral slot to provide trigger signals to other peripheral modules. Systems that do not require this functionality can install any standard peripheral module in this first peripheral slot. An M Series device receives the Star Trigger signal (PXI_STAR) from a Star Trigger controller. PXI_STAR can be used as an external source for many AI, AO, and counter signals. An M Series device is not a Star Trigger controller. An M Series device may be used in the first peripheral slot of a PXI system, but the system will not be able to use the Star Trigger feature.
PXI_STAR Filters
You can enable a programmable debouncing filter on each PFI, RTSI, or PXI_STAR signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. M Series devices use an onboard oscillator to generate the filter clock with a 40 MHz frequency.
Note
NI-DAQmx only supports filters on counter inputs. The following is an example of low to high transitions of the input signal. High to low transitions work similarly.
9-9
Chapter 9
Assume that an input terminal has been low for a long time. The input terminal then changes from low to high, but glitches several times. When the filter clock has sampled the signal high on N consecutive edges, the low to high transition is propagated to the rest of the circuit. The value of N depends on the filter setting; refer to Table 9-3.
Table 9-3. Filters
The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 9-4 shows an example of a low to high transition on an input that has its filter set to 125 ns (N = 5).
RTSI, PFI, or PXI_STAR Terminal Filter Clock (40 MHz) Filtered Input 1 1 2 3 4 1 2 3 4 5
Filtered input goes high when terminal is sampled high on five consecutive filter clocks.
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. On the 2.56 ms setting, the jitter is up to 10.025 s. When a PFI input is routed directly to RTSI, or a RTSI input is routed directly to PFI, the M Series device does not use the filtered version of the input signal. Refer to the KnowledgeBase document, Digital Filtering with M Series and CompactDAQ, for more information about digital filters and counters. To access this KnowledgeBase, go to ni.com/info and enter the info code rddfms.
9-10
ni.com
Bus Interface
10
The bus interface circuitry of M Series devices efficiently moves data between host memory and the measurement and acquisition circuits. M Series devices are available for the following platforms: PCI PCI Express PXI PXI Express USB
All M Series devices are jumperless for complete plug-and-play operation. The operating system automatically assigns the base address, interrupt levels, and other resources. NI M Series PCI/PCIe/PXI/PXIe devices incorporate PCI-MITE technology to implement a high-performance PCI interface. M Series USB devices incorporate USB-STC2 technology to implement a Hi-Speed USB interface.
Each DMA controller channel contains a FIFO and independent processes for filling and emptying the FIFO. This allows the buses involved in the transfer to operate independently for maximum performance. Data is
10-1
Chapter 10
Bus Interface
transferred simultaneously between the ports. The DMA controller supports burst transfers to and from the FIFO. Each DMA controller supports several features to optimize PCI/PXI bus utilization. The DMA controllers pack and unpack data through the FIFOs. This feature allows the DMA controllers to combine multiple 16-bit transfers to the DAQ circuitry into a single 32-bit burst transfer on PCI. The DMA controllers also automatically handle unaligned memory buffers on PCI/PXI. M Series USB devices have four fully-independent USB Signal Stream for high-performance transfers of data blocks. These channels are assigned to the first four measurement/acquisition circuits that request one.
PXI Considerations
PXI clock and trigger signals are only available on PXI devices.
10-2
ni.com
Chapter 10
Bus Interface
PXI Express chassis1PXI M Series devices can be installed in the following PXI Express chassis slots: PXI-1 slotsAccepts all PXI modules PXI hybrid slotsAccepts PXI modules that are hybrid slot-compatible or PXI Express modules PXI Express slotsAccepts PXI Express modules
PXI-1 devices use PCI signaling to communicate to the host controller (as opposed to PCI Express signaling). Peripheral devices are installed in peripheral slots and are not system controllers.
For some PXI M Series devices, there are two variantsone that will work in PXI hybrid slots and one that supports local bus for SCXI control when the device is in the right-most slot. Refer to the device specifications for more information.
10-3
Chapter 10
Bus Interface
the PCI bus are direct memory access (DMA), interrupt request (IRQ), and programmed I/O: Direct Memory Access (DMA)DMA is a method to transfer data between the device and computer memory without the involvement of the CPU. This method makes DMA the fastest available data transfer method. NI uses DMA hardware and software technology to achieve high throughput rates and increase system utilization. DMA is the default method of data transfer for PCI/PCIe/PXI/PXIe devices. Interrupt Request (IRQ)IRQ transfers rely on the CPU to service data transfer requests. The device notifies the CPU when it is ready to transfer data. The data transfer speed is tightly coupled to the rate at which the CPU can service the interrupt requests. If you are using interrupts to transfer data at a rate faster than the rate the CPU can service the interrupts, your systems may start to freeze. Programmed I/OProgrammed I/O is a data transfer mechanism where the users program is responsible for transferring data. Each read or write call in the program initiates the transfer of data. Programmed I/O is typically used in software-timed (on-demand) operations. Refer to the Analog Output Data Generation Methods section of Chapter 5, Analog Output, for more information.
(USB Devices) The two primary ways to transfer data across the USB bus are USB Signal Stream and programmed I/O:
USB Signal StreamUSB Signal Stream is a method to transfer data between the device and computer memory using USB bulk transfers without intervention of the microcontroller on the NI device. NI uses USB Signal Stream hardware and software technology to achieve high throughput rates and increase system utilization in USB devices. Programmed I/OProgrammed I/O is a data transfer mechanism where the users program is responsible for transferring data. Each read or write call in the program initiates the transfer of data. Programmed I/O is typically used in software-timed (on-demand) operations. Refer to the Analog Output Data Generation Methods section of Chapter 5, Analog Output, for more information.
10-4
ni.com
Chapter 10
Bus Interface
M Series devices, each measurement and acquisition circuit (that is, AI, AO, and so on) has a dedicated DMA channel. So in most applications, all data transfers use DMA. However, NI-DAQmx allows you to disable DMA and use interrupts. To change your data transfer mechanism between DMA and interrupts in NI-DAQmx, use the Data Transfer Mechanism property node.
(USB Devices) USB M Series devices have four dedicated USB Signal Stream channels. These channels are assigned to the first four measurement/acquisition circuits that request one. If a USB Signal Stream is not available, you must set the data transfer mechanism to programmed I/O; otherwise the driver returns an error. To change your data transfer mechanism between USB Signal Stream and programmed I/O, use the Data Transfer Mechanism property node function in NI-DAQmx.
10-5
Triggering
11
A trigger is a signal that causes an action, such as starting or stopping the acquisition of data. When you configure a trigger, you must decide how you want to produce the trigger and the action you want the trigger to cause. All M Series devices support internal software triggering, as well as external digital triggering. Some devices also support analog triggering. For information about the different actions triggers can perform for each sub-system of the device, refer to the following sections: The Analog Input Triggering section of Chapter 4, Analog Input The Analog Output Triggering section of Chapter 5, Analog Output The Counter Triggering section of Chapter 7, Counters
Note
Not all M Series devices support analog triggering. For more information about triggering compatibility, refer to the specifications document for your device.
11-1
Chapter 11
Triggering
You also can program your DAQ 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 Digital waveform acquisition and generation
+ PGIA ADC
You must specify a source and an analog trigger type. The source can be either an APFI <0..1> terminal or an analog input channel.
11-2
ni.com
Chapter 11
Triggering
triggering. Note that the APFI <0..1> terminals also can be used for other functions such as the AO External Reference input, as described in the AO Offset and AO Reference Selection section of Chapter 5, Analog Output.
11-3
Chapter 11
Triggering
Level
In above-level analog triggering mode, shown in Figure 11-4, the trigger is generated when the signal value is greater than Level.
Level
11-4
ni.com
Chapter 11
Triggering
Analog Edge Triggering with HysteresisHysteresis adds a programmable voltage region above or below the trigger level that an input signal must pass through before the DAQ device recognizes a trigger condition, and is often used to reduce false triggering due to noise or jitter in the signal. Analog Edge Trigger with Hysteresis (Rising Slope)When using hysteresis with a rising slope, you specify a trigger level and amount of hysteresis. The high threshold is the trigger level; the low threshold is the trigger level minus the hysteresis. For the trigger to assert, the signal must first be below the low threshold, then go above the high threshold. The trigger stays asserted until the signal returns below the low threshold. The output of the trigger detection circuitry is the internal Analog Comparison Event signal, as shown in Figure 11-5.
Then signal must go above high threshold before Analog Comparison Event asserts High threshold (Level) Low threshold (Level Hysteresis)
Hysteresis
Figure 11-5. Analog Edge Triggering with Hysteresis Rising Slope Example
Analog Edge Trigger with Hysteresis (Falling Slope)When using hysteresis with a falling slope, you specify a trigger level and amount of hysteresis. The low threshold is the trigger level; the high threshold is the trigger level plus the hysteresis.
11-5
Chapter 11
Triggering
For the trigger to assert, the signal must first be above the high threshold, then go below the low threshold. The trigger stays asserted until the signal returns above the high threshold. The output of the trigger detection circuitry is the internal Analog Comparison Event signal, as shown in Figure 11-6.
First signal must go above high threshold High threshold (Level + Hysteresis) Low threshold (Level) Then signal must go below low threshold before Analog Comparison Event asserts Analog Comparison Event
Hysteresis
Figure 11-6. Analog Edge Triggering with Hysteresis Falling Slope Example
Analog Window TriggeringAn analog window trigger occurs when an analog signal either passes into (enters) or passes out of (leaves) a window defined by two voltage levels. Specify the levels by setting the window Top value and the window Bottom value. Figure 11-7 demonstrates a trigger that asserts when the signal enters the window.
Top
Bottom
11-6
ni.com
Chapter 11
Triggering
11-7
Device-Specific Information
This appendix contains device pinouts, specifications, cable and accessory choices, and other information for the following M Series devices: NI 6220 NI 6221 NI 6224 NI 6225 NI 6229 NI 6250 NI 6251 NI 6254 NI 6255 NI 6259 NI 6280 NI 6281 NI 6284 NI 6289
To obtain documentation for devices not listed here, refer to ni.com/ manuals.
A-1
Appendix A
Device-Specific Information
NI 6220
PCI/PXI-6220 Pinout
Figure A-1 shows the pinout of the PCI/PXI-6220. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-2
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
TERMINAL 68
TERMINAL 34
TERMINAL 35
TERMINAL 1
NC = No Connect
A-3
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6220 Specifications
Refer to the NI 622x Specifications for more detailed information about the PCI/PXI-6220 device.
A-4
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-5
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-6
ni.com
Appendix A
Device-Specific Information
NI 6221
The following sections contain information about the PCI/PXI-6221 (68-pin), PCI-6221 (37-pin), USB-6221 Screw Terminal, and USB-6221 BNC devices.
A-7
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
TERMINAL 68
TERMINAL 34
TERMINAL 35
TERMINAL 1
NC = No Connect
A-8
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-9
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-10
ni.com
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-11
Appendix A
Device-Specific Information
AI 0 AI 9 AI GND AI 10 AI 3 AI 4 AI 13 AI SENSE AI 14 AI 15 AO GND AO 0 PFI 0/P1.0 D GND PFI 3/P1.3 D GND PFI 6/P1.6 D GND P0.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
AI 8 AI 1 AI 2 AI 11 AI GND AI 12 AI 5 AI 6 AI 7 NC AO 1 AO GND PFI 1/P1.1 PFI 2/P1.2 PFI 4/P1.4 PFI 5/P1.5 PFI 7/P1.7 P0.0
NC = No Connect
A-12
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-13
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices.
Cables
In most applications, you can use the following cables: SH37F-37M-137-pin female-to-male shielded I/O cable, 1 m SH37F-37M-237-pin female-to-male shielded I/O cable, 2 m
A-14
ni.com
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
NC = No Connect
A-15
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-16
ni.com
Appendix A
Device-Specific Information
A-17
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-18
ni.com
Appendix A
Device-Specific Information
To measure a floating signal source, move the switch to the FS position. To measure a ground-referenced signal source, move the switch to the GS position. Figure A-6 shows the AI 0 BNC and corresponding FS/GS switch on the top panel of the USB-6221 BNC.
AI 0
FS
GS
Figure A-7 shows the analog input circuitry on the USB-6221 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 +
Floating Source
AI x GS FS 5 k AI GND
A-19
Appendix A
Device-Specific Information
Single-Ended ModeFor each BNC connector that you use for two single-ended channels, set the source type switch to the GS position. This setting disconnects the built-in ground reference resistor from the negative terminal of the BNC connector, allowing the connector to be used as a single-ended channel, as shown in Figure A-8.
AI x + AI x+8
When you set the source type to the GS position and configure the device for single-ended input in software, each BNC connector provides access to two single-ended channels, AI x and AI x+8. For example, the BNC connector labeled AI 0 provides access to single-ended channels AI 0 and AI 8, the BNC connector labeled AI 1 provides access to single-ended channels AI 1 and AI 9, and so on. Up to 16 single-ended channels are available in single-ended measurement modes. For information on how to connect your signals in single-ended mode, AI GND, and/or AI SENSE, refer to the Connecting Analog Input Signals section of Chapter 4, Analog Input. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Analog Output
You can access analog output signals on the BNC connectors labeled AO 0 and AO 1. Figure A-9 shows the analog output circuitry on the USB-6221 BNC.
AO x AO GND
A-20
ni.com
Appendix A
Device-Specific Information
Refer to the Connecting Analog Output Signals section of Chapter 5, Analog Output, for more information.
Refer to the Connecting Digital I/O Signals section of Chapter 6, Digital I/O, and the Connecting PFI Input Signals section of Chapter 8, PFI, for more information.
A-21
Appendix A
Device-Specific Information
D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 P0.3 D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
D GND
Internal Connection
A-22
ni.com
Appendix A
Device-Specific Information
Figure A-12 shows an example of how to use the USER 1 and USER 2 BNCs. To access the PFI 8 signal from a BNC, connect USER 1 on the screw terminal block to PFI 8 with a wire.
USER 1 BNC BNC Cable D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 PFI 8 P0.3 Signal D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
Internal Connection
Wire
The designated space below each USER <1..2> BNC is for marking or labeling signal names.
A-23
Appendix A
Device-Specific Information
NI 6224
PCI/PXI-6224 Pinout
Figure A-13 shows the pinout of the PCI/PXI-6224. The I/O signals appear on two 68-pin connectors. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-24
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 34 67 33 66 32 65 31 64 30 63 29 62 28 61 27 60 26 59 25 58 24 57 56 55 54 23 22 21 20
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 68 TERMINAL 1 TERMINAL 34 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35 CONNECTOR 0 (AI 0-15) CONNECTOR 1 (AI 16-31) AI 10
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 NC NC NC AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
53 19 52 18 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND NC NC AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
NC = No Connect
NC = No Connect
A-25
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6224 Specifications
Refer to the NI 622x Specifications for more detailed information about the PCI/PXI-6224 device.
A-26
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output
A-27
Appendix A
Device-Specific Information
BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-28
ni.com
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-29
Appendix A
Device-Specific Information
NI 6225
The following sections contain information about the PCI/PXI-6225, USB-6225 Screw Terminal, and USB-6225 Mass Termination devices.
A-30
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 34 67 33 66 32 65 31 64 30 63 29 62 28 61 27 60 26 59 25 58 24 57 23 56 22 55 21 54 20 53 19 52 18 51 17 50 16 49 15 48 14 47 13 46 12 45 11 44 10 43 42 41 40 39 38 37 36 35 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 1 TERMINAL 35 TERMINAL 34 TERMINAL 68 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35 CONNECTOR 0 (AI 0-15) CONNECTOR 1 (AI 16-79) AI 10
AI 71 AI 78 AI 69 AI 68 AI 75 AI 66 AI 65 AI 72 AI GND AI 55 AI 54 AI 61 AI 52 AI 51 AI 58 AI 49 AI 48 AI 47 AI 38 AI 37 AI 44 AI GND AI 35 AI 34 AI 41 AI 32 AI 23 AI 30 AI 21 AI 20 AI 27 AI 18 AI 17 AI 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
AI 79 AI 70 AI 77 AI 76 AI 67 AI 74 AI 73 AI 64 AI GND AI 63 AI 62 AI 53 AI 60 AI 59 AI 50 AI 57 AI 56 AI 39 AI 46 AI 45 AI 36 AI SENSE 2 AI 43 AI 42 AI 33 AI 40 AI 31 AI 22 AI 29 AI 28 AI 19 AI 26 AI 25 AI 16
NC = No Connect
A-31
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6225 Specifications
Refer to the NI 622x Specifications for more detailed information about the PCI/PXI-6225 device.
A-32
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. Connector 1 cannot be used to control SCXI. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. Connector 1 cannot be used with SCCs. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
Using a BNC Accessory with Connector 0 Connector 0 of your device is compatible with several BNC accessories: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-33
Appendix A
Device-Specific Information
You can use the SHC68-68-EPM shielded cable, to connect Connector 0 of your DAQ device to BNC accessories. Using a BNC Accessory with Connector 1 Connector 1 of your device is compatible with BNC-2115. BNC-2115 provides BNC connectivity to 24 of the differential (48 single ended) analog input signals on Connector 1. You can use an SHC68-68 cable to connect to the BNC-2115.
You can use one screw terminal accessory with the signals on either connector of your PCI/PXI-6225 device. You can use two screw terminal accessories with one M Series device by using both connectors.3
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
1 2 3
NI recommends that you use the SHC68-68 cable when the SCB-68 is connected to Connector 1. TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used. The SCC-68 only can be used with Connector 0.
A-34
ni.com
Appendix A
Device-Specific Information
Cables
The PCI/PXI-6225 has two connectors that require different cables. Choosing a Cable for Connector 0 In most applications, you can use the following cables with Connector 0: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
Choosing a Cable for Connector 1 In most applications, you can use the following cables with Connector 1: SHC68-68Shielded cable with 34 twisted pairs of wire. Each differential analog input channel on Connector 1 is routed on a twisted pair on the SHC68-68 cable RC68-68Highly flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-35
Appendix A
Device-Specific Information
For a ground connection, you can connect the shield of a shielded cable to the chassis ground lug, depicted in Figure A-15.
A-36
ni.com
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
AI 19 AI 20 AI 21 AI 22 AI GND AI 23 AI 32 AI 33 AI 34 AI 35 AI 36 AI GND AI 37 AI 38 AI 39 AI 48
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
AI 27 AI 28 AI 29 AI 30 AI GND AI 31 AI 40 AI 41 AI 42 AI 43 AI 44 AI SENSE 2 AI 45 AI 46 AI 47 AI 56
AI 49 AI 50 AI 51 AI 52 AI 53 AI 54 AI 55 AI GND AI 64 AI 65 AI 66 AI 67 AI 68 AI 69 AI 70 AI 71
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
AI 57 AI 58 AI 59 AI 60 AI 61 AI 62 AI 63 AI GND AI 72 AI 73 AI 74 AI 75 AI 76 AI 77 AI 78 AI 79
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
NC = No Connect
A-37
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-38
ni.com
Appendix A
Device-Specific Information
A-39
Appendix A
Device-Specific Information
AI 24 AI 17 AI 18 AI 27 AI 20 AI 21 AI 30 AI 23 AI 32 AI 41 AI 34 AI 35 AI GND AI 44 AI 37 AI 38 AI 47 AI 48 AI 49 AI 58 AI 51 AI 52 AI 61 AI 54 AI 55 AI GND AI 72 AI 65 AI 66 AI 75 AI 68 AI 69 AI 78 AI 71
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 16 AI 25 AI 26 AI 19 AI 28 AI 29 AI 22 AI 31 AI 40 AI 33 AI 42 AI 43 AI SENSE 2 AI 36 AI 45 AI 46 AI 39 AI 56 AI 57 AI 50 AI 59 AI 60 AI 53 AI 62 AI 63 AI GND AI 64 AI 73 AI 74 AI 67 AI 76 AI 77 AI 70 AI 79
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
NC = No Connect
CONNECTOR 1 (AI 1679) TERMINAL 35 TERMINAL 68 CONNECTOR 0 (AI 015)
TERMINAL 68
TERMINAL 35
TERMINAL 34
TERMINAL 1
TERMINAL 34
TERMINAL 1
A-40
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-41
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. Connector 1 cannot be used with SCCs. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
Using a BNC Accessory with Connector 0 Connector 0 of your device is compatible with several BNC accessories: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use the SH68-68-EPM shielded cable, to connect Connector 0 of your DAQ device to BNC accessories. Using a BNC Accessory with Connector 1 Connector 1 of your device is compatible with BNC-2115. BNC-2115 provides BNC connectivity to 24 of the differential (48 single ended) analog input signals on Connector 1. You can use an SH68-68-S cable to connect to the BNC-2115.
A-42
ni.com
Appendix A
Device-Specific Information
You can use one screw terminal accessory with the signals on either connector of your USB-6225 Mass Termination device. You can use two screw terminal accessories with one M Series device by using both connectors.2
Cables
Choosing a Cable for Connector 0 In most applications, you can use the following cables with Connector 0: SH68-68-EPM3High-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 R68-68Highly-flexible unshielded ribbon cable
Choosing a Cable for Connector 1 In most applications, you can use the following cables with Connector 1: SH68-68-SShielded cable with 34 twisted pairs of wire. Each differential analog input channel on Connector 1 is routed on a twisted pair on the SH68-68-S cable R68-68Highly flexible unshielded ribbon cable
1 2 3
NI recommends that you use the SH68-68-S cable when the SCB-68 is connected to Connector 1. The SCC-68 only can be used with Connector 0. NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-43
Appendix A
Device-Specific Information
A-44
ni.com
Appendix A
Device-Specific Information
NI 6229
The following sections contain information about the PCI/PXI-6229, USB-6229 Screw Terminal, and USB-6229 BNC devices.
A-45
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 34 67 33 66 32 65 31 64 30 63 29 62 28 61 27 60 26 59 25 58 24 57 23 56 22 55 21 54 20 53 19 52 18 51 17 50 16 49 15 48 14 47 13 46 12 45 11 44 10 43 42 41 40 39 38 37 36 35 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND CONNECTOR 0 (AI 0-15) AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 NC P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 1 TERMINAL 35 TERMINAL 34 TERMINAL 68 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35 CONNECTOR 1 (AI 16-31) AI 10
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 NC AO 3 AO 2 AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND AO GND AO GND AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
NC = No Connect
NC = No Connect
A-46
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6229 Specifications
Refer to the NI 622x Specifications for more detailed information about the PCI/PXI-6229 device.
A-47
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output
A-48
ni.com
Appendix A
Device-Specific Information
BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-49
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-50
ni.com
Appendix A
Device-Specific Information
A-51
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
P0.8 P0.9 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 P0.17 P0.18 P0.19 P0.20 P0.21 P0.22 P0.23
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
P0.24 D GND P0.25 D GND P0.26 D GND P0.27 D GND P0.28 D GND P0.29 D GND P0.30 D GND P0.31 D GND
NC = No Connect
NC = No Connect
A-52
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-53
Appendix A
Device-Specific Information
A-54
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-55
Appendix A
Device-Specific Information
To measure a floating signal source, move the switch to the FS position. To measure a ground-referenced signal source, move the switch to the GS position. Figure A-20 shows the AI 0 BNC and corresponding FS/GS switch on the top panel of the USB-6229 BNC.
AI 0
FS
GS
Figure A-21 shows the analog input circuitry on the USB-6229 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 +
Floating Source
AI x GS FS 5 k AI GND
A-56
ni.com
Appendix A
Device-Specific Information
Single-Ended ModeFor each BNC connector that you use for two single-ended channels, set the source type switch to the GS position. This setting disconnects the built-in ground reference resistor from the negative terminal of the BNC connector, allowing the connector to be used as a single-ended channel, as shown in Figure A-22.
AI x + AI x+8
When you set the source type to the GS position and configure the device for single-ended input in software, each BNC connector provides access to two single-ended channels, AI x and AI x+8. For example, the BNC connector labeled AI 0 provides access to single-ended channels AI 0 and AI 8, the BNC connector labeled AI 1 provides access to single-ended channels AI 1 and AI 9, and so on. Up to 32 single-ended channels are available in single-ended measurement modes. For information on how to connect your signals in single-ended mode, AI GND, and/or AI SENSE, refer to the Connecting Analog Input Signals section of Chapter 4, Analog Input. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Analog Output
You can access analog output signals on the BNC connectors labeled AO 0 and AO 1. Figure A-23 shows the analog output circuitry on the USB-6229 BNC.
AO x AO GND
Refer to the Connecting Analog Output Signals section of Chapter 5, Analog Output, for more information.
National Instruments Corporation A-57 M Series User Manual
Appendix A
Device-Specific Information
Refer to the Connecting Digital I/O Signals section of Chapter 6, Digital I/O, and the Connecting PFI Input Signals section of Chapter 8, PFI, for more information.
D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 P0.3 D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
D GND
Internal Connection
A-58
ni.com
Appendix A
Device-Specific Information
Figure A-26 shows an example of how to use the USER 1 and USER 2 BNCs. To access the PFI 8 signal from a BNC, connect USER 1 on the screw terminal block to PFI 8 with a wire.
USER 1 BNC BNC Cable D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 PFI 8 P0.3 Signal D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
Internal Connection
Wire
The designated space below each USER <1..2> BNC is for marking or labeling signal names.
A-59
Appendix A
Device-Specific Information
NI 6250
PCI/PXI-6250 Pinout
Figure A-27 shows the pinout of the PCI/PXI-6250. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-60
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 1 TERMINAL 68 TERMINAL 34
NC = No Connect
A-61
AI 10
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6250 Specifications
Refer to the NI 625x Specifications for more detailed information about the PCI/PXI-6250 device.
A-62
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-63
Appendix A
Device-Specific Information
CB-68LP and CB-68LPR unshielded connector blocks SCC-68 I/O connector block with screw terminals, general breadboard area, bus terminals, and four expansion slots for SCC signal conditioning modules SCB-68 shielded connector block with temperature sensor TBX-68 DIN rail-mountable connector block TB-2706 front panel mounted terminal block for PXI M Series devices
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-64
ni.com
Appendix A
Device-Specific Information
NI 6251
The following sections contain information about the NI PCI/PCIe/PXI/PXIe-6251, USB-6251 Screw Terminal, USB-6251 BNC, and USB-6251 Mass Termination devices.
A-65
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 1 TERMINAL 68 TERMINAL 34
A-66
AI 10
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
NI PCI/PCIe/PXI/PXIe-6251 Specifications
Refer to the NI 625x Specifications for more detailed information about the NI PCI/PCIe/PXI/PXIe-6251 device.
A-67
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable.
Note PCI Express users should consider the power limits on certain SCC modules without an external power supply. Refer to the NI 625x Specifications, and the PCI Express Device Disk Drive Power Connector section of Chapter 3, Connector and LED Information, for information about power limits and increasing the current the device can supply on the +5 V terminal.
Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-68
ni.com
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI/PCI Express devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-69
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
A-70
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-71
Appendix A
Device-Specific Information
A-72
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-73
Appendix A
Device-Specific Information
To measure a floating signal source, move the switch to the FS position. To measure a ground-referenced signal source, move the switch to the GS position. Figure A-31 shows the AI 0 BNC and corresponding FS/GS switch on the top panel of the USB-6251 BNC.
AI 0
FS
GS
Figure A-32 shows the analog input circuitry on the USB-6251 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 +
Floating Source
AI x GS FS 5 k AI GND
A-74
ni.com
Appendix A
Device-Specific Information
Single-Ended ModeFor each BNC connector that you use for two single-ended channels, set the source type switch to the GS position. This setting disconnects the built-in ground reference resistor from the negative terminal of the BNC connector, allowing the connector to be used as a single-ended channel, as shown in Figure A-33.
AI x + AI x+8
When you set the source type to the GS position and configure the device for single-ended input in software, each BNC connector provides access to two single-ended channels, AI x and AI x+8. For example, the BNC connector labeled AI 0 provides access to single-ended channels AI 0 and AI 8, the BNC connector labeled AI 1 provides access to single-ended channels AI 1 and AI 9, and so on. Up to 16 single-ended channels are available in single-ended measurement modes. For information on how to connect your signals in single-ended mode, AI GND, and/or AI SENSE, refer to the Connecting Analog Input Signals section of Chapter 4, Analog Input. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Analog Output
You can access analog output signals on the BNC connectors labeled AO 0 and AO 1. Figure A-34 shows the analog output circuitry on the USB-6251 BNC.
AO x AO GND
A-75
Appendix A
Device-Specific Information
Refer to the Connecting Analog Output Signals section of Chapter 5, Analog Output, for more information.
Refer to the Connecting Digital I/O Signals section of Chapter 6, Digital I/O, and the Connecting PFI Input Signals section of Chapter 8, PFI, for more information.
APFI
You can access the analog programmable function interface signal on the BNC connector labeled APFI 0. Figure A-36 shows the APFI circuitry on the USB-6251 BNC.
APFI x AI GND
Refer to the Triggering with an Analog Source section of Chapter 11, Triggering, for more information.
A-76
ni.com
Appendix A
Device-Specific Information
D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 P0.3 D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
D GND
Internal Connection
A-77
Appendix A
Device-Specific Information
Figure A-38 shows an example of how to use the USER 1 and USER 2 BNCs. To access the PFI 8 signal from a BNC, connect USER 1 on the screw terminal block to PFI 8 with a wire.
USER 1 BNC BNC Cable D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 PFI 8 P0.3 Signal D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
Internal Connection
Wire
The designated space below each USER <1..2> BNC is for marking or labeling signal names.
A-78
ni.com
Appendix A
Device-Specific Information
A-79
Appendix A
Device-Specific Information
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
TERMINAL 34
TERMINAL 1
A-80
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-81
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SH68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-82
ni.com
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SH68-68-EPM1High-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 R68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-83
Appendix A
Device-Specific Information
NI 6254
PCI/PXI-6254 Pinout
Figure A-40 shows the pinout of the PCI/PXI-6254. The I/O signals appear on two 68-pin connectors. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-84
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 68 TERMINAL 1 TERMINAL 34 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL35 CONNECTOR 0 (AI 0-15) CONNECTOR 1 (AI 16-31) AI 10
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 APFI 1 NC NC AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND NC NC AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
NC = No Connect
NC = No Connect
A-85
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6254 Specifications
Refer to the NI 625x Specifications for more detailed information about the PCI/PXI-6254 device.
A-86
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output
A-87
Appendix A
Device-Specific Information
BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-88
ni.com
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-89
Appendix A
Device-Specific Information
NI 6255
The following sections contain information about the PCI/PXI-6255, USB-6255 Screw Terminal, and USB-6255 Mass Termination devices.
A-90
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 34 67 33 66 32 65 31 64 30 63 29 62 28 61 27 60 26 59 25 58 24 57 23 56 22 55 21 54 20 53 19 52 18 51 17 50 16 49 15 48 14 47 13 46 12 45 11 44 10 43 42 41 40 39 38 37 36 35 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND CONNECTOR 0 (AI 0-15) AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 1 TERMINAL 35 TERMINAL 34 TERMINAL 68 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35 CONNECTOR 1 (AI 16-79) AI 10
AI 71 AI 78 AI 69 AI 68 AI 75 AI 66 AI 65 AI 72 AI GND AI 55 AI 54 AI 61 AI 52 AI 51 AI 58 AI 49 AI 48 AI 47 AI 38 AI 37 AI 44 AI GND AI 35 AI 34 AI 41 AI 32 AI 23 AI 30 AI 21 AI 20 AI 27 AI 18 AI 17 AI 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
AI 79 AI 70 AI 77 AI 76 AI 67 AI 74 AI 73 AI 64 AI GND AI 63 AI 62 AI 53 AI 60 AI 59 AI 50 AI 57 AI 56 AI 39 AI 46 AI 45 AI 36 AI SENSE 2 AI 43 AI 42 AI 33 AI 40 AI 31 AI 22 AI 29 AI 28 AI 19 AI 26 AI 25 AI 16
NC = No Connect
A-91
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6255 Specifications
Refer to the NI 625x Specifications for more detailed information about the PCI/PXI-6255 device.
A-92
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. Connector 1 cannot be used to control SCXI.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. Connector 1 cannot be used with SCCs. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
Using a BNC Accessory with Connector 0 Connector 0 of your device is compatible with several BNC accessories: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use the SHC68-68-EPM shielded cable, to connect Connector 0 of your DAQ device to BNC accessories.
A-93
Appendix A
Device-Specific Information
Using a BNC Accessory with Connector 1 Connector 1 of your device is compatible with BNC-2115. BNC-2115 provides BNC connectivity to 24 of the differential (48 single ended) analog input signals on Connector 1. You can use an SHC68-68 cable to connect to the BNC-2115.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.3
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
The PCI/PXI-6255 has two connectors that require different cables.
1 2 3
NI recommends that you use the SHC68-68 cable when the SCB-68 is connected to Connector 1. TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used. The SCC-68 only can be used with Connector 0.
A-94
ni.com
Appendix A
Device-Specific Information
Choosing a Cable for Connector 0 In most applications, you can use the following cables with Connector 0: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
Choosing a Cable for Connector 1 In most applications, you can use the following cables with Connector 1: SHC68-68Shielded cable with 34 twisted pairs of wire. Each differential analog input channel on Connector 1 is routed on a twisted pair on the SHC68-68 cable RC68-68Highly flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-95
Appendix A
Device-Specific Information
For a ground connection, you can connect the shield of a shielded cable to the chassis ground lug, depicted in Figure A-42.
A-96
ni.com
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
AI 19 AI 20 AI 21 AI 22 AI GND AI 23 AI 32 AI 33 AI 34 AI 35 AI 36 AI GND AI 37 AI 38 AI 39 AI 48
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
AI 27 AI 28 AI 29 AI 30 AI GND AI 31 AI 40 AI 41 AI 42 AI 43 AI 44 AI SENSE 2 AI 45 AI 46 AI 47 AI 56
AI 49 AI 50 AI 51 AI 52 AI 53 AI 54 AI 55 AI GND AI 64 AI 65 AI 66 AI 67 AI 68 AI 69 AI 70 AI 71
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
AI 57 AI 58 AI 59 AI 60 AI 61 AI 62 AI 63 AI GND AI 72 AI 73 AI 74 AI 75 AI 76 AI 77 AI 78 AI 79
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
A-97
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-98
ni.com
Appendix A
Device-Specific Information
A-99
Appendix A
Device-Specific Information
AI 24 AI 17 AI 18 AI 27 AI 20 AI 21 AI 30 AI 23 AI 32 AI 41 AI 34 AI 35 AI GND AI 44 AI 37 AI 38 AI 47 AI 48 AI 49 AI 58 AI 51 AI 52 AI 61 AI 54 AI 55 AI GND AI 72 AI 65 AI 66 AI 75 AI 68 AI 69 AI 78 AI 71
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 16 AI 25 AI 26 AI 19 AI 28 AI 29 AI 22 AI 31 AI 40 AI 33 AI 42 AI 43 AI SENSE 2 AI 36 AI 45 AI 46 AI 39 AI 56 AI 57 AI 50 AI 59 AI 60 AI 53 AI 62 AI 63 AI GND AI 64 AI 73 AI 74 AI 67 AI 76 AI 77 AI 70 AI 79
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
TERMINAL 34
TERMINAL 1
TERMINAL 34
TERMINAL 1
A-100
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-101
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. Connector 1 cannot be used with SCCs. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
Using a BNC Accessory with Connector 0 Connector 0 of your device is compatible with several BNC accessories: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use the SH68-68-EPM shielded cable, to connect Connector 0 of your DAQ device to BNC accessories. Using a BNC Accessory with Connector 1 Connector 1 of your device is compatible with BNC-2115. BNC-2115 provides BNC connectivity to 24 of the differential (48 single ended) analog input signals on Connector 1. You can use an SH68-68-S cable to connect to the BNC-2115.
A-102
ni.com
Appendix A
Device-Specific Information
You can use one screw terminal accessory with the signals on either connector of your USB-6255 Mass Termination device. You can use two screw terminal accessories with one M Series device by using both connectors.2
Cables
Choosing a Cable for Connector 0 In most applications, you can use the following cables with Connector 0: SH68-68-EPM3High-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 R68-68Highly-flexible unshielded ribbon cable
Choosing a Cable for Connector 1 In most applications, you can use the following cables with Connector 1: SH68-68-SShielded cable with 34 twisted pairs of wire. Each differential analog input channel on Connector 1 is routed on a twisted pair on the SH68-68-S cable R68-68Highly flexible unshielded ribbon cable
1 2 3
NI recommends that you use the SH68-68-S cable when the SCB-68 is connected to Connector 1. The SCC-68 only can be used with Connector 0. NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-103
Appendix A
Device-Specific Information
A-104
ni.com
Appendix A
Device-Specific Information
NI 6259
The following sections contain information about the NI PCI/PCIe/PXI/PXIe-6259, USB-6259 Screw Terminal, USB-6259 BNC, and USB-6259 Mass Termination devices.
A-105
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 68 TERMINAL 1 TERMINAL 34 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 APFI 1 AO 3 AO 2 AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
1 2 3 4 5 6 7 8 9
35 36 37 38 39 40 41 42 43
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND AO GND AO GND AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
10 44 11 45 12 46 13 47 14 48 15 49 16 50 17 51 18 52 19 53 20 54 21 55 22 56 23 57 24 58 25 59 26 60 27 61 28 62 29 63 30 64 31 65 32 66 33 67 34 68
A-106
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
NI PCI/PCIe/PXI/PXIe-6259 Specifications
Refer to the NI 625x Specifications for more detailed information about the NI PCI/PCIe/PXI/PXIe-6259 device.
A-107
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later.
Note PCI Express users should consider the power limits on certain SCC modules without an external power supply. Refer to the NI 625x Specifications, and the PCI Express Device Disk Drive Power Connector section of Chapter 3, Connector and LED Information, for information about power limits and increasing the current the device can supply on the +5 V terminal.
Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
A-108
ni.com
Appendix A
Device-Specific Information
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-109
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI/PCI Express devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-110
ni.com
Appendix A
Device-Specific Information
A-111
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
P0.8 P0.9 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 P0.17 P0.18 P0.19 P0.20 P0.21 P0.22 P0.23
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
P0.24 D GND P0.25 D GND P0.26 D GND P0.27 D GND P0.28 D GND P0.29 D GND P0.30 D GND P0.31 D GND
A-112
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-113
Appendix A
Device-Specific Information
A-114
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-115
Appendix A
Device-Specific Information
To measure a floating signal source, move the switch to the FS position. To measure a ground-referenced signal source, move the switch to the GS position. Figure A-47 shows the AI 0 BNC and corresponding FS/GS switch on the top panel of the USB-6259 BNC.
AI 0
FS
GS
Figure A-48 shows the analog input circuitry on the USB-6259 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 +
Floating Source
AI x GS FS 5 k AI GND
A-116
ni.com
Appendix A
Device-Specific Information
Single-Ended ModeFor each BNC connector that you use for two single-ended channels, set the source type switch to the GS position. This setting disconnects the built-in ground reference resistor from the negative terminal of the BNC connector, allowing the connector to be used as a single-ended channel, as shown in Figure A-49.
AI x + AI x+8
When you set the source type to the GS position and configure the device for single-ended input in software, each BNC connector provides access to two single-ended channels, AI x and AI x+8. For example, the BNC connector labeled AI 0 provides access to single-ended channels AI 0 and AI 8, the BNC connector labeled AI 1 provides access to single-ended channels AI 1 and AI 9, and so on. Up to 32 single-ended channels are available in single-ended measurement modes. For information on how to connect your signals in single-ended mode, AI GND, and/or AI SENSE, refer to the Connecting Analog Input Signals section of Chapter 4, Analog Input. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Analog Output
You can access analog output signals on the BNC connectors labeled AO 0 and AO 1. Figure A-50 shows the analog output circuitry on the USB-6259 BNC.
AO x AO GND
A-117
Appendix A
Device-Specific Information
Refer to the Connecting Analog Output Signals section of Chapter 5, Analog Output, for more information.
Refer to the Connecting Digital I/O Signals section of Chapter 6, Digital I/O, and the Connecting PFI Input Signals section of Chapter 8, PFI, for more information.
APFI
You can access the analog programmable function interface signals on the BNC connectors labeled APFI <0..1>. Figure A-52 shows the APFI circuitry on the USB-6259 BNC.
APFI x AI GND
Refer to the Triggering with an Analog Source section of Chapter 11, Triggering, for more information.
A-118
ni.com
Appendix A
Device-Specific Information
D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 P0.3 D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
D GND
Internal Connection
A-119
Appendix A
Device-Specific Information
Figure A-54 shows an example of how to use the USER 1 and USER 2 BNCs. To access the PFI 8 signal from a BNC, connect USER 1 on the screw terminal block to PFI 8 with a wire.
USER 1 BNC BNC Cable D GND
USER 1 USER 2 D GND +5 V D GND P0.0 P0.1 P0.2 PFI 8 P0.3 Signal D GND P0.4 P0.5 P0.6 P0.7 D GND PFI 8/P2.0
Internal Connection
Wire
The designated space below each USER <1..2> BNC is for marking or labeling signal names.
A-120
ni.com
Appendix A
Device-Specific Information
A-121
Appendix A
Device-Specific Information
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
AI 24 AI 17 AI GND AI 26 AI 19 AI GND AI 20 AI GND AI 29 AI 22 AI GND AI 31 AO 2 AO 3 APFI 1 P0.12 D GND P0.9 P0.14 D GND +5 V D GND D GND P0.16 P0.17 D GND +5 V D GND P0.21 P0.22 D GND P0.25 P0.28 P0.30
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 16 AI GND AI 25 AI 18 AI GND AI 27 AI SENSE 2 AI 28 AI 21 AI GND AI 30 AI 23 AI GND AO GND AO GND D GND P0.8 P0.13 D GND P0.10 P0.15 P0.11 P0.27 P0.26 D GND P0.18 P0.19 P0.20 P0.29 P0.31 P0.23 P0.24 D GND D GND
TERMINAL 34
TERMINAL 1
TERMINAL 34
TERMINAL 1
A-122
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-123
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SH68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
A-124
ni.com
Appendix A
Device-Specific Information
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
Cables
In most applications, you can use the following cables: SH68-68-EPM1High-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 R68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-125
Appendix A
Device-Specific Information
NI 6280
PCI/PXI-6280 Pinout
Figure A-56 shows the pinout of the PCI/PXI-6280. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-126
ni.com
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 1 TERMINAL 68 TERMINAL 34
NC = No Connect
A-127
AI 10
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6280 Specifications
Refer to the NI 628x Specifications for more detailed information about the PCI/PXI-6280 device.
A-128
ni.com
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-129
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-130
ni.com
Appendix A
Device-Specific Information
NI 6281
The following sections contain information about the PCI/PXI-6281, USB-6281 Screw Terminal, and USB-6281 Mass Termination devices.
A-131
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 1 TERMINAL 68 TERMINAL 34
A-132
AI 10
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6281 Specifications
Refer to the NI 628x Specifications for more detailed information about the PCI/PXI-6281 device.
A-133
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-134
ni.com
Appendix A
Device-Specific Information
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-135
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
A-136
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-137
Appendix A
Device-Specific Information
A-138
ni.com
Appendix A
Device-Specific Information
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
TERMINAL 68
TERMINAL 35
TERMINAL 34
TERMINAL 1
A-139
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-140
ni.com
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SH68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
A-141
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SH68-68-EPM1High-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 R68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-142
ni.com
Appendix A
Device-Specific Information
NI 6284
PCI/PXI-6284 Pinout
Figure A-60 shows the pinout of the PCI/PXI-6284. The I/O signals appear on two 68-pin connectors. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
Note M Series devices may be used with most E Series accessories. However, some E Series accessories use different terminal names. Refer to the M Series and E Series Pinout Comparison section of Chapter 3, Connector and LED Information, for more information.
A-143
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND NC NC D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND
CONNECTOR 0 (AI 0-15)
AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 NC NC APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 1 TERMINAL 34 TERMINAL 68
AI 10
TERMINAL35 TERMINAL 1
TERMINAL 34 TERMINAL 68
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 APFI 1 NC NC AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND NC NC AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
NC = No Connect
NC = No Connect
A-144
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6284 Specifications
Refer to the NI 628x Specifications for more detailed information about the PCI/PXI-6284 device.
A-145
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output
A-146
ni.com
Appendix A
Device-Specific Information
BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-147
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-148
ni.com
Appendix A
Device-Specific Information
NI 6289
The following sections contain information about the PCI/PXI-6289, USB-6289 Screw Terminal, and USB-6289 Mass Termination devices.
A-149
Appendix A
Device-Specific Information
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35
34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
AI 8 AI 1 AI GND CONNECTOR 0 (AI 0-15) CONNECTOR 1 (AI 16-31) AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6 TERMINAL 35 TERMINAL 68 TERMINAL 1 TERMINAL 34 TERMINAL 34 TERMINAL 1 TERMINAL 68 TERMINAL 35
P0.30 P0.28 P0.25 D GND P0.22 P0.21 D GND +5 V D GND P0.17 P0.16 D GND D GND +5 V D GND P0.14 P0.9 D GND P0.12 APFI 1 AO 3 AO 2 AI 31 AI GND AI 22 AI 29 AI GND AI 20 AI GND AI 19 AI 26 AI GND AI 17 AI 24
1 2 3 4 5 6 7 8 9
35 36 37 38 39 40 41 42 43
D GND D GND P0.24 P0.23 P0.31 P0.29 P0.20 P0.19 P0.18 D GND P0.26 P0.27 P0.11 P0.15 P0.10 D GND P0.13 P0.8 D GND AO GND AO GND AI GND AI 23 AI 30 AI GND AI 21 AI 28 AI SENSE 2 AI 27 AI GND AI 18 AI 25 AI GND AI 16
10 44 11 45 12 46 13 47 14 48 15 49 16 50 17 51 18 52 19 53 20 54 21 55 22 56 23 57 24 58 25 59 26 60 27 61 28 62 29 63 30 64 31 65 32 66 33 67 34 68
A-150
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
PCI/PXI-6289 Specifications
Refer to the NI 628x Specifications for more detailed information about the PCI/PXI-6289 device.
A-151
Appendix A
Device-Specific Information
SCXI Accessories
SCXI is a programmable signal conditioning system designed for measurement and automation applications. To connect your M Series device to an SCXI chassis, use the SCXI-1349 adapter and an SHC68-68-EPM cable. Use Connector 0 of your M Series device to control SCXI. NI-DAQ 7.4 and later supports SCXI in parallel mode on Connector 1.
Note When using Connector 1 in parallel mode with SCXI modules that support track and hold, you must programmatically disable track and hold.
You also can use an M Series device to control the SCXI section of a PXI/SCXI combination chassis, such as the PXI-1010 or PXI-1011. The M Series device in the rightmost PXI slot controls the SCXI devices. No cables or adapters are necessary. Refer to the SCXI Advisor, available by going to ni.com/info and entering the info code rdscad, for more information.
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SHC68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output
A-152
ni.com
Appendix A
Device-Specific Information
BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
RTSI Cables
Use RTSI bus cables to connect timing and synchronization signals among PCI devices, such as M Series, E Series, CAN, and other measurement, vision, and motion devices. Since PXI devices use PXI backplane signals for timing and synchronization, no cables are required.
TB-2706 uses Connector 0 of your PXI device. After a TB-2706 is installed, Connector 1 cannot be used.
A-153
Appendix A
Device-Specific Information
Cables
In most applications, you can use the following cables: SHC68-68-EPM1High-performance cable designed specifically for M Series devices. It has 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 SHC68-68Lower-cost shielded cable with 34 twisted pairs of wire RC68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable will work with M Series devices.
A-154
ni.com
Appendix A
Device-Specific Information
A-155
Appendix A
Device-Specific Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 PFI 0/P1.0 PFI 1/P1.1 PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 5/P1.5 PFI 6/P1.6 PFI 7/P1.7
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
PFI 8/P2.0 D GND PFI 9/P2.1 D GND PFI 10/P2.2 D GND PFI 11/P2.3 D GND PFI 12/P2.4 D GND PFI 13/P2.5 D GND PFI 14/P2.6 D GND PFI 15/P2.7 +5 V
P0.8 P0.9 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 P0.17 P0.18 P0.19 P0.20 P0.21 P0.22 P0.23
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
P0.24 D GND P0.25 D GND P0.26 D GND P0.27 D GND P0.28 D GND P0.29 D GND P0.30 D GND P0.31 D GND
A-156
ni.com
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-157
Appendix A
Device-Specific Information
A-158
ni.com
Appendix A
Device-Specific Information
AI 8 AI 1 AI GND AI 10 AI 3 AI GND AI 4 AI GND AI 13 AI 6 AI GND AI 15 AO 0 AO 1 APFI 0 P0.4 D GND P0.1 P0.6 D GND +5 V D GND D GND PFI 0/P1.0 PFI 1/P1.1 D GND +5 V D GND PFI 5/P1.5 PFI 6/P1.6 D GND PFI 9/P2.1 PFI 12/P2.4 PFI 14/P2.6
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 0 AI GND AI 9 AI 2 AI GND AI 11 AI SENSE AI 12 AI 5 AI GND AI 14 AI 7 AI GND AO GND AO GND D GND P0.0 P0.5 D GND P0.2 P0.7 P0.3 PFI 11/P2.3 PFI 10/P2.2 D GND PFI 2/P1.2 PFI 3/P1.3 PFI 4/P1.4 PFI 13/P2.5 PFI 15/P2.7 PFI 7/P1.7 PFI 8/P2.0 D GND D GND
AI 24 AI 17 AI GND AI 26 AI 19 AI GND AI 20 AI GND AI 29 AI 22 AI GND AI 31 AO 2 AO 3 APFI 1 P0.12 D GND P0.9 P0.14 D GND +5 V D GND D GND P0.16 P0.17 D GND +5 V D GND P0.21 P0.22 D GND P0.25 P0.28
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
AI 16 AI GND AI 25 AI 18 AI GND AI 27 AI SENSE 2 AI 28 AI 21 AI GND AI 30 AI 23 AI GND AO GND AO GND D GND P0.8 P0.13 D GND P0.10 P0.15 P0.11 P0.27 P0.26 D GND P0.18 P0.19 P0.20 P0.29 P0.31 P0.23 P0.24 D GND D GND
P0.30
TERMINAL 68
TERMINAL 35
TERMINAL 68
TERMINAL 35
TERMINAL 34
TERMINAL 1
TERMINAL 34
TERMINAL 1
A-159
Appendix A
Device-Specific Information
Note For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help in version 8.0 or later.
A-160
ni.com
Appendix A
Device-Specific Information
SCC Accessories
SCC provides portable, modular signal conditioning to your DAQ system. To connect your M Series device to an SCC module carrier, such as the SC-2345, SC-2350, or SCC-68, use an SH68-68-EPM shielded cable. Use Connector 0 of your M Series device to control an SCC module carrier. SCC carriers can be used with Connector 1 with NI-DAQ 7.4 and later. Refer to the SCC Advisor, available by going to ni.com/info and entering the info code rdscav, for more information.
BNC Accessories
You can use the SH68-68-EPM shielded cable, to connect your DAQ device to BNC accessories, such as the following: BNC-2110Provides BNC connectivity to all analog signals, some digital signals, and spring terminals for other digital signals BNC-2111Provides BNC connectivity to 16 single-ended analog input signals, two analog output signals, five DIO/PFI signals, and the external reference voltage for analog output BNC-2120Similar to the BNC-2110, and also has a built-in function generator, quadrature encoder, temperature reference, and thermocouple connector BNC-2090ADesktop/rack-mountable device with 22 BNCs for connecting analog, digital, and timing signals
You can use one BNC accessory with the signals on either connector of your M Series device. You can use two BNC accessories with one M Series device by using both connectors.
A-161
Appendix A
Device-Specific Information
You can use one screw terminal accessory with the signals on either connector of your M Series device. You can use two screw terminal accessories with one M Series device by using both connectors.
Cables
In most applications, you can use the following cables: SH68-68-EPM1High-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 R68-68Highly-flexible unshielded ribbon cable
NI recommends that you use the SH68-68-EPM cable; however, an SH68-68-EP cable will work with M Series devices.
A-162
ni.com
Timing Diagrams
This appendix contains detailed timing information and diagrams for the M Series device blocks: Analog Input Timing Diagrams Analog Output Timing Diagrams Digital I/O Timing Diagrams Counters Timing Diagrams Clock Generation Timing Diagrams
B-1
Appendix B
Timing Diagrams
Figure B-1 is a simplified model of the M Series analog input timing engine.
_i Terminal _i Terminal Selected Start Trigger POUT RTSI Terminal _i _i Terminal _i Pause Trigger Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block (and Other Counters, and Such of Timer Core) POUT SI_TC SI2 SI2_TC Counter Block Start Terminal _i Selected Sample Clock POUT 1 Terminal Terminal p_AI_Convert POUT Selected Pause Trigger POUT Terminal POUT Terminal
Reference Trigger
Start Trigger
_i _i
The following signals are used in Figure B-1 and in the following sections: TerminalRefers to any device terminal, such as PFI or RTSI. These terminals are used as inputs and as outputs for signals. _iRefers to any internal signal available to the analog input timing engine for use. In the case of signals coming from an external terminal, this is the signal after is been through the first input buffer. _i also can refer to other internal signals such as internal timebases or signals coming from other blocks. POUTRefers to any output signal right before it is driven to an output terminal. Convert Clock Timebase and Sync Convert Clock TimebaseConvert Clock Timebase is the source signal used to generate the signal that will actually cause the ADC to do a conversion (p_AI_Convert). This signal can be an internal or external timebase
B-2
ni.com
Appendix B
Timing Diagrams
that is divided by the SI2 counter, or can be an external Convert Clock signal. Sync Convert Clock Timebase is a signal related to Convert Clock Timebase that is used to synchronize external signals before they are used by circuits running from Convert Clock Timebase. Sample Clock Timebase and Sync Sample Clock TimebaseSample Clock Timebase is the source for the SI counter and can be used to generate the sample timing. Each Sample Clock in turn triggers the generation of one or more converts. This signal can be an internal or external timebase. Sync Sample Clock Timebase is a signal related to Sample Clock Timebase that is used to synchronize external signals before they are used by circuits running from Sample Clock Timebase. Selected Start Trigger and Start TriggerStart Trigger is the signal that starts the analog input timing engine. This signal can come from external signals, a software command, or internal sources. Selected Start Trigger is the signal chosen to be the Start Trigger before it is synchronized (just after the selection mux). Selected Reference Trigger and Reference TriggerA Reference Trigger is a trigger that can stop the AI timing engine. If the Reference Trigger is enabled, the AI timing engine will stop acquiring data once it sees a valid event on the Reference Trigger and it has acquired the posttrigger number of samples. This signal can come from external signals, a software command, or internal sources. The Selected Reference Trigger is the signal chosen to be the Reference Trigger before it is synchronized (just after the selection mux). Selected Sample Clock and Sample ClockSelected Sample Clock is the signal selected to become Sample Clock before any synchronization (just after the selection mux). The Sample Clock marks the beginning of a new sample. This signal can be an external or internal signal. When an internal signal, it can be generated with the SI counter dividing the Sample Clock Timebase signal. It also can come from an external terminal or from a signal from another internal resource inside the M Series device. Selected Pause Trigger and Pause TriggerThe Pause Trigger can be used to pause the acquisition for a certain period of time. Selected Pause Trigger is the signal that becomes the Pause Trigger signal before synchronization. p_AI_ConvertThe signal that starts the conversions of data at the ADC component. This signal goes directly to the ADC, but copies can be routed to output terminals.
B-3
Appendix B
Timing Diagrams
Input Timing
Input timing refers to the delays involved in importing external signals to be used as triggers or clocks in the AI timing engine. Figures B-2 and B-3 and Table B-1 describe the insertion delays for external signals.
_i Terminal _i Terminal Selected Start Trigger RTSI Selected Pause Trigger Pause Trigger Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block Terminal p_AI_Convert Selected Reference Trigger Reference Trigger
Terminal Terminal
Start Trigger
_i Terminal _i Terminal
Convert Clock Timebase Sync Convert Clock Timebase _i Terminal Selected Sample Clock
Terminal
Figure B-2. Input Timing and the Analog Input Timing Engine
Terminal t1 t1 _i
B-4
ni.com
Appendix B
Timing Diagrams
* The delay ranges given for PFI and RTSI represent the fastest and slowest terminal routing within the trigger group for a given condition (maximum or minimum timing). This difference can be useful when two external signals will be used together and the relative timing between the signals is important.
B-5
Appendix B
Timing Diagrams
The second level of timing is the sample level. Basically, converts are grouped in sets called samples, and the timing of the samples can be independent from the timing of the converts. The M Series device can use a timebase to generate the sample timing. This timebase is called Sample Clock Timebase. This signal can be internal (for example, an internal timebase) or external. Either way, the signal gets divided in the SI counter and used to generate Sample Clock signals (which in turn, signal the start of a sample). In order to synchronize external triggers to the Sample Clock Timebase, another related signal is created, Sync Sample Clock Timebase. This is always the inverted signal selected to be Sample Clock Timebase, while the Sample Clock Timebase signal is a copy without inversion of the signal. The idea is that for each significant edge of the Sample Clock Timebase, there is a significant edge of the Sync Sample Clock Timebase signal that occurs before Sample Clock Timebase and that can be used to synchronize the input triggers. The source for Convert Clock Timebase and Sample Clock Timebase is the internal signal bus, _i. The timing of this signal is described in relation to this common point. The Convert Clock Timebase and Sample Clock Timebase can be asynchronous from each other.
Selected Reference Trigger Reference Trigger
Terminal Terminal
Terminal Terminal
RTSI Terminal _i Terminal Sample Clock Timebase Sync Sample Clock Timebase Pause Trigger Pause Trigger SI Start SI Counter Block SI_TC SI2 SI2_TC Counter Block Start 1 Terminal Terminal p_AI_Convert Pause Trigger
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Figure B-4. AI Timing Clocks and the Analog Input Timing Engine
B-6
ni.com
Appendix B
Timing Diagrams
t2
t3
t5 Sync Sample Clock Timebase t6 Convert Clock Timebase t7 Sync Convert Clock Timebase
Figure B-5. AI Timing Clocks Timing Diagram Table B-2. AI Timing Clocks Timing
Time t2 t3 t4 Description Minimum Pulse Width Minimum Period Delay to Sample Clock Timebase PFI RTSI STAR t5 Delay to Sync Sample Clock Timebase PFI RTSI STAR t6 Delay to Convert Clock Timebase PFI RTSI STAR t7 Delay to Sync Convert Clock Timebase PFI RTSI STAR Line Min (ns) 12.5 50.0 3.8 3.5 3.0 3.4 3.2 2.7 4.1 3.9 3.4 3.6 3.3 2.9 Max (ns) 9.3 9.0 6.4 8.5 8.3 5.6 10.2 9.9 7.3 8.9 8.6 6.0
B-7
Appendix B
Timing Diagrams
Convert Clock
Convert Clock is the signal that determines when an analog to digital conversion is started. The signal going to the ADC is called p_AI_Convert. Convert Clock also can be routed to several external I/O terminals for external use. Convert Clock is always generated from the Convert Clock Timebase signal, either directly or indirectly (by dividing it down using the SI2 counter). If the SI2 counter is used, it is assumed that a reliable free-running clock is being used. Refer to the AI Timing Clocks section for the timing relationship between Convert Clock Timebase and Sync Convert Clock Timebase. If the SI2 counter is not being used (external convert case), the Convert Clock Timebase is assumed to be not free-running and the relationship between the Convert Clock Timebase and the Sync Convert Clock Timebase is an asynchronous delay. Whether the SI2 counter is used or not, the timing parameters in the generation of Convert Clock are the same starting at the Convert Clock Timebase signal.
Selected Reference Trigger Reference Trigger
Terminal Terminal
Terminal Terminal
RTSI Terminal Selected Pause Trigger Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block Terminal p_AI_Convert
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Terminal
Figure B-6. Convert Clock and the Analog Input Timing Engine
B-8
ni.com
Appendix B
Timing Diagrams
t8 _i
Sync Convert Clock Timebase t9 Convert Clock Timebase t10 p_AI_Convert t11 POUT
Figure B-7. Convert Clock Timing Diagram Table B-3. Convert Clock Timing
Time t8 Description Delay from _i to Sync Convert Clock Timebase PFI RTSI STAR t9 Delay from _i to Convert Clock Timebase PFI RTSI STAR t10 t11 Delay from Convert Clock Timebase to p_AI_Convert Delay from Convert Clock Timebase to Convert Clock, when exported to an external terminal (POUT) PFI RTSI Line Min (ns) 6.4 6.0 5.7 16.2 16.0 15.5 6.0 4.6 4.6 Max (ns) 15.9 15.6 12.9 39.1 38.8 36.1 13.0 10.8 10.5
_i
p_AI_Convert t12
Figure B-8. Convert Clock and Any Internal Signal Timing Diagram
B-9
Appendix B
Timing Diagrams
Start Trigger
The Start Trigger is the signal that starts an AI acquisition. This signal can come from an external source (through an external terminal) or from an internal source. One possible internal source is a software-generated pulse. A multiplexer selects from all the possible sources (all of them at _i level) and outputs a signal called Selected Start Trigger. Selected Start Trigger then gets sent to the two timing levels in the AI section (the Convert Clock Timebase and the Sample Clock Timebase timing level) for synchronization to each clock. Once the Convert Clock Timebase timing domain has received a valid Start Trigger, the AI timing engine is ready to begin generating converts, as soon as it receives a Sample Clock (beginning of a sample). Once the Sample Clock Timebase domain has received a valid Start Trigger, the AI timing engine is ready to begin generating Sample Clocks.
B-10
ni.com
Appendix B
Timing Diagrams
Terminal _i Terminal
Terminal Terminal
Start Trigger
Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Terminal
Figure B-9. Convert Clock Timebase Timing and the Analog Input Timing Engine
_i
t13
Selected Start Trigger t15 Sync Convert Clock Timebase t14 t16
POUT
B-11
Appendix B
Timing Diagrams
Terminal _i Terminal
Reference Trigger
Terminal Terminal
RTSI Terminal Selected Pause Trigger SI Start SI Counter Block Terminal p_AI_Convert
Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Terminal
Figure B-11. Sample Clock Timebase Timing and the Analog Input Timing Engine
B-12
ni.com
Appendix B
Timing Diagrams
_i t18 Selected Start Trigger t20 Sync Sample Clock Timebase t19 t21 SI Start
Figure B-12. Sample Clock Timebase Timing Diagram Table B-6. Sample Clock Timebase Timing
Time t18 Description Delay to Selected Start Trigger PFI RTSI STAR t19 t20 t21 Selected Start Trigger Setup/Hold Time (to Sync Sample Clock Timebase) Selected Start Trigger Setup/Hold Time (to Sync Sample Clock Timebase) Sync Sample Clock Timebase to SI_Start Line Min (ns) 3.4 3.3 2.7 1.5 0 0.9 Max (ns) 8.8 8.5 5.7 2.2
Reference Trigger
Use the Reference Trigger to stop the acquisition. It is normally used in pretrigger acquisitions; it is necessary to acquire data before and after the trigger. The Reference Trigger signals the time when the AI timing engine starts counting the number of posttrigger conversions to take before stopping. The Reference Trigger can come from external or internal sources and its source is selected with a multiplexer. Its output is called the Selected Reference Trigger.
B-13
Appendix B
Timing Diagrams
Terminal Terminal
Reference Trigger
RTSI Terminal Selected Pause Trigger Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block Terminal p_AI_Convert
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Terminal
Figure B-13. Reference Trigger and the Analog Input Timing Engine
_i t22 Selected Reference Trigger t24 Sync Convert Clock Timebase t23 t25 Reference Trigger t26 POUT t26
B-14
ni.com
Appendix B
Timing Diagrams
Sample Clock
Sample Clock signals the start of a sample (which, in turn, is a set of converts). Sample Clock is generated from external or internal sources. The main internal source is the terminal count (TC) of the SI counter that runs on the Sample Clock Timebase signal. All the sources for Sample Clock are at the _i level and are selected using a multiplexer. The output of this multiplexer is called Selected Sample Clock.
B-15
Appendix B
Timing Diagrams
Terminal Terminal
Reference Trigger
Terminal Terminal
RTSI Terminal Selected Pause Trigger Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block Terminal p_AI_Convert
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
RST
Terminal
Figure B-15. Sample Clock and the Analog Input Timing Engine
_i t27 t28 Sync Convert Clock Timebase t30 Sample Clock t31 t29
POUT
B-16
ni.com
Appendix B
Timing Diagrams
The AI timing engine also can export a signal related to the Sample Clock called AI_Sample_In_Progress. This signal asserts with the Sample Clock and stays asserted until after the last convert of the sample. It is useful for external simultaneous sample and hold signal conditioning.
Sample Clock
Convert Clock
t33
B-17
Appendix B
Timing Diagrams
Pause Trigger
The Pause Trigger signal can be used to pause the acquisition any time the signal deasserts. It is generated from internal or external sources. A multiplexer selects a signal from the _i bus; its output is called Selected Pause Trigger.
Selected Reference Trigger Reference Trigger
Terminal Terminal
Terminal Terminal
RTSI Terminal Selected Pause Trigger SI Start SI Counter Block Terminal p_AI_Convert
Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase
Convert Clock Timebase Sync Convert Clock Timebase Terminal Selected Sample Clock
Terminal
Figure B-18. Pause Trigger and the Analog Input Timing Engine
B-18
ni.com
Appendix B
Timing Diagrams
_i t34 Selected Pause Trigger t35 Sync Convert Clock Timebase t37 Pause Trigger t37 POUT t38 t37 t36 t35
Figure B-19. Pause Trigger Timing Diagram Table B-10. Pause Trigger Timing
Time t34 _i to Selected Gate Description PFI RTSI STAR t35 t36 t37 t38 Selected Pause Trigger Setup Time (to Sync Convert Clock Timebase) Hold (Sync Convert Clock Timebase) Sync Convert Clock Timebase to Pause Trigger Pause Trigger Source in _i to POUT RTSI Line Min (ns) 3.2 3.0 2.5 1.5 0 0.6 1.1 Max (ns) 7.8 7.5 4.9 2.6 3.1
Output Timing
Output timing refers to the delays involved in exporting internal signals to external terminals, so they can be used to trigger or time external devices. These timing parameters include the selection multiplexer in each terminal plus the delay of the output driver. Figures B-20 and B-21 and Table B-11 describe output timing. The delays presented in this section assume a 200 pF load on PFI lines and a 50 pF load on RTSI lines. Actual delays vary with the actual load.
B-19
Appendix B
Timing Diagrams
Terminal Terminal
Selected Start Trigger POUT RTSI Terminal Selected Pause Trigger Pause Trigger Terminal Sample Clock Timebase Sync Sample Clock Timebase SI Start SI Counter Block POUT SI_TC SI2 SI2_TC Counter Block Start Terminal Selected Sample Clock 1 POUT Terminal Terminal p_AI_Convert
Figure B-20. Output Timing and the Analog Input Timing Engine
B-20
ni.com
Appendix B
Timing Diagrams
AO Timer
Sample Clock
PFI
B-21
Appendix B
Timing Diagrams
The following signals are used in Figure B-22 and in the following sections: Sample ClockThis signal multiplied by the digital to analog conversions. This signal is routed to the DAC, and in every pulse, the DAC will perform a data conversion. This signal can come directly from an external signal or can be the result of dividing down the Sample Clock Timebase using the UI counter. Sample Clock TimebaseThis signal can be used to generate the Sample Clock. This signal acts as the clock for the UI counter, and a Sample Clock can be generated every N periods of the Sample Clock Timebase by programming the UI counter accordingly. This signal can come from an internal source (such as the board oscillator) or an external source. Sync Sample Clock TimebaseThe Sync Sample Clock Timebase is a signal that is generated internally and is related to the Sample Clock Timebase. How it is generated and the relationship between the two signals depends on the mode of operation. In general, the Sync Sample Clock Timebase is used to synchronize the input signals to the analog output timing engine before they are used by the Sample Clock Timebase. Start Trigger and Selected Start TriggerThe Start Trigger determines when a timed analog output operation will begin. This signal can come from a software command or an external pulse. Selected Start Trigger is the output of the selection block for the Start Trigger source. Pause Trigger and Selected PauseThe waveform generation can be paused using the pause trigger. When enabled, the waveform generation will occur as long as the gate is enabled. The generation will be paused if the gate is disabled. This signal can come from a software command or an external signal. The Selected Pause is the output of the selection block for the Pause Trigger source. Star_Trig, RTSI, or PFIThese terminals are the I/O interface for the device. All external triggers are input on these terminals. Internal signals can be exported to these terminals as well. _i SignalsAll signals marked with _i are external signals that have been through the I/O buffers and are ready for internal use.
B-22
ni.com
Appendix B
Timing Diagrams
Input Timing
Input timing refers to the delays of importing signals from the external terminals so that the analog output timing engine can use them as sources for different triggers or clocks. Figure B-23 and Table B-12 describe the insertion delays for external signals.
Terminal t1 t1 _i
* The delay ranges given for PFI and RTSI represent the fastest and slowest terminal routing within the trigger group for a given condition (maximum or minimum timing). This difference can be useful when two external signals will be used together and the relative timing between the signals is important.
B-23
Appendix B
Timing Diagrams
If the Sample Clock is being generated by dividing down the Sample Clock Timebase, the analog output generation is timed from the output of the UI counter. The signal Sample Clock Timebase can be an external signal. When the analog output timing engine operates in this mode, it is assumed that the source signal for the Sample Clock timebase is a free-running clock, so the Sync Sample Clock Timebase is the inverted version of Sample Clock Timebase. Configuring the analog output timing engine for rising edge operation will cause the external signals to be synchronized on the falling edge of the Sample Clock Timebase, which corresponds to the rising edge of Sync Sample Clock Timebase.
Signal_i t4
Figure B-25. Sample Clock Timebase and the Sync Sample Clock Timebase Timing Diagram Table B-14. Sample Clock Timebase and the Sync Sample Clock Timebase Timing
Time t4 t5 From Signal_i Signal_i To Sample Clock Timebase Sync Sample Clock Timebase Min (ns) 2.4 2.4 Max (ns) 9.3 9.3
B-24
ni.com
Appendix B
Timing Diagrams
Start Trigger
As an output, the Start Trigger is routed as an asynchronous pulse. The actual signal that gets routed is the Selected Start Trigger signal, so there is no synchronous delay involved.
Signal_i
Logic
To Internal Logic
t6 t7 t8
Figure B-27. Start Trigger Timing Diagram Table B-15. Start Trigger Timing from Signal_i to Selected Start Trigger
Time t6 From Signal_i To Selected Start Trigger Min (ns) 2.9 Max (ns) 9.8
Pause Trigger
The analog output Pause Trigger can be used to pause an ongoing generation. It is received on the rising edge of Sync Sample Clock Timebase.
B-25
Appendix B
Timing Diagrams
Signal_i
Logic
To Internal Logic
t9 Signal_i t9
t10
t11 t10
Figure B-29. Pause Trigger Timing Diagram Table B-17. Pause Trigger Timing from Signal_i to Selected Pause Trigger
Time t9 From Signal_i To Selected Pause Trigger Min (ns) 1.7 Max (ns) 7.8
B-26
ni.com
Appendix B
Timing Diagrams
Let DFFSetup and DFFHold be the setup and hold time of the DFF. Let ExternalSetup and ExternalHold be the setup and hold time of the trigger to the clock at the terminals.
Figure B-30 shows the external trigger and external clock and the trigger delay and clock delay.
DFF External Trigger TriggerDelay D Q
External Clock
ClockDelay
To satisfy the DFF setup and hold requirement, the following condition must be true: ExternalSetup DFFSetup ClockDelay + TriggerDelay ExternalHold DFFHold + ClockDelay TriggerDelay DFFSetup and DFFHold are given by Table B-16 for AO Start Trigger and Table B-18 for AO Pause triggers. ClockDelay is the sum of the input timing, shown in Table B-12, and insertion timing, shown in Table B-13. TriggerDelay is the sum of the input timing, shown in Table B-12, and internal timing, shown in Tables B-15 and B-17. For setup calculations, use the maximum timing parameters. For hold calculations, use the minimum timing parameters. For input timing, as shown in Table B-12, two numbers are given for the maximum delay and two numbers for the minimum delay. In order to account for the worst case skew between different input terminals, use the range given in the input delay tables in the Input Timing section in a way that provides the most conservative results. For setup calculations, use the bigger number for TriggerDelay and the smaller number ClockDelay. For hold calculations, use the smaller number for TriggerDelay and the larger number for ClockDelay.
B-27
Appendix B
Timing Diagrams
Output Timing
The analog output timer has three possible trigger outputsStart Trigger, Pause Trigger, and Sample Clock. The delays presented in this section assume a 200 pF load on PFI lines and a 50 pF load on RTSI lines. Actual delays will vary with the actual load. The two numbers given for each condition represent the variation from the best case and worst case terminals. Start TriggerAs an output, the Start Trigger is routed as an asynchronous pulse. The actual signal that gets routed is the Selected Start Trigger signal, so there is no synchronous delay involved.
Routing Logic
RTSI, PFI
To Internal Logic
t12
Figure B-32. Start Trigger Output Delay Timing Diagram Table B-19. Start Trigger Output Delay Timing
Time t12 From Selected Start Trigger Selected Start Trigger PFI RTSI To 8.1 7.5 Min (ns) 9.1 7.7 27.1 17.9 Max (ns) 30.8 18.5
B-28
ni.com
Appendix B
Timing Diagrams
Pause TriggerPause Trigger is only output asynchronously and only to RTSI. The actual signal being routed is Selected Pause. The Pause Trigger output timing can be derived by adding the delay in Table B-20 to the total Selected Pause delay.
To Internal Logic
t13 t13
Figure B-34. Pause Trigger Output Routing Delay Timing Diagram Table B-20. Pause Trigger Output Routing Delay Timing
Time t13 From Selected Pause Trigger RTSI To 6.7 Min (ns) 7.1 16.3 Max (ns) 17.0
B-29
Appendix B
Timing Diagrams
Sample ClockThe rising edge of the Sample Clock is output synchronous to the Sample Clock Timebase. It can be calculated by adding the Sample Clock Timebase insertion to the delay in Table B-21. The exported Sample Clock signal is active low, each falling edge representing a conversion.
Routing Logic
RTSI, PFI
Internal Logic
To Internal Logic
t14
Figure B-36. Sample Clock Delay Timing Diagram Table B-21. Sample Clock Delay Timing
Time t14 From AO Sample Clock AO Sample Clock PFI RTSI To 9.7 8.8 Min (ns) 10.7 9.1 31.1 21.3 Max (ns) 34.3 21.7
B-30
ni.com
Appendix B
Timing Diagrams
DO Sample Clock
P0
PFI (Output)
B-31
Appendix B
Timing Diagrams
Figure B-38 and Tables B-22 and B-23 describe the digital waveform acquisition timing delays and requirements. Your inputs must meet the requirements to ensure proper behavior.
t1 t2 PFI, RTSI, or PXI_STAR PFI_i, RTSI_i, or PXI_STAR_i t4 DI Sample Clock t5 P0 t7 P0_i t8 PFI (Output) t9 t7 t6 t4 t2
t3
t3
B-32
ni.com
Appendix B
Timing Diagrams
* The delay ranges given for PFI and RTSI represent the fastest and slowest terminal routing within the trigger group for a given condition (maximum or minimum timing). This difference can be useful when two external signals will be used together and the relative timing between the signals is important. When DI Sample Clock is routed to a PFI output pin, the pulse width of the output is independent of the pulse width of the input. The pulse width is specified in a number of periods of the 80 MHz Timebase
B-33
Appendix B
Timing Diagrams
DO Sample Clock
P0
PFI (Output)
Figure B-40 and Tables B-24 and B-25 describe the digital waveform generation timing delays and requirements. Your inputs must meet the requirements to ensure proper behavior.
t10 t11 PFI, RTSI, or PXI_STAR PFI_i, RTSI_i, or PXI_STAR_i t13 DO Sample Clock t14 P0 t15 PFI (Output) t16 t13 t11
t12
t12
B-34
ni.com
Appendix B
Timing Diagrams
* The delay ranges given for PFI and RTSI represent the fastest and slowest terminal routing within the trigger group for a given condition (maximum or minimum timing). This difference can be useful when two external signals will be used together and the relative timing between the signals is important. When DO Sample Clock is routed to a PFI output pin, the pulse width of the output is independent of the pulse width of the input. The pulse width is specified in a number of periods of the 80 MHz Timebase.
B-35
Appendix B
Timing Diagrams
Input Delays
This section describes some of the timing delays of the counter/timer circuit. To describe delays of the counter/timer, we model the circuitry as shown in Figure B-41. In the figure, PFI, RTSI, and PXI_STAR represent signals at connectors pins of the M Series device. The other named signals represent internal signals.
PFI, RTSI, or PXI_STAR PFI_i, RTSI_i, or PXI_STAR_i Count_Enable Other Internal Signals Selected_Gate Gate Logic 32-Bit Counter
Out_o
PFI, RTSI, or PXI_STAR (Counter n Gate) PFI, RTSI, or PXI_STAR (Counter n Internal Output) PFI, RTSI, or PXI_STAR (Counter n Source)
Selected_Source
t1
t1
B-36
ni.com
Appendix B
Timing Diagrams
* The delay ranges given for PFI and RTSI represent the fastest and slowest terminal routing within the trigger group for a given condition (maximum or minimum timing). This difference can be useful when two external signals will be used together and the relative timing between the signals is important.
t2
t2
Figure B-43. Selected Gate Delays Timing Diagram Table B-27. Selected Gate Delays Timing
Time t2 From PFI_i, RTSI_i, PXI_STAR_i, or any internal signal To Selected Gate Min (ns) 1.0 Max (ns) 6.0
B-37
Appendix B
Timing Diagrams
t3
t3
Figure B-44. Selected Source Delays Timing Diagram Table B-28. Selected Source Delays Timing
Time t3 From PFI_i, RTSI_i, PXI_STAR_i, or any internal signal 20 MHz Timebase 100 kHz Timebase 80 MHz Timebase PXI_CLK10 To Selected Source Selected Source Selected Source Selected Source Selected Source Min (ns) 8.0 1.5 1.5 1.0 1.0 Max (ns) 21.0 4.0 4.0 2.5 3.5
B-38
ni.com
Appendix B
Timing Diagrams
Input Requirements
Refer to the Figure B-41 for the M Series counter/timer circuitry.
Counter n Source
t6
Figure B-46. Counter n Source Timing Requirements Table B-30. Counter n Source Timing
Time t5 Description Counter n Source Period Synchronization Mode 80 MHz Source Other Internal Source External Source Min (ns)* 12.5 25.0 50.0 Max (ns)
B-39
Appendix B
Timing Diagrams
* The times in this table are measured at the pin of the M Series device. For example, t specifies the minimum period of a 5 signal driving a PFI, RTSI, or PXI_STAR pin when that signal is internally routed to Counter n Source.
Counter n Gate
t7
Figure B-47. Counter n Gate Pulse Width Timing Diagram Table B-31. Counter n Gate Pulse Width Timing
Time t7 Description Counter n Gate Pulse Width Counter n Gate Pulse Width
*
Max (ns)
The times in this table are measured at the pin of the M Series device. That is, t7 specifies the minimum pulse width of a signal driving a PFI, RTSI, or PXI_STAR pin when that signal is internally routed to Counter n Gate.
B-40
ni.com
Appendix B
Timing Diagrams
Figure B-48 and Table B-32 show the setup and hold requirements at the PFI pins for the first case (where a PFI pin drives Counter n Source and a different PFI pin drives Counter n Gate).
PFI (Gate) t8S PFI (Source) t8H
Figure B-48. Gate to Source Setup and Hold Timing Diagram Table B-32. Gate to Source Setup and Hold Timing
Time t8S Description Setup time from PFI (Gate) to PFI (Source) Hold time from PFI (Gate) to PFI (Source) Gating Mode Edge Level Edge Level Synchronization Mode External Source External Source External Source External Source Min (ns) 12.3 8.3 0.5 2.0 Max (ns)
t8H
Figure B-49 and Table B-33 show the setup and hold requirements of the internal block of the DAQ-STC2. Use the table to calculate the setup and hold times for your Source and Gate signals for the general case. In the general case, you can determine whether the setup and hold requirements are met by adding up the various delays of the appropriate signals through the counter/timer circuit.
Figure B-49. DAQ-STC2 Internal Block Setup and Hold Requirements Timing Diagram Table B-33. DAQ-STC2 Internal Block Setup and Hold Requirements Timing
Time t9S t9H Parameter Setup Hold Min (ns) 1.5 0 Max (ns)
B-41
Appendix B
Timing Diagrams
This example shows how we determine the setup and hold times for the PFI to PFI example above (first case) using level gating.
Setup
To calculate the setup time, subtract the Source delay from the Gate delay. Use maximum delays.
Gate Delay PFI to PFI_i PFI_i to Selected Gate Selected Gate to Count Enable (Level) Count Enable Setup Time Source Delay PFI to PFI_i PFI_i to Selected Source TSetup > 47.5 ns 39.2 ns = 8.3 ns 18.2 ns + 21.0 ns 39.2 ns 22.0 ns 6.0 ns 18.0 ns + 1.5 ns 47.5 ns
Hold
To calculate the hold time, subtract the Gate delay from the Source delay. Use minimum delays.
Gate Delay PFI to PFI_i PFI_i to Selected Gate Selected Gate to Count Enable (Level) Count Enable Hold Time Source Delay PFI to PFI_i PFI_i to Selected Source THold > 14.2 ns 12.2 ns = 2.0 ns 6.2 ns + 8.0 ns 14.2 ns 5.2 ns 1.0 ns 6.0 ns + 0.0 ns 12.2 ns
B-42
ni.com
Appendix B
Timing Diagrams
Output Delays
Refer to the Figure B-41 for the M Series counter/timer circuitry. Figure B-50 and Table B-34 show the output delays.
Selected Source t10 Out_o t11 PFI, RTSI (Counter n Internal Out) PFI, RTSI (Counter n Source) Selected Gate t13 PFI, RTSI (Counter n Gate)
t12
B-43
Appendix B
Timing Diagrams
Gating Modes
Gating mode refers to how the counter/timer uses the Gate input. Some timing operations depend on the gating mode. Depending on the application, the counter/timers either level gating mode or edge gating mode. In NI-DAQmx, the counter/timers use level gating mode for the following measurements: Edge counting Pulse width measurements Two-signal edge separation measurements
B-44
ni.com
Appendix B
Timing Diagrams
* The times in this table are measured at the pin of the M Series device. For example, t specifies the minimum period of a 14 signal driving a PFI, RTSI, or PXI_STAR pin when that signal is internally routed to Counter n A.
80 MHz Timebase
20 MHz Timebase
Figure B-52. Generating Different Clocks from the Onboard 80 MHz Oscillator
B-45
Appendix B
Timing Diagrams
Table B-36. Generating Different Clocks from the Onboard 80 MHz Oscillator
Time t1 t2 t3 From Onboard 80 MHz Oscillator 80 MHz Timebase 80 MHz Timebase To 80 MHz Timebase 20 MHz Timebase 100 kHz Timebase Min (ns) 4.0 0.5 1.0 Max (ns) 9.0 2.5 5.0
Table B-37 shows delays for generating different clocks using an External Reference Clock and the PLL.
RTSI <0..7> STAR_TRIG PXI_CLK10 (Reference Clock) 80 MHz Timebase (PLL) t5
Figure B-53. Generating Different Clocks Using an External Reference Clock and the PLL Table B-37. Generating Different Clocks Using an External Reference Clock and the PLL
Time t4 t5 80 MHz Timebase The source of the external reference clock (RTSI <0..7>, STAR_TRIG, PXI_CLK10) From To 20 MHz Timebase 80 MHz Timebase (through PLL_OUT) Min (ns) 1.5 1.0 Max (ns) 5.0 5.5
B-46
ni.com
Troubleshooting
This section contains common questions about M Series 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? You may be experiencing a phenomenon called charge injection, which occurs when you sample a series of high-output impedance sources with a multiplexer. Multiplexers contain switches, usually made of switched capacitors. When a channel, for example AI 0, is selected in a multiplexer, those capacitors accumulate charge. When the next channel, for example AI 1, is selected, the accumulated current (or charge) leaks backward through channel 1. If the output impedance of the source connected to AI 1 is high enough, the resulting reading can somewhat affect the voltage in AI 0. To circumvent this problem, use a voltage follower that has operational amplifiers (op-amps) with unity gain for each high-impedance source before connecting to an M Series device. Otherwise, you must decrease the sample rate for each channel. Another common cause of channel crosstalk is due to sampling among multiple channels at various gains. In this situation, the settling times can increase. For more information about charge injection and sampling channels at different gains, refer to the Multichannel Scanning Considerations section of Chapter 4, Analog Input. I am using my device in differential analog input ground-reference mode and I have connected a differential input signal, but my readings are random and drift rapidly. What is wrong? In DIFF mode, if the readings from the DAQ device are random and drift rapidly, you should check the ground-reference connections. The signal can be referenced to a level that is considered floating with reference to the device ground reference. Even if you are in DIFF mode, you must still reference the signal to the same ground level as the device reference. There
C-1
Appendix C
Troubleshooting
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 section of Chapter 4, Analog Input. AI GND is an AI common signal that routes directly to the ground connection point on the devices. You can use this signal if you need a general analog ground connection point to the device. Refer to the When to Use Differential Connections with Ground-Referenced Signal Sources section of Chapter 4, Analog Input, for more information. How can I use the AI Sample Clock and AI Convert Clock signals on an M Series device to sample the AI channel(s)? M Series devices use AI Sample Clock (ai/SampleClock) and AI Convert Clock (ai/ConvertClock) to perform interval sampling. As Figure C-1 shows, AI Sample Clock controls the sample period, which is determined by the following equation: 1/sample period = sample rate
Channel 0
AI Convert Clock controls the convert period, which is determined by the following equation: 1/convert period = convert rate This method allows multiple channels to be sampled relatively quickly in relationship to the overall sample rate, providing a nearly simultaneous effect with a fixed delay between channels.
C-2
ni.com
Appendix C
Troubleshooting
Analog Output
I am seeing glitches on the output signal. How can I minimize it? When you use a DAC to generate a waveform, you may observe glitches on the output signal. These glitches are normal; when a DAC switches from one voltage to another, it produces glitches due to released charges. The largest glitches occur when the most significant bit of the DAC code changes. You can build a lowpass deglitching filter to remove some of these glitches, depending on the frequency and nature of the output signal. Visit ni.com/support for more information about minimizing glitches.
Counters
When multiple sample clocks on my buffered counter measurement occur before consecutive edges on my source, I see weird behavior. Why? Duplicate count prevention ensures that the counter returns correct data for counter measurement in some applications where a slow or non-periodic external source is used. Refer to the Duplicate Count Prevention section of Chapter 7, Counters, for more information. How do I connect counter signals to my M Series device? The Default Counter/Timer Pinouts section of Chapter 7, Counters, has information about counter signal connections.
C-3
The following KnowledgeBase and Developer Zone documents will help you overcome typical hurdles in upgrading from E Series to M Series devices: Major Differences Between E Series and M Series DAQ Devices KnowledgeBase lists the advantages of M Series over E Series and the functional differences and other differences between the two DAQ device families. To access this KnowledgeBase, go to ni.com/info and enter the info code rdmess. Migrating an Application from E Series to M Series Developer Zone document highlights the main differences to remember when moving an application from E Series to M Series devices. To access this document, go to ni.com/info and enter the info code rde2m1. Using E Series Accessories with M Series Devices KnowledgeBase describes how to use 68-pin E Series accessories with M Series devices. To access this KnowledgeBase, go to ni.com/info and enter the info code rdea2m. M Series or S Series Devices Are Not Detected During Installation on Some Computers KnowledgeBase describes the difference between M Series and E Series power rails, and the PCI specification for the PCI bus and power rails, and contains an up-to-date list of computers with power rails that do not support M Series devices. To access this KnowledgeBase, go to ni.com/info and enter the info code rdmseis.
D-1
Visit the following sections of the award-winning National Instruments Web site at ni.com for technical support and professional services: SupportTechnical support resources at ni.com/support include the following: Self-Help Technical ResourcesFor answers and solutions, visit ni.com/support for software drivers and updates, a searchable KnowledgeBase, product manuals, step-by-step troubleshooting wizards, thousands of example programs, tutorials, application notes, instrument drivers, and so on. Registered users also receive access to the NI Discussion Forums at ni.com/forums. NI Applications Engineers make sure every question submitted online receives an answer. Standard Service Program MembershipThis program entitles members to direct access to NI Applications Engineers via phone and email for one-to-one technical support as well as exclusive access to on demand training modules via the Services Resource Center. NI offers complementary membership for a full year after purchase, after which you may renew to continue your benefits. For information about other technical support options in your area, visit ni.com/services, or contact your local office at ni.com/contact. Training and CertificationVisit ni.com/training for self-paced training, eLearning virtual classrooms, interactive CDs, and Certification program information. You also can register for instructor-led, hands-on courses at locations around the world. System IntegrationIf you have time constraints, limited in-house technical resources, or other project challenges, National Instruments Alliance Partner members can help. To learn more, call your local NI office or visit ni.com/alliance.
E-1
Appendix E
Declaration of Conformity (DoC)A DoC is our claim of compliance with the Council of the European Communities using the manufacturers declaration of conformity. This system affords the user protection for electronic compatibility (EMC) and product safety. You can obtain the DoC for your product by visiting ni.com/certification. Calibration CertificateIf your product supports calibration, you can obtain the calibration certificate for your product at ni.com/calibration.
If you searched ni.com and could not find the answers you need, contact your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual. You also can visit the Worldwide Offices section of ni.com/niglobal to access the branch office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.
E-2
ni.com
Glossary
Symbol p n m k M Prefix pico nano micro milli kilo mega Value 10 12 10 9 10 6 10 3 10 3 10 6
Symbols
% + < > / Percent. Positive of, or plus. Negative of, or minus. Plus or minus. Less than. Greater than. Less than or equal to. Greater than or equal to. Per. Degree. Ohm.
G-1
Glossary
A
A A/D AC accuracy Amperesthe unit of electric current. Analog-to-Digital. Most often used as A/D converter. Alternating current. 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. Application development environment. 1. Analog input. 2. Analog input channel signal. AI GND AI SENSE analog analog input signal analog output signal analog signal analog trigger Analog input ground signal. Analog input sense signal. A signal whose amplitude can have a continuous range of values. An input signal that varies smoothly over a continuous range of values, rather than in discrete steps. An output signal that varies smoothly over a continuous range of values, rather than in discrete steps. A signal representing a variable that can be observed and represented continuously. A trigger that occurs at a user-selected point on an incoming analog signal. Triggering can be set to occur at a specific level on either an increasing or a decreasing signal (positive or negative slope). Analog triggering can be implemented either in software or in hardware. When implemented in software (LabVIEW), all data is collected, transferred into system memory, and analyzed for the trigger condition. When analog triggering is implemented in hardware, no data is transferred to system memory until the trigger condition has occurred. Analog output.
ADE AI
AO
G-2
ni.com
Glossary
Analog channel 0 output signal. Analog channel 1 output signal. Analog channel 2 output signal. Analog channel 3 output signal. Analog output ground signal. A software program that creates an end-user function. The process of getting an instrument ready to perform a function. For example, the trigger circuitry of a digitizer is armed, meaning that it is ready to start acquiring data when an appropriate trigger condition is met. Application-specific integrated circuitA proprietary semiconductor component designed and manufactured to perform a set of specific functions for a specific customer. 1. HardwareA property of an event that occurs at an arbitrary time, without synchronization to a reference clock. 2. SoftwareA property of a function that begins an operation and returns prior to the completion or termination of the operation.
ASIC
asynchronous
B
b B block diagram BNC BitOne binary digit, either 0 or 1. ByteEight related bits of data, an eight-bit binary number. Also used to denote the amount of memory required to store one byte of data. A pictorial description or representation of a program or algorithm. Bayonet-Neill-ConcelmanA type of coaxial connector used in situations requiring shielded cable for signal connections and/or controlled impedance applications.
G-3
Glossary
buffer
1. Temporary storage for acquired or generated data. 2. A memory device that stores intermediate data between two devices.
bus, buses
The group of electrical conductors that interconnect individual circuitry in a computer. Typically, a bus is the expansion vehicle to which I/O or other devices are connected. Examples of PC buses are the PCI, AT(ISA), and EISA bus.
C
C calibration Celsius. The process of determining the accuracy of an instrument. In a formal sense, calibration establishes the relationship of an instruments measurement to the value provided by a standard. When that relationship is known, the instrument may then be adjusted (calibrated) for best accuracy. A precise, traceable signal source used to calibrate instruments. Process of extending the counting range of a counter chip by connecting to the next higher counter. European emissions control standard. 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. Hardware component that controls timing for reading from or writing to groups. Complementary metal-oxide semiconductor. Common-mode rejection ratioA measure of the ability of a differential amplifier to reject interference from a common-mode signal, usually expressed in decibels (dB). The ability of an electronic system to cancel any electronic noise pick-up that is common to both the positive and negative polarities of the input leads to the instrument front end. Common mode rejection is only a relevant specification for systems having a balanced or differential input.
common-mode rejection
G-4
ni.com
Glossary
common-mode signal
1. Any voltage present at the instrumentation amplifier inputs with respect to amplifier ground. 2. The signal, relative to the instrument chassis or computers ground, of the signals from a differential input. This is often a noise signal, such as 50 or 60 Hz hum.
connector
1. A device that provides electrical connection. 2. A fixture (either male or female) attached to a cable or chassis for quickly making and breaking one or more circuits. A symbol that connects points on a flowchart.
Reciprocal of the interchannel delay. The number of events, such as zero crossings, pulses, or cycles. 1. Software. A memory location used to store a count of certain occurrences. 2. Hardware. A circuit that counts events. When it refers to an instrument, it refers to a frequency counter.
counter/timer
D
D GND D-SUB connector DAC Digital ground signal. A serial connector. Digital-to-Analog ConverterAn electronic device, often an integrated circuit, that converts a digital number into a corresponding analog voltage or current. In the instrumentation world, DACs can be used to generate arbitrary waveform shapes, defined by the software algorithm that computes the digital data pattern, which is fed to the DAC.
G-5
Glossary
DAQ
1. Data acquisitionThe process of collecting and measuring electrical signals from sensors, transducers, and test probes or fixtures and inputting them to a computer for processing. 2. Data acquisitionThe process of collecting and measuring the same kinds of electrical signals with A/D and/or DIO devices plugged into a computer, and possibly generating control signals with D/A and/or DIO devices in the same computer.
DAQ device
A device that acquires or generates data and can contain multiple channels and conversion devices. DAQ devices include plug-in devices, PCMCIA cards, and DAQPad devices, which connect to a computer USB or 1394 (FireWire) port. SCXI modules are considered DAQ devices. Data acquisition system timing controller chip. The general concept of acquiring data, as in begin data acquisition or data acquisition and control. See also DAQ. A technique for moving digital data from one system to another. Options for data transfer are DMA, interrupt, and programmed I/O. For programmed I/O transfers, the CPU in the PC reads data from the DAQ device whenever the CPU receives a software signal to acquire a single data point. Interrupt-based data transfers occur when the DAQ device sends an interrupt to the CPU, telling the CPU to read the acquired data from the DAQ device. DMA transfers use a DMA controller, instead of the CPU, to move acquired data from the device into computer memory. Even though high-speed data transfers can occur with interrupt and programmed I/O transfers, they require the use of the CPU to transfer data. DMA transfers are able to acquire data at high speeds and keep the CPU free for performing other tasks at the same time.
data transfer
dB DC
DecibelThe unit for expressing a logarithmic measure of the ratio of two signal levels: dB = 20log10 V1/V2, for signals in volts. Direct currentalthough the term speaks of current, many different types of DC measurements are made, including DC Voltage, DC current, and DC power. An electronic board that performs general analog or digital I/O functions on one or multiple channels, connected to a PC through a bus or I/O port, such as PCI, PXI, Ethernet, USB, or serial.
device
G-6
ni.com
Glossary
DIFF
Differential modeAn analog input mode consisting of two terminals, both of which are isolated from computer ground, whose difference is measured. 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. The capability of an instrument to generate and acquire digital signals. Static digital I/O refers to signals where the values are set and held, or rarely change. Dynamic digital I/O refers to digital systems where the signals are continuously changing, often at multi-MHz clock rates.
differential input
digital I/O
A representation of information by a set of discrete values according to a prescribed law. These values are represented by numbers. A TTL level signal having two discrete levelsA high and a low level. Digital input/output. Direct Memory AccessA method by which data can be transferred to/from computer memory from/to a device or memory on the bus while the processor does something else. DMA is the fastest method of transferring data to/from computer memory. Performs the transfers between memory and I/O devices independently of the CPU. Software unique to the device or type of device, and includes the set of commands the device accepts.
E
E Series edge detection EEPROM A standard architecture for instrumentation-class, multichannel data acquisition devices. A technique that locates an edge of an analog signal, such as the edge of a square wave. Electrically Erasable Programmable Read-Only MemoryROM that can be erased with an electrical signal and reprogrammed. Some SCXI modules contain an EEPROM to store measurement-correction coefficients.
G-7
Glossary
encoder
A device that converts linear or rotary displacement into digital or pulse signals. The most popular type of encoder is the optical encoder, which uses a rotating disk with alternating opaque areas, a light source, and a photodetector. External clock signal. A voltage pulse from an external source that causes a DAQ operation to begin. External reference signal.
F
FIFO First-In-First-Out memory bufferA data buffering technique that functions like a shift register where the oldest values (first in) come out first. Many DAQ products and instruments use FIFOs to buffer digital data from an A/D converter, or to buffer the data before or after bus transmission. The first data stored is the first data sent to the acceptor. FIFOs are often used on DAQ devices to temporarily store incoming or outgoing data until that data can be retrieved or output. For example, an analog input FIFO stores the results of A/D conversions until the data can be retrieved into system memory, a process that requires the servicing of interrupts and often the programming of the DMA controller. This process can take several milliseconds in some cases. During this time, data accumulates in the FIFO for future retrieval. With a larger FIFO, longer latencies can be tolerated. In the case of analog output, a FIFO permits faster update rates, because the waveform data can be stored on the FIFO ahead of time. This again reduces the effect of latencies associated with getting the data from system memory to the DAQ device. filter A physical device or digital algorithm that selectively removes noise from a signal, or emphasizes certain frequency ranges and de-emphasizes others. Electronic filters include lowpass, band-pass, and highpass types. Digital filters can operate on numeric data to perform equivalent operations on digitized analog data or to enhance video images. A type of signal conditioning that allows you to filter unwanted frequency components from the signal you are trying to measure.
filtering
G-8
ni.com
Glossary
floating
The condition where a common mode voltage exists, or may exist, between earth ground and the instrument or circuit of interest. Neither the high, nor the low side of a circuit is at earth potential. Signal sources with voltage signals that are not connected to an absolute reference of system ground. Also called non-referenced signal sources. Some common examples of floating signal sources are batteries, transformers, and thermocouples. Frequency Output signal. The number of alternating signals that occur per unit time. Feet. 1. A built-in execution element, comparable to an operator, function, or statement in a conventional language. 2. A set of software instructions executed by a single line of code that may have input and/or output parameters and returns a value when executed.
G
glitch GND ground An unwanted signal excursion of short duration that is usually unavoidable. See 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. A common reference point for an electrical system.
H
hardware hardware triggering The physical components of a computer system, such as the circuit boards, plug-in devices, chassis, enclosures, peripherals, and cables. A form of triggering where you set the start time of an acquisition and gather data at a known position in time relative to a trigger signal.
G-9
Glossary
Hz
1. HertzThe SI unit for measurement of frequency. One hertz (Hz) equals one cycle per second. 2. The number of scans read or updates written per second.
hysteresis
I
I/O Input/OutputThe transfer of data to/from a computer system involving communications channels, operator interface devices, and/or data acquisition and control interfaces. 1. The electrical characteristic of a circuit expressed in ohms and/or capacitance/inductance. 2. Resistance. in. instrument driver Inch or inches. A set of high-level software functions that controls a specific GPIB, VXI, or RS232 programmable instrument or a specific plug-in DAQ device. Instrument drivers are available in several forms, ranging from a function callable language to a virtual instrument (VI) in LabVIEW. A circuit whose output voltage with respect to ground is proportional to the difference between the voltages at its two inputs. An instrumentation amplifier normally has high-impedance differential inputs and high common-mode rejection. Amount of time that passes between sampling consecutive channels in an AI scan list. The interchannel delay must be short enough to allow sampling of all the channels in the channel list, within the sample interval. The greater the interchannel delay, the more time the PGIA is allowed to settle before the next channel is sampled. The interchannel delay is regulated by AI Convert Clock (ai/ConvertClock). Connection between one or more of the following: hardware, software, and the user. For example, hardware interfaces connect two other pieces of hardware. 1. A means for a device to notify another device that an event occurred. 2. A computer signal indicating that the CPU should suspend its current task to service a designated activity.
impedance
instrumentation amplifier
interchannel delay
interface
G-10
ni.com
Glossary
Current, output high. Current, output low. See interrupt, interrupt request line.
K
kHz kS KilohertzA unit of frequency; 1 kHz = 103 = 1,000 Hz. 1,000 samples.
L
LabVIEW LED lowpass filter LSB A graphical programming language. Light-Emitting DiodeA semiconductor light source. A filter that passes signals below a cutoff frequency while blocking signals above that frequency. Least Significant Bit.
M
m M Series mass termination measurement Meter. An architecture for instrumentation-class, multichannel data acquisition devices based on the earlier E Series architecture with added new features. USB or DAQPad devices where all signals flow through 68-pin connectors, as opposed to screw terminal or BNC variants. 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. DAQ devices, such as the M Series multifunction I/O (MIO) devices, SCXI signal conditioning modules, and switch modules. MegahertzA unit of frequency; 1 MHz = 106 Hz = 1,000,000 Hz.
G-11
Glossary
micro () MIO
The numerical prefix designating 106. Multifunction I/ODAQ module. Designates a family of data acquisition products that have multiple analog input channels, digital I/O channels, timing, and optionally, analog output channels. An MIO product can be considered a miniature mixed signal tester, due to its broad range of signal types and flexibility. Also known as multifunction DAQ. MXI Interface To EverythingA custom ASIC designed by National Instruments that implements the PCI bus interface. The MITE supports bus mastering for high-speed data transfers over the PCI bus. A board assembly and its associated mechanical parts, front panel, optional shields, and so on. A module contains everything required to occupy one or more slots in a mainframe. SCXI and PXI devices are modules. A characteristic of a DAC in which the analog output always increases as the values of the digital code input to it increase. Pertaining to a radio-communication system that operates on more than one channel at the same time. The individual channels might contain identical information, or they might contain different signals. See MIO. To assign more than one signal to a channel. See also mux. MultiplexerA set of semiconductor or electromechanical switches arranged to select one of many inputs to a single output. The majority of DAQ cards have a multiplexer on the input, which permits the selection of one of many channels at a time. A switching device with multiple inputs that sequentially connects each of its inputs to its output, typically at high speeds, in order to measure several signals with a single analog input channel.
MITE
module
monotonicity multichannel
N
NI NI-DAQ National Instruments. The driver software needed to use National Instruments DAQ devices and SCXI components. Some devices use Traditional NI-DAQ (Legacy); others use NI-DAQmx.
G-12
ni.com
Glossary
NI-DAQmx
The latest NI-DAQ driver with new VIs, functions, and development tools for controlling measurement devices. The advantages of NI-DAQmx over earlier versions of NI-DAQ include the DAQ Assistant for configuring channels and measurement tasks for your device for use in LabVIEW, LabWindows/CVI, and Measurement Studio; increased performance such as faster single-point analog I/O; and a simpler API for creating DAQ applications using fewer functions and VIs than earlier versions of NI-DAQ. See instrumentation amplifier. Signal sources with voltage signals that are not connected to an absolute reference or system ground. Also called floating signal sources. Some common example of non-referenced signal sources are batteries, transformers, or thermocouples. Non-Referenced Single-Ended modeAll measurements are made with respect to a common (NRSE) measurement system reference, but the voltage at this reference can vary with respect to the measurement system ground.
NRSE
O
offset The unwanted DC voltage due to amplifier offset voltages added to a signal.
P
PCI Peripheral Component InterconnectA high-performance expansion bus architecture originally developed by Intel to replace ISA and EISA. It offers a theoretical maximum transfer rate of 132 MB/s. A high-performance expansion bus architecture originally developed by Intel to replace PCI. PCI Express offers a theoretical maximum transfer rate that is dependent upon lane width. a 1 link theoretically provides 250 MB/s in each directionto and from the device. Once overhead is accounted for, a 1 link can provide approximately 200 MB/s of input capability and 200 MB/s of output capability. Increasing the number of lanes in a link increases maximum throughput by approximately the same factor. See PCI Express.
PCI Express
PCIe
G-13
Glossary
period
The period of a signal, most often measured from one zero crossing to the next zero crossing of the same slope. The period of a signal is the reciprocal of its frequency (in Hz). Period is designated by the symbol T. Programmable Function Interface. Programmable Gain Instrumentation Amplifier. See channel. A specification prepared by Microsoft, Intel, and other PC-related companies that result in PCs with plug-in devices that can be fully configured in software, without jumpers or switches on the devices. The technique used on a DAQ device to acquire a programmed number of samples after trigger conditions are met. An instrument that provides one or more sources of AC or DC power. Also known as power supply. Parts per million. 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. A signal whose amplitude deviates from zero for a short period of time. The time from the rising to the falling slope of a pulse (at 50% amplitude). A rugged, open system for modular instrumentation based on CompactPCI, with special mechanical, electrical, and software features. The PXIbus standard was originally developed by National Instruments in 1997, and is now managed by the PXIbus Systems Alliance. PCI Express eXtensions for InstrumentationThe PXI implementation of PCI Express, a scalable full-simplex serial bus standard that operates at 2.5 Gbps and offers both asynchronous and isochronous data transfers.
PXI Express
G-14
ni.com
Glossary
PXI_STAR
A special set of trigger lines in the PXI backplane for high-accuracy device synchronization with minimal latencies on each PXI slot. Only devices in the PXI Star controller Slot 2 can set signal on this line. For additional information concerning PXI star signal specifications and capabilities, read the PXI Specification located at www.pxisa.org/specs. See PXI Express.
PXIe
Q
quadrature encoder An encoding technique for a rotating device where two tracks of information are placed on the device, with the signals on the tracks offset by 90 from each other. This makes it possible to detect the direction of the motion.
R
range The maximum and minimum parameters between which a sensor, instrument, or device operates with a specified set of characteristics. This may be a voltage range or a frequency range. 1. Displays as it comes in; no delays. 2. A property of an event or system in which data is processed and acted upon as it is acquired instead of being accumulated and processed at a later time. 3. Pertaining to the performance of a computation during the actual time that the related physical process transpires so results of the computation can be used in guiding the physical process. RSE Referenced Single-Ended configurationAll measurements are made with respect to a common reference measurement system or a ground. Also called a grounded measurement system. Real-Time System Integration. Real-Time System Integration busThe National Instruments timing bus that connects DAQ devices directly, by means of connectors on top of the devices, for precise synchronization of functions.
real time
G-15
Glossary
S
s S sample counter Seconds. Samples. The clock that counts the output of the channel clock, in other words, the number of samples taken. On devices with simultaneous sampling, this counter counts the output of the scan clock and hence the number of scans. One or more analog or digital input samples. Typically, the number of input samples in a scan is equal to the number of channels in the input group. For example, one pulse from the scan clock produces one scan which acquires one new sample from every analog input channel in the group. Controls how often a scan is initialized; is regulated by the AI Sample Clock signal. Reciprocal of the scan interval. Signal Conditioning CarriersA compact, modular form factor for signal conditioning modules. Signal Conditioning eXtensions for InstrumentationThe National Instruments product line for conditioning low-level signals within an external chassis near sensors so that only high-level signals are sent to DAQ devices in the noisy PC environment. A device that responds to a physical stimulus (heat, light, sound, pressure, motion, flow, and so on), and produces a corresponding electrical signal. Primary characteristics of sensors are sensitivity, frequency range, and linearity. 1. Electronic equipment that makes transducer or other signals suitable in level and range to be transmitted over a distance, or to interface with voltage input instruments. 2. The manipulation of signals to prepare them for digitizing. signal source signals A generic term for any instrument in the family of signal generators. Signals are waveforms containing information. Although physical signals can be in the form of mechanical, electromagnetic, or other forms, they are most often converted to electronic form for measurement.
scan
sensor
signal conditioning
G-16
ni.com
Glossary
single trigger mode single-buffered single-ended input single-ended output software applications
When the arbitrary waveform generator goes through the staging list only once. Describes a device that acquires a specified number of samples from one or more channels and returns the data when the acquisition is complete. A circuit that responds to the voltage on one input terminal and ground. See also differential input. A circuit whose output signal is present between one output terminal and ground. The programs that run on your computer and perform a specific user-oriented function, such as accounting, program development, measurement, or data acquisition. In contrast, operating system functions basically perform the generic housekeeping of the machine, which is independent of any specific application. Operating system functions include the saving of data (file system), handling of multiple programs at the same time (multi-tasking), network interconnection, printing, and keyboard/user interface interaction. A method of triggering in which you simulate an analog trigger using software. Also called conditional retrieval. 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). 1. HardwareA property of an event that is synchronized to a reference clock. 2. SoftwareA property of a function that begins an operation and returns only when the operation is complete. A synchronous process is, therefore, locked and no other processes can run during this time.
synchronous
T
task In NI-DAQmx, a collection of one or more channels, timing, and triggering and other properties that apply to the task itself. Conceptually, a task represents a measurement or generation you want to perform. See terminal count.
TC
G-17
Glossary
An object or region on a node through which data passes. The highest value of a counter. Gate hold time. Gate setup time. Gate pulse width. The reference signals for controlling the basic accuracy of time or frequency-based measurements. For instruments, timebase refers to the accuracy of the internal clock. Output delay time. An upgrade to the earlier version of NI-DAQ. Traditional NI-DAQ (Legacy) has the same VIs and functions and works the same way as NI-DAQ 6.9.x. You can use both Traditional NI-DAQ (Legacy) and NI-DAQmx on the same computer, which is not possible with NI-DAQ 6.9.x. A device that responds to a physical stimulus (heat, light, sound, pressure, motion, flow, and so on), and produces a corresponding electrical signal. See also sensor. 1. Any event that causes or starts some form of data capture. 2. An external stimulus that initiates one or more instrument functions. Trigger stimuli include a front panel button, an external input voltage pulse, or a bus trigger command. The trigger may also be derived from attributes of the actual signal to be acquired, such as the level and slope of the signal.
transducer
trigger
Source clock period. Source pulse width. Transistor-Transistor LogicA digital circuit composed of bipolar transistors wired in a certain manner. A typical medium-speed digital technology. Nominal TTL logic levels are 0 and 5 V.
G-18
ni.com
Glossary
U
USB Universal Serial BusA 480 Mbit/s serial bus with up to 12-Mbps bandwidth for connecting computers to keyboards, printers, and other peripheral devices. USB 2.0 retains compatibility with the original USB specification.
V
V Vcm Vg VIH VIL Vin Vm VOH VOL Vout Vs virtual channel Volts. Common-mode voltage. Ground loop voltage. Volts, input high. Volts, input low. Volts in. Measured voltage. Volts, output high. Volts, output low. Volts out. Signal source voltage. See channel.
W
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.
G-19
Index
Symbols
+5 V power source, 3-6 USB-6289 Mass Termination, A-160 used with M Series, D-1 accuracy, analog triggers, 11-7 acquisitions circular-buffered, 4-11 digital waveform, 6-4 double-buffered, 4-11 hardware-timed, 4-10 on-demand, 4-10 software-timed, 4-10 AI channels, sampling with AI Sample Clock and AI Convert Clock, C-2 AI Convert Clock signal, 4-30 AI Convert Clock Timebase signal, 4-34 AI data acquisition methods, 4-10 AI FIFO, 4-2 AI Hold Complete Event signal, 4-35 AI Pause Trigger signal, 4-38 AI Reference Trigger signal, 4-36 AI Sample Clock signal, 4-28 AI Sample Clock Timebase signal, 4-30 AI Start Trigger signal, 4-35 AI timing signals, 4-25 ai/ConvertClock, 4-30 ai/ConvertClockTimebase, 4-34 ai/HoldCompleteEvent, 4-35 ai/PauseTrigger, 4-38 ai/ReferenceTrigger, 4-36 ai/SampleClock, 4-28 ai/SampleClockTimebase, 4-30 ai/StartTrigger, 4-35 analog comparison event, routing, 11-3 comparison event, signal, 11-3 edge triggering, 11-4 trigger actions, 11-3 trigger types, 11-4
Numerics
10 MHz reference clock, 9-3 100 kHz Timebase, 9-2 20 MHz Timebase, 9-2 5B Series, 2-5 80 MHz source mode, 7-38 80 MHz Timebase, 9-2
A
A/D converter, 4-2 accessories, 2-5 choosing for your device, 1-3 NI 6220, A-4 NI 6224, A-26 NI 6280, A-128 NI 6284, A-145 NI PCI/PCIe/PXI/PXIe-6259, A-107 NI 6250, A-62 NI 6254, A-86 PCI/PCIe/PXI/PXIe-6251, A-67 PCI/PXI-6221 (68-pin), A-9 PCI/PXI-6225, A-32 PCI/PXI-6229, A-47 PCI/PXI-6255, A-92 PCI/PXI-6281, A-133 PCI/PXI-6289, A-151 PCI-6221 (37-pin), A-13 USB-6225 Mass Termination, A-41 USB-6251 Mass Termination, A-81 USB-6255 Mass Termination, A-101 USB-6259 Mass Termination, A-123 USB-6281 Mass Termination, A-140
I-1
Index
triggering, 11-2 analog edge triggering with hysteresis, 11-5 analog input, 4-1 channels, 11-3 charge injection, C-1 circuitry, 4-1 connecting signals, 4-11 connecting through I/O connector, 4-1 crosstalk when sampling multiple channels, C-1 data acquisitions, 4-10 methods, 4-10 differential, troubleshooting, C-1 getting started with applications in software, 4-38 ghost voltages when sampling multiple channels, C-1 ground-reference settings, 4-1 lowpass filter, 4-4 MUX, 4-1 range, 4-2 sampling channels with AI Sample Clock and AI Convert Clock, C-2 signals, 4-25 AI Convert Clock, 4-30 AI Convert Clock Timebase, 4-34 AI Hold Complete Event, 4-35 AI Pause Trigger, 4-38 AI Reference Trigger, 4-36 AI Sample Clock, 4-28 AI Sample Clock Timebase, 4-30 AI Start Trigger, 4-35 timing diagrams, B-1 timing signals, 4-25 triggering, 4-11 troubleshooting, C-1 analog output, 5-1 circuitry, 5-1 connecting signals, 5-6 data generation methods, 5-4
fundamentals, 5-1 getting started with applications in software, 5-12 glitches on the output signal, 5-3 offset, 5-2 reference selection, 5-2 signals, 5-6 AO Pause Trigger, 5-8 AO Sample Clock, 5-10 AO Sample Clock Timebase, 5-11 AO Start Trigger, 5-7 timing diagrams, B-21 timing signals, 5-6 trigger signals, 5-5 triggering, 5-5 troubleshooting, C-3 analog source, triggering, 11-2 analog to digital converter, 4-2 analog trigger, 11-2 accuracy, 11-7 actions, 11-3 improving accuracy, 11-7 analog window triggering, 11-6 ANSI C documentation, xix AO FIFO, 5-1 AO offset, 5-2 AO offset and AO reference selection settings, 5-2 AO Pause Trigger signal, 5-8 AO reference selection, 5-2 AO Sample Clock, 5-2 AO Sample Clock signal, 5-10 AO Sample Clock Timebase signal, 5-11 AO Start Trigger signal, 5-7 ao/PauseTrigger, 5-8 ao/SampleClock, 5-10 ao/StartTrigger, 5-7 APFI terminals, 11-2 applications counter input, 7-2 counter output, 7-19
I-2
ni.com
Index
edge counting, 7-2 arm start trigger, 7-31 avoiding scanning faster than necessary, 4-9
B
BNC connecting signals, A-18, A-55, A-73, A-115 buffered edge counting, 7-3 hardware-timed acquisitions, 4-10 hardware-timed generations, 5-4 period measurement, 7-7 position measurement, 7-17 pulse-width measurement, 7-5 semi-period measurement, 7-8 two-signal edge-separation measurement, 7-18 bus interface, 10-1 RTSI, 9-4
C
cable management, 1-5 cables, 2-5 choosing for your device, 1-3 custom, 2-6 NI 6220, A-4 NI 6224, A-26 NI 6280, A-128 NI 6284, A-145 NI PCI/PCIe/PXI/PXIe-6259, A-107 NI 6250, A-62 NI 6254, A-86 PCI/PCIe/PXI/PXIe-6251, A-67 PCI/PXI-6221 (68-pin), A-9 PCI/PXI-6225, A-32 PCI/PXI-6229, A-47 PCI/PXI-6255, A-92
PCI/PXI-6281, A-133 PCI/PXI-6289, A-151 PCI-6221 (37-pin), A-13 USB-6225 Mass Termination, A-41 USB-6251 Mass Termination, A-81 USB-6255 Mass Termination, A-101 USB-6259 Mass Termination, A-123 USB-6281 Mass Termination, A-140 USB-6289 Mass Termination, A-160 calibration, 1-2, 2-2 calibration certificate (NI resources), E-2 cascading counters, 7-32 Change Detection Event signal, 6-8 changing data transfer methods between DMA and IRQ, 10-5 between USB signal stream and programmed I/O, 10-5 channel scanning order, 4-8 Z behavior, 7-15 channels analog input, 11-3 sampling with AI Sample Clock and AI Convert Clock, C-2 charge injection, C-1 choosing frequency measurement, 7-13 circular-buffered acquisition, 4-11 clock 10 MHz reference, 9-3 external reference, 9-2 generation, 9-1 timing diagrams, B-45 PXI, and trigger signals, 9-8 routing, 9-1 CompactPCI, using with PXI, 10-3 configuring AI ground-reference settings in software, 4-6 connecting analog input signals, 4-11 analog output signals, 5-6 counter signals, C-3
I-3
Index
digital I/O signals, 6-9 floating signal sources, 4-13 ground-referenced signal sources, 4-20 PFI input signals, 8-4 connections for floating signal sources, 4-19 single-ended for floating signal sources, 4-19 single-ended, RSE configuration, 4-19 connector information, 3-1 NI 6220 pinout, A-2 NI 6250 pinout, A-60 NI 6254 pinout, A-84 NI 6224 pinout, A-24 NI 6280 pinout, A-126 NI 6284 pinout, A-143 PCI/PCIe/PXI/PXIe-6251 pinout, A-65 PCI/PCIe/PXI/PXIe-6259 pinout, A-105 PCI/PXI-6221 (68-pin) pinout, A-7 PCI/PXI-6225 pinout, A-30 PCI/PXI-6229 pinout, A-45 PCI/PXI-6255 pinout, A-90 PCI/PXI-6281 pinout, A-131 PCI/PXI-6289 pinout, A-149 PCI-6221 (37-pin) pinout, A-12 RTSI, 3-13 USB-6221 BNC pinout, A-17 USB-6221 Screw Terminal pinout, A-15 USB-6225 Mass Termination pinout, A-39 USB-6225 Screw Terminal pinout, A-36 USB-6229 BNC pinout, A-54 USB-6229 Screw Terminal pinout, A-51 USB-6251 BNC pinout, A-72 USB-6251 Mass Termination pinout, A-79 USB-6251 Screw Terminal pinout, A-70 USB-6255 Mass Termination pinout, A-99 USB-6255 Screw Terminal pinout, A-96
USB-6259 BNC pinout, A-114 USB-6259 Mass Termination pinout, A-121 USB-6259 Screw Terminal pinout, A-111 USB-6281 Mass Termination pinout, A-138 USB-6281 Screw Terminal pinout, A-136 USB-6289 Mass Termination pinout, A-158 USB-6289 Screw Terminal pinout, A-155 considerations for field wiring, 4-24 for multichannel scanning, 4-7 for PXI, 10-2 continuous pulse train generation, 7-21 controller, DMA, 10-1 controlling counting direction, 7-2 conventions used in the manual, xv count enable delay, B-38 counter input and output, 7-30 output applications, 7-19 terminals, default, 7-30 Counter n A signal, 7-28 Counter n Aux signal, 7-28 Counter n B signal, 7-28 Counter n Gate signal, 7-27 Counter n HW Arm signal, 7-29 Counter n Internal Output signal, 7-29 Counter n Source signal, 7-26 Counter n TC signal, 7-29 Counter n Up_Down signal, 7-29 Counter n Z signal, 7-28 counter signals Counter n A, 7-28 Counter n Aux, 7-28 Counter n B, 7-28 Counter n Gate, 7-27 Counter n HW Arm, 7-29 Counter n Internal Output, 7-29 Counter n Source, 7-26
I-4
ni.com
Index
Counter n TC, 7-29 Counter n Up_Down, 7-29 FREQ OUT, 7-30 Frequency Output, 7-30 counters, 7-1 cascading, 7-32 connecting terminals, 7-30 duplicate count prevention, 7-34 edge counting, 7-2 filters, 7-32 generation, 7-19 input applications, 7-2 other features, 7-32 output applications, 7-19 prescaling, 7-34 pulse train generation, 7-21 retriggerable single pulse generation, 7-20 simple pulse generation, 7-19 single pulse generation, 7-19 single pulse generation with start trigger, 7-20 synchronization modes, 7-37 timing diagrams, B-36 counter input delays, B-36 timing signals, 7-25 triggering, 7-31 troubleshooting, C-3 counting edges, 7-2 crosstalk when sampling multiple channels, C-1 custom cabling, 2-6
data acquisition methods, 4-10 generation methods, 5-4 transfer methods, 10-4 changing, 10-5 DMA, 10-4 IRQ, 10-4 programmed I/O, 10-4 USB Signal Stream, 10-4 Declaration of Conformity (NI resources), E-2 default counter terminals, 7-30 NI-DAQmx counter/timer pins, 7-30 pins, 7-30 detection, troubleshooting, C-3 device information, A-1 multiple synchronization, 9-3 NI 6220, A-2 NI 6221, A-7 NI 6224, A-24 NI 6225, A-30 NI 6229, A-45 NI 6250, A-60 NI 6251, A-65 NI 6254, A-84 NI 6255, A-90 NI 6259, A-105 NI 6280, A-126 NI 6281, A-131 NI 6284, A-143 NI 6289, A-149 pinouts, 1-2 specifications, 1-2, A-1 DI change detection, 6-8 DI Sample Clock signal, 6-4 di/SampleClock, 6-4 diagnostic tools (NI resources), E-1 DIFF connections using with floating signal sources, 4-15
D
DACs, 5-1 DAQ hardware, 2-1 system, 2-1 DAQ-6202, 2-2 DAQ-STC2, 2-2
I-5
Index
using with ground-referenced signal sources, 4-22 when to use with floating signal sources, 4-13 when to use with ground-referenced signal sources, 4-20 differential analog input, troubleshooting, C-1 differential connections using with floating signal sources, 4-15 using with ground-referenced signal sources, 4-22 when to use with floating signal sources, 4-13 when to use with ground-referenced signal sources, 4-20 digital waveform acquisition, 6-4 waveform generation, 6-5 digital I/O, 6-1 block diagram, 6-2 circuitry, 6-2 connecting signals, 6-9 DI change detection, 6-8 digital waveform generation, 6-5 getting started with applications in software, 6-10 I/O protection, 6-7 programmable power-up states, 6-7 static DIO, 6-2 timing diagrams, B-31 triggering, 11-1 waveform acquisition, 6-4 waveform triggering, 6-3 digital routing, 9-1 digital signals Change Detection Event, 6-8 connecting, 6-9 DI Sample Clock, 6-4 DO Sample Clock, 6-5 digital source, triggering, 11-1 digital waveform
acquisition, 6-4 generation, 6-5 disk drive power (PCI Express), 3-9 disk drive power connector (PCI Express devices), 3-9 DMA, 10-1 as a transfer method, 10-4 changing data transfer methods, 10-5 controllers, 10-1 DO Sample Clock signal, 6-5 do/SampleClock, 6-5 documentation conventions used in manual, xv NI resources, E-1 related documentation, xvi double-buffered acquisition, 4-11 drivers (NI resources), E-1 duplicate count prevention, 7-34 enabling in NI-DAQmx, 7-37 example, 7-35 prevention example, 7-36 troubleshooting, C-3
E
E Series differences from M Series, D-1 migrating applications from, D-1 pinout comparison versus M Series, 3-4 upgrading from, D-1 edge counting, 7-2 buffered, 7-3 on-demand, 7-2 sample clock, 7-3 single point, 7-2 edge-separation measurement buffered two-signal, 7-18 single two-signal, 7-18 enabling duplicate count prevention in NI-DAQmx, 7-37 encoders, quadrature, 7-14
I-6
ni.com
Index
encoding X1, 7-14 X2, 7-15 X4, 7-15 equivalent time sampling, 7-24 examples (NI resources), E-1 exporting timing output signals using PFI terminals, 8-2 external reference clock, 9-2 external source mode, 7-39
F
features, counter, 7-32 field wiring considerations, 4-24 filters counter, 7-32 PFI, 8-4 PXI_STAR, 9-9 RTSI, 9-7 finite pulse train timing generation, 7-22 floating signal sources connecting, 4-13 description, 4-13 using in differential mode, 4-15 using in NRSE mode, 4-18 using in RSE mode, 4-19 when to use in differential mode, 4-13 when to use in NRSE mode, 4-13 when to use in RSE mode, 4-14 FREQ OUT signal, 7-30 frequency division, 7-24 generation, 7-23 generator, 7-23 measurement, 7-9 Frequency Output signal, 7-30 fuse replacement USB-6221 BNC, A-23 USB-6221 Screw Terminal, A-16 USB-6225 Mass Termination, A-44
USB-6225 Screw Terminal, A-38 USB-6229 BNC, A-59 USB-6229 Screw Terminal, A-53 USB-6251 BNC, A-78 USB-6251 Mass Termination, A-83 USB-6251 Screw Terminal, A-71 USB-6255 Mass Termination, A-104 USB-6255 Screw Terminal, A-98 USB-6259 BNC, A-120 USB-6259 Mass Termination, A-125 USB-6259 Screw Terminal, A-113 USB-6281 Mass Termination, A-142 USB-6281 Screw Terminal, A-137 USB-6289 Mass Termination, A-162 USB-6289 Screw Terminal, A-157 fuse replacement (USB devices), 3-10
G
generations analog output data, 5-4 buffered hardware-timed, 5-4 clock, 9-1 continuous pulse train, 7-21 digital waveform, 6-5 frequency, 7-23 hardware-timed, 5-4 non-buffered hardware-timed, 5-4 pulse for ETS, 7-24 pulse train, 7-21 retriggerable single pulse, 7-20 simple pulse, 7-19 single pulse, 7-19 single pulse with start trigger, 7-20 software-timed, 5-4 getting started, 1-1 AI applications in software, 4-38 AO applications in software, 5-12 DIO applications in software, 6-10 ghost voltages when sampling multiple channels, C-1
I-7
Index
ground-reference connections, checking, C-1 settings, 4-1, 4-4 analog input, 4-4 ground-referenced signal sources connecting, 4-20 description, 4-20 using in differential mode, 4-22 using in NRSE mode, 4-23 when to use in differential mode, 4-20 when to use in NRSE mode, 4-21 when to use in RSE mode, 4-21
H
hardware, 1-1, 2-1 hardware-timed acquisitions, 4-10 generations, 5-4 help, technical support, E-1 hysteresis, analog edge triggering with, 11-5
I
I/O connector, 3-1 NI 6220 pinout, A-2 NI 6250 pinout, A-60 NI 6254 pinout, A-84 NI 6224 pinout, A-24 NI 6280 pinout, A-126 NI 6284 pinout, A-143 PCI/PCIe/PXI/PXIe-6251 pinout, A-65 PCI/PCIe/PXI/PXIe-6259 pinout, A-105 PCI/PXI-6221 (68-pin) pinout, A-7 PCI/PXI-6225 pinout, A-30 PCI/PXI-6229 pinout, A-45 PCI/PXI-6255 pinout, A-90 PCI/PXI-6281 pinout, A-131 PCI/PXI-6289 pinout, A-149 PCI-6221 (37-pin) pinout, A-12 USB-6221 BNC pinout, A-17
USB-6221 Screw Terminal pinout, A-15 USB-6225 Mass Termination pinout, A-39 USB-6225 Screw Terminal pinout, A-36 USB-6229 BNC pinout, A-54 USB-6229 Screw Terminal pinout, A-51 USB-6251 BNC pinout, A-72 USB-6251 Mass Termination pinout, A-79 USB-6251 Screw Terminal pinout, A-70 USB-6255 Mass Termination pinout, A-99 USB-6255 Screw Terminal pinout, A-96 USB-6259 BNC pinout, A-114 USB-6259 Mass Termination pinout, A-121 USB-6259 Screw Terminal pinout, A-111 USB-6281 Mass Termination pinout, A-138 USB-6281 Screw Terminal pinout, A-136 USB-6289 Mass Termination pinout, A-158 USB-6289 Screw Terminal pinout, A-155 I/O protection, 6-7, 8-6 improving analog trigger accuracy, 11-7 input signals using PFI terminals as, 8-2 using RTSI terminals as, 9-6 input timing, analog input, B-4 insertion of grounded channels between signal channels, 4-8 installation hardware, 1-1 NI-DAQ, 1-1 other software, 1-1 troubleshooting, C-3 instrument drivers (NI resources), E-1 instrumentation amplifier, 4-1 interface, bus, 10-1 internal timing, analog input, B-5 interrupt request, as a transfer method, 10-4
I-8
ni.com
Index
K
KnowledgeBase, E-1
L
LabVIEW documentation, xvii LabWindows/CVI documentation, xviii LED patterns USB-6221 BNC, A-23 USB-6221 Screw Terminal, A-16 USB-6225 Mass Termination, A-44 USB-6225 Screw Terminal, A-38 USB-6229 BNC, A-59 USB-6229 Screw Terminal, A-53 USB-6251 BNC, A-78 USB-6251 Mass Termination, A-83 USB-6251 Screw Terminal, A-71 USB-6255 Mass Termination, A-104 USB-6255 Screw Terminal, A-98 USB-6259 BNC, A-120 USB-6259 Mass Termination, A-125 USB-6259 Screw Terminal, A-113 USB-6281 Mass Termination, A-142 USB-6281 Screw Terminal, A-137 USB-6289 Mass Termination, A-162 USB-6289 Screw Terminal, A-157 LED patterns (USB devices), 3-14 Linux, xvii low impedance sources, 4-7 lowpass filter, analog input, 4-4
M
M Series and E Series accessories, D-1 differences from E Series, D-1
information, A-1 migrating applications to, D-1 pinout comparison versus E Series, 3-4 specifications, xx, A-1 upgrading to, D-1 Mac OS X, xvii Measurement Studio documentation, xviii measurements buffered period, 7-7 buffered pulse-width, 7-5 buffered semi-period, 7-8 buffered two-signal edge-separation, 7-18 choosing frequency, 7-13 frequency, 7-9 period, 7-6 position, 7-14 pulse-width, 7-4 semi-period, 7-8 single period, 7-6 single pulse-width, 7-4 single semi-period, 7-8 single two-signal edge-separation, 7-18 two-signal edge-separation, 7-17 using quadrature encoders, 7-14 using two pulse encoders, 7-16 measuring high frequency with two counters, 7-11 large range of frequencies using two counters, 7-12 low frequency with one counter, 7-9 averaged, 7-10 methods, data transfer, 10-4 minimizing glitches on the output signal, 5-3 output signal glitches, C-3 voltage step between adjacent channels, 4-9 multichannel scanning considerations, 4-7 multiple device synchronization, 9-3 MUX, 4-1
I-9
Index
N
National Instruments support and services, E-1 .NET languages documentation, xix NI 6220, A-2 accessory options, A-4 cabling options, A-4 pinout, A-2 specifications, A-4 NI 6221, A-7 NI 6224, A-24 accessory options, A-26 cabling options, A-26 pinout, A-24 specifications, A-26 NI 6225, A-30 specifications, A-41 NI 6229, A-45 NI 6250, A-60 accessory options, A-62 cabling options, A-62 pinout, A-60 specifications, A-62 NI 6251, A-65 specifications, A-81 NI 6254, A-84 accessory options, A-86 cabling options, A-86 pinout, A-84 specifications, A-86 NI 6255, A-90 specifications, A-92, A-101 NI 6259, A-105 specifications, A-123 NI 6280, A-126 accessory options, A-128 cabling options, A-128 pinout, A-126 specifications, A-128 NI 6281, A-131
specifications, A-133 NI 6284, A-143 accessory options, A-145 cabling options, A-145 pinout, A-143 specifications, A-145 NI 6289, A-149 specifications, A-151, A-160 NI support and services, E-1 NI-DAQ documentation, xvi device documentation browser, xx NI-DAQmx default counter terminals, 7-30 enabling duplicate count prevention, 7-37 NI-DAQmx Base documentation, xvii NI-DAQmx for Linux documentation, xvi NI-PGIA, 4-1 non-buffered hardware-timed acquisitions, 4-11 hardware-timed generations, 5-4 non-referenced single-ended connections using with floating signal sources, 4-18 using with ground-referenced signal sources, 4-23 when to use with floating signal sources, 4-13 when to use with ground-referenced signal sources, 4-21 NRSE connections using with floating signal sources, 4-18 using with ground-referenced signal sources, 4-23 when to use with floating signal sources, 4-13 when to use with ground-referenced signal sources, 4-21
O
on-demand acquisitions, 4-10
I-10
ni.com
Index
edge counting, 7-2 timing, 4-10 options, 2-4 order of channels for scanning, 4-8 other internal source mode, 7-39 software, installing, 1-1 output signal glitches, C-3 minimizing, 5-3 terminal, routing analog comparison events, 11-3 outputs, using RTSI as, 9-6 overview, 2-1
P
pause trigger, 7-32 analog input internal timing diagram, B-18 PCI Express See also PCIe-6251 See also PCIe-6259 disk drive power connector, 3-9 PCI/PCIe/PXI/PXIe-6251 accessory options, A-67 cabling options, A-67 pinout, A-65 specifications, A-67 PCI/PCIe/PXI/PXIe-6259 accessory options, A-107 cabling options, A-107 pinout, A-105 specifications, A-107 PCI/PXI-6221 (68-pin) accessory options, A-9 cabling options, A-9 pinout, A-7 specifications, A-9 PCI/PXI-6225 accessory options, A-32
cabling options, A-32 pinout, A-30 specifications, A-32 PCI/PXI-6229 accessory options, A-47 cabling options, A-47 pinout, A-45 specifications, A-47 PCI/PXI-6255 accessory options, A-92 cabling options, A-92 pinout, A-90 PCI/PXI-6281 accessory options, A-133 cabling options, A-133 pinout, A-131 PCI/PXI-6289, A-149 accessory options, A-151 cabling options, A-151 pinout, A-149 PCI-6220, A-2 PCI-6221 (37-pin) accessory options, A-13 cabling options, A-13 pinout, A-12 specifications, A-13 PCI-6221 (68-pin), A-7 PCI-6224, A-24 PCI-6225, A-30 PCI-6229, A-45 PCI-6250, A-60 PCI-6251, A-65 PCI-6254, A-84 PCI-6255, A-90 PCI-6259, A-105 PCI-6280, A-126 PCI-6281, A-131 PCI-6284, A-143 PCIe-6251, A-65 PCIe-6259, A-105
I-11
Index
period measurement, 7-6 buffered, 7-7 single, 7-6 PFI, 8-1 connecting input signals, 8-4 exporting timing output signals using PFI terminals, 8-2 filters, 8-4 I/O protection, 8-6 programmable power-up states, 8-6 using terminals as static digital I/Os, 8-3 using terminals as timing input signals, 8-2 PFI terminals as static digital I/Os, 8-3 pin assignments. See pinouts pinouts comparison, 3-4 counter default, 7-30 device, 1-2 NI 6220, A-2 NI 6224, A-24 NI 6250, A-60 NI 6254, A-84 NI 6280, A-126 NI 6284, A-143 PCI/PCIe/PXI/PXIe-6251, A-65 PCI/PCIe/PXI/PXIe-6259, A-105 PCI/PXI-6221 (68-pin), A-7 PCI/PXI-6225, A-30 PCI/PXI-6229, A-45 PCI/PXI-6255, A-90 PCI/PXI-6281, A-131 PCI/PXI-6289, A-149 PCI-6221 (37-pin), A-12 RTSI connector, 3-13, 9-4 USB-6221 BNC, A-17 USB-6221 Screw Terminal, A-15 USB-6225 Mass Termination, A-39 USB-6225 Screw Terminal, A-36 USB-6229 BNC, A-54 USB-6229 Screw Terminal, A-51
USB-6251 BNC, A-72 USB-6251 Mass Termination, A-79 USB-6251 Screw Terminal, A-70 USB-6255 Mass Termination, A-99 USB-6255 Screw Terminal, A-96 USB-6259 BNC, A-114 USB-6259 Mass Termination, A-121 USB-6259 Screw Terminal, A-111 USB-6281 Mass Termination, A-138 USB-6281 Screw Terminal, A-136 USB-6289 Mass Termination, A-158 USB-6289 Screw Terminal, A-155 pins, default, 7-30 position measurement, 7-14 buffered, 7-17 power +5 V, 3-6 connector, PCI Express disk drive, 3-9 rail, D-1 power-up states, 6-7, 8-6 prescaling, 7-34 programmable function interface (PFI), 8-1 power-up states, 6-7, 8-6 programmed I/O, 10-4 changing data transfer methods, 10-5 programming devices in software, 2-6 programming examples (NI resources), E-1 pulse encoders, 7-16 generation for ETS, 7-24 train generation, 7-21 continuous, 7-21 pulse-width measurement, 7-4 buffered, 7-5 single, 7-4 PXI and PXI Express, 10-2 clock, 10-2 clock and trigger signals, 9-8
I-12
ni.com
Index
considerations, 10-2 trigger signals, 10-2 triggers, 9-9 using with CompactPCI, 10-3 PXI Express See also PXIe-6251 See also PXIe-6259 and PXI, 10-2 chassis compatibility, 10-2 PXI_CLK10, 9-8 PXI_STAR filters, 9-9 trigger, 9-9 PXI-6220, A-2 PXI-6221, A-7 PXI-6224, A-24 PXI-6225, A-30 PXI-6229, A-45 PXI-6250, A-60 PXI-6251, A-65 PXI-6254, A-84 PXI-6255, A-90 PXI-6259, A-105 PXI-6280, A-126 PXI-6281, A-131 PXI-6284, A-143 PXIe-6251, A-65 PXIe-6259, A-105
external, 9-2 trigger, analog input internal timing, B-13 referenced single-ended connections using with floating signal sources, 4-19 when to use with floating signal sources, 4-14 when to use with ground-referenced signal sources, 4-21 related documentation, xvi retriggerable single pulse generation, 7-20 routing analog comparison event to an output terminal, 11-3 clock, 9-1 digital, 9-1 RSE configuration, 4-19 RSE connections using with floating signal sources, 4-19 when to use with floating signal sources, 4-14 when to use with ground-referenced signal sources, 4-21 RTSI, 9-4 connector pinout, 3-13, 9-4 filters, 9-7 using as outputs, 9-6 using terminals as timing input signals, 9-6
Q
quadrature encoders, 7-14
S
sample clock analog input internal timing, B-15 edge counting, 7-3 sample clock measurement, 7-17 scanning speed, 4-9 SCC, 2-4 SCXI, 2-4 self-calibration, 1-2 semi-period measurement, 7-8 buffered, 7-8
R
range, analog input, 4-2 real-time system integration bus, 9-4 reciprocal frequency measurement, 7-12 reference clock 10 MHz, 9-3
I-13
Index
single, 7-8 sensors, 2-3 settings analog input ground-reference, 4-4 AO offset, 5-2 AO reference selection, 5-2 short high-quality cabling, 4-7 signal conditioning, 2-3 options, 2-4 signal descriptions, 3-1 signal label USB screw terminal devices, 1-3 signal routing, RTSI bus, 9-4 signal sources floating, 4-13 ground-referenced, 4-20 Signal Stream, USB, 10-1 signals AI Convert Clock, 4-30 AI Convert Clock Timebase, 4-34 AI Hold Complete Event, 4-35 AI Pause Trigger, 4-38 AI Reference Trigger, 4-36 AI Sample Clock, 4-28 AI Sample Clock Timebase, 4-30 AI Start Trigger, 4-35 analog input, 4-25 analog output, 5-6 AO Pause Trigger, 5-8 AO Sample Clock, 5-10 AO Sample Clock Timebase, 5-11 AO Start Trigger, 5-7 Change Detection Event, 6-8 connecting analog input, 4-11 connecting analog output, 5-6 connecting counter, C-3 connecting digital I/O, 6-9 connecting PFI input, 8-4 Counter n A, 7-28 Counter n Aux, 7-28
Counter n B, 7-28 Counter n Gate, 7-27 Counter n HW Arm, 7-29 Counter n Internal Output, 7-29 Counter n Source, 7-26 Counter n TC, 7-29 Counter n Up_Down, 7-29 Counter n Z, 7-28 counters, 7-25 DI Sample Clock, 6-4 DO Sample Clock, 6-5 exporting timing output using PFI terminals, 8-2 FREQ OUT, 7-30 Frequency Output, 7-30 minimizing output glitches, C-3 output, minimizing glitches on, 5-3 simple pulse generation, 7-19 single period measurement, 7-6 point edge counting, 7-2 pulse generation, 7-19 retriggerable, 7-20 with start trigger, 7-20 pulse-width measurement, 7-4 semi-period measurement, 7-8 two-signal edge-separation measurement, 7-18 single-ended connections for floating signal sources, 4-19 RSE configuration, 4-19 software, 1-1 configuring AI ground-reference settings, 4-6 NI resources, E-1 programming devices, 2-6 software-timed acquisitions, 4-10 generations, 5-4 specifications, A-1 device, 1-2
I-14
ni.com
Index
PCI/PCIe/PXI/PXIe-6251, A-67 PCI/PCIe/PXI/PXIe-6259, A-107 PCI/PXI-6220, A-4 PCI/PXI-6221, A-9 PCI/PXI-6224, A-26 PCI/PXI-6225, A-32 PCI/PXI-6229, A-47 PCI/PXI-6250, A-62 PCI/PXI-6254, A-86 PCI/PXI-6255, A-92 PCI/PXI-6280, A-128 PCI/PXI-6281, A-133 PCI/PXI-6284, A-145 PCI/PXI-6289, A-151 PCI-6221 (37-pin), A-13 USB-6221 BNC, A-23 USB-6221 Screw Terminal, A-16 USB-6225 Mass Termination, A-41 USB-6225 Screw Terminal, A-38 USB-6229 BNC, A-59 USB-6229 Screw Terminal, A-53 USB-6251 BNC, A-78 USB-6251 Mass Termination, A-81 USB-6251 Screw Terminal, A-71 USB-6255 Mass Termination, A-101 USB-6255 Screw Terminal, A-98 USB-6259 BNC, A-120 USB-6259 Mass Termination, A-123 USB-6259 Screw Terminal, A-113 USB-6281 Mass Termination, A-140 USB-6281 Screw Terminal, A-137 USB-6289 Mass Termination, A-160 USB-6289 Screw Terminal, A-157 start analog input internal timing, B-10 trigger, 7-32 static DIO, 6-2 using PFI terminals as, 8-3 support, technical, E-1 switching from a large to a small input range, 4-8
National Instruments Corporation I-15
synchronization modes, 7-37 80 MHz source, 7-38 external source, 7-39 other internal source, 7-39 synchronizing multiple devices, 9-3 synchronous counting mode, 7-34
T
technical support, xx, E-1 terminal configuration, 4-4 analog input, 4-1 terminal name, 3-4 terminals connecting counter, 7-30 NI-DAQmx default counter, 7-30 Timebase 100 kHz, 9-2 20 MHz, 9-2 80 MHz, 9-2 timed acquisitions, 4-10 timing diagrams AI timing clocks, B-5 analog input, B-1 analog input internal timing, B-5 analog input output timing, B-19 analog input pause trigger, B-18 analog input reference trigger, B-13 analog input sample clock, B-15 analog input signal definitions, B-2 analog input Start, B-10 analog input timing, B-4 analog output, B-21 analog output input timing, B-23 analog output Pause Trigger, B-29 analog output pause trigger, B-25 analog output signal definitions, B-22 analog output Start trigger, B-25 analog output timing Start trigger, B-28 clock generation, B-45 Convert Clock, B-8
Index
count enable delays, B-38 counter gating modes, B-44 counter input requirements, B-39 counter output delays, B-43 counter pin to internal signal delays, B-36 counters, B-36 digital I/O, B-31 digital waveform acquisition, B-31 digital waveform generation, B-34 gate pulse width input requirements, B-40 gate to source setup and hold, B-40 input timing verification, B-26 internal analog output timing, B-23 output timing, B-28 pulse width input requirements, B-39 quadrature encoder, B-44 selected gate to count enable delays, B-38 selected gate to selected source delays, B-37 source period input requirements, B-39 two pulse encoder, B-44 timing output signals, exporting using PFI terminals, 8-2 training, xx training and certification (NI resources), E-1 transducers, 2-3 trigger, 11-1 analog actions, 11-3 arm start, 7-31 pause, 7-32 PXI, 9-9 PXI_STAR, 9-9 Star Trigger, 9-9 start, 7-32 triggering, 11-1 analog accuracy, 11-7 analog actions, 11-3 analog edge, 11-4 analog edge with hysteresis, 11-5 analog input, 4-11 analog input channels, 11-3
analog types, 11-4 analog window, 11-6 APFI terminals, 11-2 counter, 7-31 digital waveform, 6-3 with a digital source, 11-1 with an analog source, 11-2 troubleshooting analog input, C-1 analog output, C-3 counters, C-3 installation, C-3 NI resources, E-1 two-signal edge-separation measurement, 7-17 buffered, 7-18 single, 7-18 types of analog triggers, 11-4
U
upgrading from E Series to M Series, D-1 USB bulk transfers, 10-4 cable strain relief, 1-4, 1-5, 1-6 Signal Stream, 10-1 USB Signal Stream, 10-1 as a transfer method, 10-4 changing data transfer methods, 10-5 USB-6221 BNC cable management, 1-5 connecting signals, A-18 fuse replacement, A-23 LED patterns, A-23 pinout, A-17 specifications, A-23 USB cable strain relief, 1-5 USB-6221 Mass Termination USB cable strain relief, 1-4 USB-6221 Screw Terminal fuse replacement, A-16
I-16
ni.com
Index
LED patterns, A-16 pinout, A-15 signal label, 1-3 specifications, A-16 USB cable strain relief, 1-4, 1-5, 1-6 USB-6225 Mass Termination, A-30 accessory options, A-41 cabling options, A-41 fuse replacement, A-44 LED patterns, A-44 pinout, A-39 specifications, A-41 USB cable strain relief, 1-4, 1-5, 1-6 USB-6225 Screw Terminal, A-30 fuse replacement, A-38 LED patterns, A-38 pinout, A-36 signal label, 1-3 specifications, A-38 USB cable strain relief, 1-4, 1-5, 1-6 USB-6229 BNC cable management, 1-5 connecting signals, A-55 fuse replacement, A-59 LED patterns, A-59 pinout, A-54 specifications, A-59 USB cable strain relief, 1-5 USB-6229 Screw Terminal fuse replacement, A-53 LED patterns, A-53 pinout, A-51 signal label, 1-3 specifications, A-53 USB cable strain relief, 1-4, 1-5, 1-6 USB-6251 BNC cable management, 1-5 connecting signals, A-73 fuse replacement, A-78 LED patterns, A-78
pinout, A-72 specifications, A-78 USB cable strain relief, 1-5 USB-6251 Mass Termination accessory options, A-81 cabling options, A-81 fuse replacement, A-83 LED patterns, A-83 pinout, A-79 specifications, A-81 USB cable strain relief, 1-4, 1-5, 1-6 USB-6251 Screw Terminal fuse replacement, A-71 LED patterns, A-71 pinout, A-70 signal label, 1-3 specifications, A-71 USB cable strain relief, 1-4, 1-5, 1-6 USB-6255 USB cable strain relief, 1-4, 1-5, 1-6 USB-6255 Mass Termination, A-90 accessory options, A-101 cabling options, A-101 fuse replacement, A-104 LED patterns, A-104 pinout, A-99 specifications, A-101 USB cable strain relief, 1-4, 1-5, 1-6 USB-6255 Screw Terminal, A-90 fuse replacement, A-98 LED patterns, A-98 pinout, A-96 signal label, 1-3 specifications, A-98 USB-6259 BNC cable management, 1-5 connecting signals, A-115 fuse replacement, A-120 LED patterns, A-120 pinout, A-114
I-17
Index
specifications, A-120 USB cable strain relief, 1-5 USB-6259 Mass Termination accessory options, A-123 cabling options, A-123 fuse replacement, A-125 LED patterns, A-125 pinout, A-121 specifications, A-123 USB cable strain relief, 1-4, 1-5, 1-6 USB-6259 Screw Terminal fuse replacement, A-113 LED patterns, A-113 pinout, A-111 signal label, 1-3 specifications, A-113 USB cable strain relief, 1-4, 1-5, 1-6 USB-6281 Mass Termination accessory options, A-140 cabling options, A-140 fuse replacement, A-142 LED patterns, A-142 pinout, A-138 specifications, A-140 USB cable strain relief, 1-4, 1-5, 1-6 USB-6281 Screw Terminal fuse replacement, A-137 LED patterns, A-137 pinout, A-136 signal label, 1-3 specifications, A-137 USB cable strain relief, 1-4, 1-5, 1-6 USB-6289 Mass Termination accessory options, A-160 cabling options, A-160 fuse replacement, A-162 LED patterns, A-162 pinout, A-158 specifications, A-160 USB cable strain relief, 1-4, 1-5, 1-6
USB-6289 Screw Terminal fuse replacement, A-157 LED patterns, A-157 pinout, A-155 signal label, 1-3 specifications, A-157 USB cable strain relief, 1-4, 1-5, 1-6 using low impedance sources, 4-7 PFI terminals as static digital I/Os, 8-3 as timing input signals, 8-2 to export timing output signals, 8-2 RTSI as outputs, 9-6 terminals as timing input signals, 9-6 short high-quality cabling, 4-7 the disk drive power connector (PCI Express), 3-9
W
waveform generation digital, 6-5 signals, 5-6 triggering, 6-3 Web resources, E-1
X
X1 encoding, 7-14 X2 encoding, 7-15 X4 encoding, 7-15
I-18
ni.com