National Instruments X Series User Manual

National Instruments X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Advertisement

Quick Links

USB-6349

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments X Series

  • Page 1 USB-6349...
  • Page 2 DAQ X Series X Series User Manual NI 632x/634x/635x/636x/637x/638x/639x Devices X Series User Manual Français Deutsch ni.com/manuals May 2019 370784K-01...
  • Page 3 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 For further support information, refer to the NI Services appendix. To comment on NI documentation, refer to the NI website at and enter the Info Code ni.com/info feedback © 2009–2019 National Instruments. All rights reserved.
  • Page 4 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.
  • Page 5 ™ The ExpressCard word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under license. The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
  • Page 6: Table Of Contents

    Hardware Symbol Definitions ..................1-2 Installation ........................1-3 Unpacking......................... 1-3 Device Self-Calibration ....................1-4 Getting Started with X Series USB Devices ..............1-5 USB Device Chassis Ground..................1-5 Ferrite Installation..................... 1-6 Mounting NI USB X Series Devices................ 1-7 Panel/Wall Mounting..................1-7 DIN Rail Mounting...................
  • Page 7 RTSI Connector Pinout..................... 3-7 USB Device LED Patterns....................3-7 Chapter 4 Analog Input Analog Input on MIO X Series Devices ................4-1 Analog Input Range ....................4-2 Working Voltage Range ...................4-3 Analog Input Ground-Reference Settings..............4-4 Configuring AI Ground-Reference Settings in Software ......... 4-6 Multichannel Scanning Considerations ..............
  • Page 8 AI Reference Trigger Signal................4-32 AI Pause Trigger Signal ................... 4-34 Getting Started with AI Applications in Software............ 4-35 Analog Input on Simultaneous MIO X Series Devices ............ 4-36 Analog Input Terminal Configuration ..............4-37 Analog Input Range....................4-37 Working Voltage Range ................... 4-38 Analog Input Data Acquisition Methods..............
  • Page 9 Contents Chapter 5 Analog Output AO Reference Selection....................5-2 Minimizing Glitches on the Output Signal ...............5-2 Analog Output Data Generation Methods ................ 5-3 Software-Timed Generations ..................5-3 Hardware-Timed Generations................... 5-3 Analog Output Triggering ....................5-4 Connecting Analog Output Signals .................. 5-5 Analog Output Timing Signals ..................
  • Page 10 X Series User Manual Using an Analog Source ................... 6-8 Routing DI Start Trigger to an Output Terminal..........6-8 DI Reference Trigger Signal..................6-8 Using a Digital Source..................6-9 Using an Analog Source ................... 6-9 Routing DI Reference Trigger Signal to an Output Terminal ......6-9 DI Pause Trigger Signal ...................
  • Page 11 Contents Chapter 7 Counters Counter Timing Engine ....................7-2 Counter Input Applications....................7-3 Counting Edges......................7-3 Single Point (On-Demand) Edge Counting ............7-4 Buffered (Sample Clock) Edge Counting............7-4 Controlling the Direction of Counting.............. 7-5 Pulse-Width Measurement..................7-5 Single Pulse-Width Measurement ..............7-6 Implicit Buffered Pulse-Width Measurement...........7-6 Sample Clocked Buffered Pulse-Width Measurement ........
  • Page 12 X Series User Manual Pulse Train Generation ..................... 7-28 Finite Pulse Train Generation................7-28 Retriggerable Pulse or Pulse Train Generation ..........7-29 Continuous Pulse Train Generation..............7-30 Buffered Pulse Train Generation..............7-31 Finite Implicit Buffered Pulse Train Generation..........7-31 Continuous Buffered Implicit Pulse Train Generation........7-32 Finite Buffered Sample Clocked Pulse Train Generation ........
  • Page 13 Contents Chapter 8 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 Using PFI Terminals to Digital Detection Events ............8-4 Connecting PFI Input Signals ...................8-4 PFI Filters .........................
  • Page 14 Analog Input Channels ..................... 11-3 Analog Input Channels on MIO X Series Devices........... 11-3 Analog Input Channels on Simultaneous MIO X Series Devices ....11-3 Analog Trigger Actions .................... 11-3 Routing Analog Comparison Event to an Output Terminal ........11-4 Analog Trigger Types.......................
  • Page 15 Contents Figure A-11. NI USB 6346 BNC Pinout..............A-16 Figure A-12. NI PXIe-6349 Pinout ................A-18 Figure A-13. NI USB-6349 Screw Terminal Pinout...........A-19 Figure A-14. NI PCIe-6351 and NI PCIe/PXIe-6361 Pinout........A-21 Figure A-15. NI USB-6351/6361 Screw Terminal Pinout.......... A-22 Figure A-16.
  • Page 16: Getting Started

    (DIO), and four counters. This chapter provides basic information you need to get started using your X Series device. Safety Guidelines Operate the NI 63xx X Series devices and modules only as described in this user manual. Caution NI 63xx devices and modules are not certified for use in hazardous locations.
  • Page 17: Electromagnetic Compatibility Guidelines

    At the end of the product life cycle, all products must be sent to a WEEE recycling center. For more information about WEEE recycling centers, National Instruments WEEE initiatives, and compliance with WEEE Directive 2002/96/EC on Waste and Electronic Equipment, visit ni.com/environment/...
  • Page 18: Installation

    The DAQ Getting Started guides describe how to install PCI Express, PXI Express, and USB devices, as well as accessories and cables. Unpacking The X Series device ships in an antistatic package to prevent electrostatic discharge (ESD). ESD can damage several components on the device. Caution Never touch the exposed pins of connectors.
  • Page 19: Device Self-Calibration

    Getting Started Device Self-Calibration NI recommends that you self-calibrate your X 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.
  • Page 20: Getting Started With X Series Usb Devices

    You can attach and solder a wire to the chassis ground lug of the USB X Series device, as shown in Figure 1-1. The wire should be as short as possible. Figure 1-1. Grounding an NI Screw Terminal USB-63x x Device through...
  • Page 21: Ferrite Installation

    Close the ferrite bead until the locking tabs engage securely. You can order additional EMI suppression ferrites, 10.2 mm length (part number 781233-02) from NI. Figure 1-2. Installing a Ferrite on an NI USB-63 xx Mass Termination/BNC Device Power Cable Ferrite NI USB X Series Device 1-6 | ni.com...
  • Page 22: Mounting Ni Usb X Series Devices

    Panel/Wall Mounting Complete the following steps to mount your NI USB X Series device to a wall or panel using the USB X Series mounting kit (part number 781514-01 not included in your USB X Series device kit). Refer to Figure 1-3.
  • Page 23: Din Rail Mounting

    Getting Started DIN Rail Mounting Complete the following steps to mount your USB X Series device to a DIN rail using the USB X Series mounting kit with DIN rail clip (part number 781515-01 not included in your USB X Series device kit).
  • Page 24: Usb Device Leds

    Devices) You can provide strain relief for the USB cable by using the jackscrew on the locking USB cable (included in the USB X Series device kit) to securely attach the cable to the device, as shown in Figure 1-6.
  • Page 25: Usb Device Security Cable Slot

    Refer to Appendix A, Device-Specific Information, for X Series device pinouts. Device Specifications Refer to the device specifications document for your device. X Series device documentation is available on ni.com/manuals Device Accessories and Cables NI offers a variety of accessories and cables to use with your DAQ device. Refer to the...
  • Page 26: Daq System Overview

    DAQ System Overview 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 X Series device, programming software, and PC. The following sections cover the components of a typical DAQ system.
  • Page 27: Daq Hardware

    Clock Generation Counters RTSI DAQ-STC3 The DAQ-STC3 and DAQ-6202 implement a high-performance digital engine for X Series data acquisition hardware. Some key features of this engine include the following: • Flexible AI and AO sample and convert timing •...
  • Page 28: Calibration Circuitry

    NI offers a variety of products to use with X Series PCI Express, PXI Express, USB devices, including cables, connector blocks, and other accessories, as follows: •...
  • Page 29: Pci Express, Pxi Express, And Usb Mass Termination Device Cables And Accessories

    • SC-2350 • SCC-68 You can use either connector on MIO X Series devices to control an SCC module carrier with NI-DAQmx. Note PCI Express users should consider the power limits on certain SCC modules without an external power supply. Refer to the device specifications, and the...
  • Page 30: Bnc Accessories

    X Series User Manual Note (NI 6346/6349/6356/6358/6366/6368/6374/6376/6378/6386/6396 Devices) Simultaneous MIO X Series devices do not support SCC. Note (NI 6345/6355/6365/6375 Devices) SCC is supported only on Connector 0. BNC Accessories You can use the SHC68-68-EPM shielded cable, to connect your DAQ device to the BNC accessories listed in Table 2-1.
  • Page 31: Screw Terminal Accessories

    Chapter 2 DAQ System Overview You can use one BNC accessory on connector 0 of any X Series device. An additional BNC accessory may be used on connector 1 of any X series device except the NI 6345/6349/6355/ 6365/6375 devices. The BNC-2115 can only be used on connectors 1, 2, or 3 of the NI 6345/ 6355/6365/6375 devices and connector 1 of the NI 6349 device.
  • Page 32: Custom Cabling And Connectivity

    USB Device Accessories, USB Cable, Power Supply, and Ferrite NI offers a variety of products to use with the USB X Series devices, as shown in Table 2-3. NI recommends that you use the SHC68-68-EPM cable; however, an SHC68-68-EP cable works with X Series devices.
  • Page 33: Signal Conditioning

    Table 2-3. USB Device Accessories, Power Supply, and Ferrite Description Part Number Universal power supply with mini-combicon 781513-01 connector, 12 VDC, 2.5 A USB X Series mounting kit with DIN rail clip* 781515-01 USB X Series mounting kit* 781514-01 USB X Series lid with thumbscrew fasteners 781661-01...
  • Page 34: Signal Conditioning Options

    SCXI is a front-end signal conditioning and switching system for various measurement devices, including X Series devices. An SCXI system consists of a rugged chassis that houses shielded signal conditioning modules that amplify, filter, isolate, and multiplex analog signals from thermocouples or other transducers.
  • Page 35: Programming Devices In Software

    Driver software has an application programming interface (API), which is a library of VIs, functions, classes, attributes, and properties for creating applications for your device. X Series devices use the NI-DAQmx driver. 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.
  • Page 36 X Series User Manual Table 2-4 lists the earliest NI-DAQmx support version for each X Series device. Table 2-4. X Series NI-DAQmx Software Support Device NI-DAQmx Earliest Version Support NI PCIe/PXIe-632x/6341/6343 NI-DAQmx 9.0 NI PCIe/PXIe-6351/6353/6361/6363 NI-DAQmx 9.0 NI PXIe-6356/6358/6366/6368 NI-DAQmx 9.0.2 NI USB-6341/6343/6351/6353/6361/6363 NI-DAQmx 9.2...
  • Page 37: Connector And Led Information

    PCI Express Device Disk Drive Power Connector RTSI Connector Pinout sections refer to X Series PCI Express device power and the RTSI connector on PCI Express devices. USB Device LED Patterns section refers to the X Series USB device READY, POWER, and ACTIVE LEDs.
  • Page 38: I/O Connector Signal Descriptions

    Analog Input. (Simultaneous MIO X Series Devices) For differential measurements on Simultaneous MIO X Series devices, AI 0+ and AI 0- are the positive and negative inputs of differential analog input channel 0. Also refer to the Connecting Analog Input Signals...
  • Page 39 X Series User Manual Table 3-1. I/O Connector Signals (Continued) Signal Name Reference Direction Description AI SENSE, — Input Analog Input Sense—In NRSE mode, the reference AI SENSE 2, for each AI <0..15> signal is AI SENSE; the AI SENSE 3, reference for each AI <16..31>...
  • Page 40 USB-63xx BNC device metal enclosure. You can connect your cable’s shield wire to CHS GND for a ground connection. Though AI GND, AO GND, and D GND are connected on the X Series device, each ground has a slight difference in potential. †...
  • Page 41: +5 V Power Source

    Never connect the +5 V power terminals to analog or digital ground or to any other voltage source on the X 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.
  • Page 42: Pci Express Device Disk Drive Power Connector

    PCI Express X Series devices without the disk drive power connector installed perform identically to other X Series devices for most applications and with most accessories. For most applications, it is not necessary to install the disk drive power connector.
  • Page 43: Rtsi Connector Pinout

    /635 /636 Devices) USB X Series 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-2 shows the behavior of the LEDs.
  • Page 44: Analog Input

    AI Terminal Configuration Selection The main blocks featured in the MIO X Series device analog input circuitry are as follows: • I/O Connector—You can connect analog input signals to the MIO X Series device through the I/O connector. The proper way to connect analog input signals depends on the analog...
  • Page 45: Analog Input Range

    Input range refers to the set of input voltages that an analog input channel can digitize with the specified accuracy. The NI-PGIA amplifies or attenuates the AI signal depending on the input range. You can individually program the input range of each AI channel on your MIO X Series device.
  • Page 46: Working Voltage Range

    X Series User Manual Table 4-1 shows the input ranges and resolutions supported by each MIO X Series device. Table 4-1. MIO X Series Device Input Range and Nominal Resolution Nominal Resolution MIO X Series Device Input Range Assuming 5% Over Range 320 μV...
  • Page 47: Analog Input Ground-Reference Settings

    Analog Input Ground-Reference Settings MIO X Series devices support the following analog input ground-reference settings: • Differential mode—In DIFF mode, the MIO X Series device measures the difference in voltage between two AI signals. • Referenced single-ended mode—In RSE mode, the MIO X Series device measures the voltage of an AI signal relative to AI GND.
  • Page 48 X Series User Manual Table 4-2 shows how signals are routed to the NI-PGIA on MIO X Series devices. Table 4-2. Signals Routed to the NI-PGIA on MIO X Series Devices Signals Routed to the Signals Routed to the AI Ground-Reference...
  • Page 49: Configuring Ai Ground-Reference Settings In Software

    In multichannel scanning applications, accuracy is affected by settling time. When your MIO X Series device switches from one AI channel to another AI channel, the device configures the NI-PGIA with the input range of the new channel. The NI-PGIA then amplifies the input signal with the gain for the new input range.
  • Page 50 X Series User Manual MIO X Series devices are designed to have fast settling times. However, several factors can increase the settling time which decreases the accuracy of your measurements. To ensure fast settling times, you should do the following (in order of importance): Use Low Impedance Sources—To ensure fast settling times, your signal sources should...
  • Page 51 Chapter 4 Analog Input • Insert Grounded Channel between Signal Channels—Another 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.
  • Page 52: Analog Input Data Acquisition Methods

    X Series User Manual Analog Input Data Acquisition Methods When performing analog input measurements, you either can perform software-timed or hardware-timed acquisitions. Software-Timed Acquisitions With a software-timed acquisition, software controls the rate of the acquisition. Software sends a separate command to the hardware to initiate each ADC conversion. In NI-DAQmx, software-timed acquisitions are referred to as having on-demand timing.
  • Page 53: Analog Input Triggering

    AI Pause Trigger Signal sections for information about these triggers. An analog or digital trigger can initiate these actions. All MIO X Series devices support digital triggering, but some do not support analog triggering. To find your device triggering options, refer to the device specifications.
  • Page 54 X Series User Manual Table 4-3. MIO X Series Analog Input Configuration Floating Signal Sources (Not Connected to Ground-Referenced † Building Ground) Signal Sources Examples: Example: • Ungrounded thermocouples • Plug-in instruments with non-isolated outputs • Signal conditioning with isolated outputs...
  • Page 55: Connecting Floating Signal Sources

    Chapter 4 Analog Input Connecting Floating Signal Sources What Are Floating Signal Sources? A floating signal source is not connected to the building ground system, but has an isolated ground-reference point. Some examples of floating signal sources are outputs of transformers, thermocouples, battery-powered devices, optical isolators, and isolation amplifiers.
  • Page 56: When To Use Referenced Single-Ended (Rse) Connections With Floating Signal Sources

    This connection works well for DC-coupled sources with low source impedance (less than 100 Ω). Note (NI USB-6341/6343/6346/6361/6363 BNC Devices) To measure a floating signal source on X Series USB BNC devices, move the switch under the BNC connector to the FS position. © National Instruments | 4-13...
  • Page 57 Chapter 4 Analog Input Figure 4-4. Differential Connections for Floating Signal Sources without Bias Resistors MIO X Series Device Floating Signal Source – AI– Inpedance AI SENSE <100 Ω AI GND However, for larger source impedances, this connection leaves the DIFF signal path significantly off balance.
  • Page 58 AI GND I/O Connector MIO X Series Device Configured in Differential Mode 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.
  • Page 59: Using Non-Referenced Single-Ended (Nrse) Connections For Floating Signal Sources

    Note (NI USB-6341/6343/6346/6361/6363 BNC Devices) To measure a floating signal source on X Series USB BNC devices, move the switch under the BNC connector to the FS position. Figure 4-8 shows a floating source connected to the DAQ device in NRSE mode.
  • Page 60: Using Referenced Single-Ended (Rse) Connections For Floating Signal Sources

    DAQ Assistant. Using Referenced Single-Ended (RSE) Connections for Floating Signal Sources Figure 4-9 shows how to connect a floating signal source to the MIO X Series device configured for RSE mode. Figure 4-9. RSE Connections for Floating Signal Sources AI <0..31>...
  • Page 61: When To Use Differential Connections With Ground-Referenced Signal Sources

    Chapter 4 Analog Input for grounded signal sources to eliminate this ground potential difference from the measured signal. When to Use Differential Connections with Ground-Referenced Signal Sources Use DIFF input connections for any channel that meets any of the following conditions: •...
  • Page 62: When To Use Referenced Single-Ended (Rse) Connections With Ground-Referenced Signal Sources

    AI GND and the ground of the sensor. In RSE mode, this ground loop causes measurement errors. Using Differential Connections for Ground-Referenced Signal Sources Figure 4-10 shows how to connect a ground-referenced signal source to the MIO X Series device configured in differential mode. Figure 4-10. Differential Connections for Ground-Referenced Signal Sources Ground-...
  • Page 63: Using Non-Referenced Single-Ended (Nrse) Connections For Ground-Referenced Signal Sources

    Note (NI USB-6341/6343/6346/6361/6363 BNC Devices) To measure a ground-referenced signal source on X Series USB BNC devices, move the switch under the BNC connector to the GS position. AI <0..31> and AI SENSE must both remain within ±11 V of AI GND.
  • Page 64: Field Wiring Considerations

    X Series User Manual 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 ground-reference setting, this difference in ground potentials would appear as an error in the measured voltage.
  • Page 65: Analog Input Timing Signals

    In order to provide all of the timing functionality described throughout this section, MIO X Series devices have a flexible timing engine. Figure 4-12 summarizes all of the timing options provided by the analog input timing engine. Also refer to the...
  • Page 66 Otherwise, when the AI Reference Trigger pulse occurs, the sample counter value decrements until the specified number of posttrigger samples have been acquired. MIO X Series devices feature the following analog input timing signals: • AI Sample Clock Signal •...
  • Page 67: Aggregate Versus Single Channel Sample Rates

    Use the AI Sample Clock (ai/SampleClock) signal to initiate a set of measurements. Your MIO X Series device samples the AI signals of every channel in the task once for every AI Sample Clock. A measurement acquisition consists of one or more samples.
  • Page 68 X Series User Manual Using an Internal Source One of the following internal signals can drive AI Sample Clock: • Counter n Internal Output • AI Sample Clock Timebase (divided down) • A pulse initiated by host software • Change Detection Event •...
  • Page 69: Ai Sample Clock Timebase Signal

    Chapter 4 Analog Input When using an externally generated AI Sample Clock, you must ensure the clock signal is consistent with respect to the timing requirements of AI Convert Clock. Failure to do so may result in a scan overrun and will cause an error. Refer to the AI Convert Clock Signal section for more information about the timing requirements between AI Convert Clock and AI Sample...
  • Page 70: Ai Convert Clock Signal

    X Series User Manual AI Convert Clock Signal Use the AI Convert Clock (ai/ConvertClock) signal to initiate a single A/D conversion on a single channel. A sample (controlled by the AI Sample Clock) consists of one or more conversions. You can specify either an internal or external signal as the source of AI Convert Clock. You can also specify whether the measurement sample begins on the rising edge or falling edge of AI Convert Clock.
  • Page 71 Clock Other Timing Requirements The sample and conversion level timing of MIO X Series devices work such that some clock signals are gated off unless the proper timing requirements are met. For example, the device ignores both AI Sample Clock and AI Convert Clock until it receives a valid AI Start Trigger signal.
  • Page 72 X Series User Manual the device recognizes an AI Sample Clock pulse, it causes an error if it receives an AI Sample Clock pulse before the correct number of AI Convert Clock pulses are received. 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.
  • Page 73: Ai Convert Clock Timebase Signal

    Chapter 4 Analog Input AI Convert Clock Timebase Signal The AI Convert Clock Timebase (ai/ConvertClockTimebase) signal is divided down to provide one of the possible sources for AI Convert Clock. Use one of the following signals as the source of AI Convert Clock Timebase: •...
  • Page 74 X Series User Manual The timing engine ignores the AI Start Trigger signal while the clock generation is in progress. After the clock generation is finished, the counter waits for another Start Trigger to begin another clock generation. Figure 4-22 shows a retriggerable analog input with three AI channels and four samples per trigger.
  • Page 75: Ai Reference Trigger Signal

    Chapter 4 Analog Input Routing AI Start Trigger to an Output Terminal You can route AI Start Trigger out to any PFI <0..15>, RTSI <0..7>, or PXIe_DSTARC terminal. The output is an active high pulse. All PFI terminals are configured as inputs by default.
  • Page 76 X Series User Manual Using a Digital Source To use AI Reference Trigger with a digital source, specify a source and an edge. The source can be any of the following signals: • PFI <0..15> • RTSI <0..7> • PXI_STAR •...
  • Page 77: Ai Pause Trigger Signal

    Chapter 4 Analog Input AI Pause Trigger Signal Use the AI Pause Trigger (ai/PauseTrigger) signal to pause and resume a measurement acquisition. The internal sample clock pauses while the external trigger signal is active and resumes when the signal is inactive. You can program the active level of the pause trigger to be high or low, as shown in Figure 4-24.
  • Page 78: Getting Started With Ai Applications In Software

    Pause triggers are only sensitive to the level of the source, not the edge. Getting Started with AI Applications in Software You can use the MIO X Series device in the following analog input applications: • Single-point analog input (on demand) •...
  • Page 79: Analog Input On Simultaneous Mio X Series Devices

    On Simultaneous MIO X Series devices, each channel uses its own instrumentation amplifier, FIFO, multiplexer (mux), and A/D converter (ADC) to achieve simultaneous data acquisition. The main blocks featured in the Simultaneous MIO X Series device analog input circuitry are as follows: •...
  • Page 80: Analog Input Terminal Configuration

    You can individually program the input range of each AI channel on your Simultaneous MIO X Series device. The input range affects the resolution of the Simultaneous MIO X Series device for an AI channel. Resolution refers to the voltage of one ADC code. For example, a 16-bit ADC converts analog inputs into one of 65,536 (= 2 ) codes—that is, one of 65,536 possible digital values.
  • Page 81: Working Voltage Range

    Chapter 4 Analog Input Table 4-6 shows the input ranges and resolutions supported by the Simultaneous MIO X Series device family. Table 4-6. Simultaneous MIO X Series Device Input Range and Nominal Resolution Simultaneous MIO Nominal Resolution Assuming X Series Device...
  • Page 82 X Series User Manual Hardware-timed acquisitions have several advantages over software-timed acquisitions: – The time between samples can be much shorter. – The timing between samples is deterministic. – Hardware-timed acquisitions can use hardware triggering. Hardware-timed operations can be buffered or hardware-timed single point (HWTSP).
  • Page 83: Analog Input Triggering

    AI Pause Trigger Signal sections for information about these triggers. An analog or digital trigger can initiate these actions. All Simultaneous MIO X Series devices support digital triggering, but some do not support analog triggering. To find your device triggering options, refer to the device specifications.
  • Page 84: Connecting Analog Input Signals

    Connecting Analog Input Signals Table 4-7 summarizes the recommended input configuration for different types of signal sources for Simultaneous MIO X Series devices. Table 4-7. Simultaneous MIO X Series Analog Input Signal Configuration Floating Signal Sources (Not Connected to Ground-Referenced Signal...
  • Page 85: Differential Connections For Ground-Referenced Signal Sources

    Note (NI USB-6346/6356/6366 BNC Devices) To measure a floating signal source on X Series USB BNC devices, move the switch under the BNC connector to the GS position. With these types of connections, the instrumentation amplifier 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 Figure 4-26.
  • Page 86: Differential Connections For Floating Signal Sources

    Note (NI USB-6346/6356/6366 BNC Devices) To measure a floating signal source on X Series USB BNC devices, move the switch under the BNC connector to the FS position. Figure 4-27 shows bias resistors connected between AI 0-, AI 0+, and the floating signal source ground.
  • Page 87: Unused Channels

    Environmental noise can seriously affect the measurement accuracy of the Simultaneous MIO X Series device if you do not take proper care when running signal wires between signal sources and the device. The following recommendations apply mainly to AI signal routing, although they also apply to signal routing in general.
  • Page 88: Minimizing Drift In Differential Mode

    These lines can induce currents in or voltages on the signal lines of the Simultaneous MIO X Series device if they run in close parallel paths. To reduce the magnetic coupling between lines, separate them by a reasonable distance if they run in parallel, or run the lines at right angles to each other.
  • Page 89 For more information about start and reference triggers, refer to the Analog Input Triggering section. Simultaneous MIO X Series devices feature the following analog input timing signals: • AI Sample Clock Signal • AI Sample Clock Timebase Signal •...
  • Page 90: Aggregate Versus Single Channel Sample Rates

    Aggregate versus Single Channel Sample Rates Simultaneous MIO X Series devices have one ADC per channel so the single channel maximum sample rate can be achieved on each channel. The maximum single channel rate is the fastest you can acquire data on the device from a single or multiple channels and still achieve accurate results.
  • Page 91: Ai Sample Clock Signal

    15 MS/s and the total aggregate rate is 120 MS/s. Note: On Simultaneous MIO X Series devices, each channel has an ADC so each channel can be acquired at the maximum single channel rate.
  • Page 92: Ai Sample Clock Timebase Signal

    X Series User Manual • PXIe_DSTAR<A,B> • Analog Comparison Event (an analog trigger) Note (NI PXIe-6386/6396 Devices) PXIe-6386 and PXIe-6396 devices differ in several ways from other SMIO devices. For more information about using an external source with these devices, go to and enter the Info Code ni.com/info...
  • Page 93: Ai Hold Complete Event Signal

    Chapter 4 Analog Input • 100 kHz Timebase • PXI_CLK10 • RTSI <0..7> • PFI <0..15> • PXI_STAR • PXIe_DSTAR<A,B> • Analog Comparison Event (an analog trigger) Note (NI PXIe-6386/6396 Devices) PXIe-6386 and PXIe-6396 devices differ in several ways from other SMIO devices. For more information about these devices related to AI Sample Clocks, go to and enter the Info Code ni.com/info...
  • Page 94 After the clock generation is finished, the counter waits for another Start Trigger to begin another clock generation. Figure 4-31 shows a retriggerable analog input with three AI channels and four samples per trigger. Figure 4-31. Simultaneous MIO X Series Retriggerable Analog Input AI Start Trigger AI Sample Clock...
  • Page 95 Chapter 4 Analog Input Note (NI USB-6356/6366 and PXIe-6378 Devices) Some X Series devices internally transfer data in sample pairs, as opposed to single samples. This implementation allows for greater data throughput. However, if an acquisition on these devices acquires an odd number of total samples, the last sample acquired cannot be transferred.
  • Page 96: Ai Reference Trigger Signal

    X Series User Manual The device also uses AI Start Trigger to initiate pretriggered DAQ operations. In most pretriggered applications, a software trigger generates AI Start Trigger. Refer to the AI Reference Trigger Signal section for a complete description of the use of AI Start Trigger and AI Reference Trigger in a pretriggered DAQ operation.
  • Page 97: Ai Pause Trigger Signal

    Chapter 4 Analog Input Using a Digital Source To use AI Reference Trigger with a digital source, specify a source and an edge. The source can be any of the following signals: • PFI <0..15> • RTSI <0..7> • PXI_STAR •...
  • Page 98 X Series User Manual Use the AI Pause Trigger (ai/PauseTrigger) signal to pause and resume a measurement acquisition. The internal sample clock pauses while the external trigger signal is active and resumes when the signal is inactive. You can program the active level of the pause trigger to be high or low, as shown in Figure 4-33.
  • Page 99: Getting Started With Ai Applications In Software

    Note Pause triggers are only sensitive to the level of the source, not the edge. Getting Started with AI Applications in Software You can use the Simultaneous MIO X Series device in the following analog input applications: • Simultaneous sampling •...
  • Page 100: Analog Output

    AO FIFO—The 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 X Series device without host computer interaction.
  • Page 101: Ao Reference Selection

    Chapter 5 Analog Output AO Reference Selection AO reference selection allows you to set the analog output range. The analog output range describes the set of voltages the device can generate. The digital codes of the DAC are spread evenly across the analog output range. So, if the range is smaller, the analog output has better resolution;...
  • Page 102: Analog Output Data Generation Methods

    Note (NI USB-63 Devices) USB X Series devices do not support hardware-timed single point (HWTSP) operations. • Buffered—In a buffered generation, data is moved from a PC buffer to the DAQ device’s onboard FIFO using DMA before it is written to the DACs one sample at a time. Buffered generation 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.
  • Page 103: Analog Output Triggering

    • Pause trigger An analog or digital trigger can initiate these actions. All X Series devices support digital triggering, but some do not support analog triggering. To find your device’s triggering options, refer to the device specifications. Refer to the...
  • Page 104: Connecting Analog Output Signals

    Timebase Programmable Event Clock Divider 20 MHz Timebase 100 kHz Timebase PXI_CLK10 X Series devices feature the following analog output (waveform generation) timing signals: • AO Start Trigger Signal • AO Pause Trigger Signal • AO Sample Clock Signal •...
  • Page 105: Ao Start Trigger Signal

    Chapter 5 Analog Output Signals with an support digital filtering. Refer to the PFI Filters section of Chapter 8, PFI, for more information. AO Start Trigger Signal Use the AO Start Trigger (ao/StartTrigger) signal to initiate a waveform generation. If you do not use triggers, you can begin a generation with a software command.
  • Page 106: Using An Analog Source

    X Series User Manual You can also specify whether the waveform generation begins on the rising edge or falling edge of AO Start Trigger. Using an Analog Source When you use an analog trigger source, the waveform generation begins on the first rising edge of the Analog Comparison Event signal.
  • Page 107: Using A Digital Source

    Chapter 5 Analog Output Using a Digital Source To use AO Pause Trigger, specify a source and a polarity. The source can be one of the following signals: • PFI <0..15> • RTSI <0..7> • PXI_STAR • PXIe_DSTAR<A,B> • Counter n Internal Output •...
  • Page 108: Using An External Source

    X Series User Manual • AI Convert Clock (ai/ConvertClock) • AI Sample Clock (ai/SampleClock) • DI Sample Clock (di/SampleClock) • DO Sample Clock (do/SampleClock) A programmable internal counter divides down the AO Sample Clock Timebase signal. Several other internal signals can be routed to AO Sample Clock through internal routes. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more information.
  • Page 109: Ao Sample Clock Timebase Signal

    Chapter 5 Analog Output AO Sample Clock Timebase Signal The AO Sample Clock Timebase (ao/SampleClockTimebase) signal is divided down to provide a source for AO Sample Clock. You can route any of the following signals to be the AO Sample Clock Timebase signal: •...
  • Page 110: Getting Started With Ao Applications In Software

    X Series User Manual Getting Started with AO Applications in Software You can use an X Series device in the following analog output applications: • Single-point (on-demand) generation • Finite generation • Continuous generation • Waveform generation You can perform these generations through programmed I/O or DMA data transfer mechanisms.
  • Page 111: Digital I/O

    Digital I/O X Series devices contain up to 32 lines of bidirectional DIO signals on Port 0. In addition, X Series devices have up to 16 PFI signals that can function as static DIO signals. X Series devices support the following DIO features on Port 0: •...
  • Page 112: Digital Input Data Acquisition Methods

    Each of the X 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).
  • Page 113: Digital Input Triggering

    DI Pause Trigger Signal sections for information about these triggers. An analog or digital trigger can initiate these actions. All X Series devices support digital triggering, but some do not support analog triggering. To find your device triggering options, refer to the device specifications.
  • Page 114: Digital Waveform Acquisition

    You can acquire digital waveforms on the Port 0 DIO lines. The DI waveform acquisition FIFO stores the digital samples. X Series devices have a DMA controller dedicated to moving data from the DI waveform acquisition FIFO to system memory. The DAQ device samples the DIO lines on each rising or falling edge of a clock signal, DI Sample Clock.
  • Page 115: Using An Internal Source

    X Series User Manual If the DAQ device receives a DI Sample Clock when the FIFO is full, it reports an overflow error to the host software. Using an Internal Source To use DI Sample Clock with an internal source, specify the signal source and the polarity of the signal.
  • Page 116: Di Sample Clock Timebase Signal

    Chapter 6 Digital I/O stop it once a finite acquisition completes. When using the DI timing engine, you can also specify a configurable delay from DI Start Trigger to the first DI Sample Clock pulse. By default, this delay is set to two ticks of the DI Sample Clock Timebase signal. Figure 6-3.
  • Page 117: Di Start Trigger Signal

    X Series User Manual not need to divide the signal, then you should use DI Sample Clock rather than DI Sample Clock Timebase. DI Start Trigger Signal Use the DI Start Trigger (di/StartTrigger) signal to begin a measurement acquisition. A measurement acquisition consists of one or more samples.
  • Page 118: Using An Analog Source

    Chapter 6 Digital I/O • PXI_STAR • PXIe_DSTAR<A,B> • Change Detection Event • AI Start Trigger (ai/StartTrigger) • AO Start Trigger (ao/StartTrigger) • DO Start Trigger (do/StartTrigger) The source can also 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 for more information.
  • Page 119: Using A Digital Source

    X Series User Manual 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 6-5 shows the final buffer. Figure 6-5. Reference Trigger Final Buffer...
  • Page 120: Di Pause Trigger Signal

    Chapter 6 Digital I/O DI Pause Trigger Signal You can use the DI Pause Trigger (di/PauseTrigger) signal to pause and resume a measurement acquisition. The internal sample clock pauses while the external trigger signal is active and resumes when the signal is inactive. You can program the active level of the pause trigger to be high or low, as shown in Figure 6-6.
  • Page 121: Routing Di Pause Trigger Signal To An Output Terminal

    Lateness Checking document for more information. To access this document, go to and enter the Info Code ni.com/info daqhwtsp Note (NI USB-634 /635 /636 Devices) USB X Series devices do not support hardware-timed single point (HWTSP) operations. © National Instruments | 6-11...
  • Page 122: Digital Output Triggering

    • Pause trigger An analog or digital trigger can initiate these actions. All X Series devices support digital triggering, but some do not support analog triggering. To find your device’s triggering options, refer to the device specifications. Refer to the...
  • Page 123: Digital Waveform Generation

    You can generate digital waveforms on the Port 0 DIO lines. The DO waveform generation FIFO stores the digital samples. X Series devices have a DMA controller dedicated to moving data from the system memory to the DO waveform generation FIFO. The DAQ device moves samples from the FIFO to the DIO terminals on each rising or falling edge of a clock signal, DO Sample Clock.
  • Page 124: Using An External Source

    Chapter 6 Digital I/O • Counter n Internal Output • Frequency Output • DI Change Detection output Several other internal signals can be routed to DO Sample Clock through internal routes. Refer to Device Routing in MAX in the NI-DAQmx Help or the LabVIEW Help for more information. Using an External Source Use one of the following external signals as the source of DO Sample Clock: •...
  • Page 125: Do Sample Clock Timebase Signal

    X Series User Manual DO Sample Clock Timebase Signal The DO Sample Clock Timebase (do/SampleClockTimebase) signal is divided down to provide a source for DO Sample Clock. You can route any of the following signals to be the DO Sample Clock Timebase signal: •...
  • Page 126: Using A Digital Source

    Chapter 6 Digital I/O Using a Digital Source To use DO Start Trigger, specify a source and an edge. The source can be one of the following signals: • A pulse initiated by host software • PFI <0..15> • RTSI <0..7> •...
  • Page 127: Using A Digital Source

    X Series User Manual When you generate digital output signals, the generation pauses as soon as the pause trigger is asserted. If the source of your sample clock is the onboard clock, the generation resumes as soon as the pause trigger is deasserted, as shown in Figure 6-9.
  • Page 128: Using An Analog Source

    Chapter 6 Digital I/O Using an Analog Source When you use an analog trigger source, the samples are paused when the Analog Comparison Event signal is at a high level. Refer to the Triggering with an Analog Source section of Chapter 11, Triggering, for more information.
  • Page 129: Di Change Detection

    X Series User Manual Note When using your X 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.
  • Page 130: Di Change Detection Applications

    You can enable a programmable debouncing filter on each digital line on Port 0. When the filters are enabled, your device samples the input on each rising edge of a filter clock. X Series devices divide down the onboard 100 MHz or 100 kHz clocks to generate the filter clock. The following is an example of low-to-high transitions of the input signal.
  • Page 131 X Series User Manual The filter setting for each input can be configured independently. On power up, the filters are disabled. Figure 6-12 shows an example of a low-to-high transition on an input. Figure 6-12. Input Low-to-High Transition Digital Input P0. x...
  • Page 132 Chapter 6 Digital I/O • Case 2—If an additional line on the bus also has a transition during the filter clock period, the change is not propagated until the next filter clock edge, as shown in Figure 6-14. Figure 6-14. Case 2 Not Stable Not Stable Digital Input P0.A...
  • Page 133: Watchdog Timer

    MXI, a lost MXI connection could result in unexpected Watchdog behavior and therefore improperly implemented Watchdog states. When the watchdog timer is enabled, if the X Series device does not receive a watchdog reset software command within the time specified for the watchdog timer, the outputs go to a user-defined safe state and remain in that state until the watchdog timer is disarmed by the application and new values are written, the device is reset, or the computer is restarted.
  • Page 134: Connecting Digital I/O Signals

    X Series Device Caution Exceeding the maximum input voltage ratings, which are listed in each X Series device specifications, can damage the DAQ device and the computer. NI is not liable for any damage resulting from such signal connections. 6-24 | ni.com...
  • Page 135: Getting Started With Dio Applications In Software

    X Series User Manual Getting Started with DIO Applications in Software You can use the X Series device in the following digital I/O applications: • Static digital input • Static digital output • Digital waveform generation • Digital waveform acquisition •...
  • Page 136 X Series devices have four general-purpose 32-bit counter/timers and one frequency generator. The general-purpose counter/timers can be used for many measurement and pulse generation applications. Figure 7-1 shows the X Series Counter 0 and the frequency generator. All four counters on X Series devices are identical.
  • Page 137: Counter Timing Engine

    Counters Counter Timing Engine Unlike analog input, analog output, digital input, and digital output, X Series counters do not have the ability to divide down a timebase to produce an internal counter sample clock. For sample clocked operations, an external signal must be provided to supply a clock source. The source can be any of the following signals: •...
  • Page 138: Counter Input Applications

    Support Timing Support Buffered Frequency Buffered Period Buffered Position Buffered Two-Signal Edge Separation Counter Input Applications The following sections list the various counter input applications available on X Series devices: • Counting Edges • Pulse-Width Measurement • Pulse Measurement •...
  • Page 139: Single Point (On-Demand) Edge Counting

    Chapter 7 Counters Single Point (On-Demand) Edge Counting With single point (on-demand) edge counting, the counter counts the number of edges on the Source input after the counter is armed. On-demand refers to the fact that software can read the counter contents at any time without disturbing the counting process.
  • Page 140: Controlling The Direction Of Counting

    X Series User Manual Figure 7-4 shows an example of buffered edge counting. Notice that counting begins when the counter is armed, which occurs before the first active edge on Sample Clock. Figure 7-4. Buffered (Sample Clock) Edge Counting Counter Armed...
  • Page 141: Single Pulse-Width Measurement

    Chapter 7 Counters Refer to the following sections for more information about X Series pulse-width measurement options: • Single Pulse-Width Measurement • Implicit Buffered Pulse-Width Measurement • Sample Clocked Buffered Pulse-Width Measurement • Hardware-Timed Single Point Pulse-Width Measurement Single Pulse-Width Measurement With single pulse-width measurement, the counter counts the number of edges on the Source input while the Gate input remains active.
  • Page 142: Sample Clocked Buffered Pulse-Width Measurement

    If a pulse does not occur between sample clocks, an overrun error occurs. Note (NI USB-634 /635 /636 Devices) USB X Series devices do not support hardware-timed single point (HWTSP) operations. For information about connecting counter signals, refer to the Default Counter/Timer Pins section.
  • Page 143: Pulse Measurement

    You can calculate the high and low time of the Gate input by multiplying the period of the Source signal by the number of edges returned by the counter. Refer to the following sections for more information about X Series pulse measurement options: •...
  • Page 144: Sample Clocked Buffered Pulse Measurement

    Note If a pulse does not occur between sample clocks, an overrun error occurs. Note (NI USB-634 /635 /636 Devices) USB X Series devices do not support hardware-timed single point (HWTSP) operations. © National Instruments | 7-9...
  • Page 145: Pulse Versus Semi-Period Measurements

    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. Refer to the following sections for more information about X Series semi-period measurement options: •...
  • Page 146: Single Semi-Period Measurement

    Default Counter/Timer Pins section. Frequency Measurement You can use the counters to measure frequency in several different ways. Refer to the following sections for information about X Series frequency measurement options: • Low Frequency with One Counter • High Frequency with Two Counters •...
  • Page 147: Low Frequency With One Counter

    Chapter 7 Counters Low Frequency with One Counter For low frequency measurements with one counter, you measure one period of your signal using a known timebase. You can route the signal to measure (fx) to the Gate of a counter. You can route a known timebase (fk) to the Source of the counter.
  • Page 148: Large Range Of Frequencies With Two Counters

    You then measure the long pulse with a known timebase. The X Series device can measure this long pulse more accurately than the faster input signal.
  • Page 149: Sample Clocked Buffered Frequency Measurement

    Chapter 7 Counters You can route the signal to measure to the Source input of Counter 0, as shown in Figure 7-14. Assume this signal to measure has frequency fx. NI-DAQmx automatically configures Counter 0 to generate a single pulse that is the width of N periods of the source input signal. Figure 7-14.
  • Page 150 X Series User Manual A sample clocked buffered frequency measurement with CI.Freq.EnableAveraging set to True uses the embedded counter and a sample clock to perform a frequency measurement. For each sample clock period, the embedded counter counts the signal to measure (fx) and the primary counter counts the internal time-base of a known frequency (fk).
  • Page 151: Hardware-Timed Single Point Frequency Measurement

    Note (NI USB-634 /635 /636 Devices) USB X Series devices do not support hardware-timed single point (HWTSP) operations. Choosing a Method for Measuring Frequency The best method to measure frequency depends on several factors including the expected frequency of the signal to measure, the desired accuracy, how many counters are available, and how long the measurement can take.
  • Page 152 X Series User Manual Here is how these variables apply to each method, summarized in Table 7-2. • One counter—With one counter measurements, a known timebase is used for the source frequency (fk). The measurement time is the period of the frequency to be measured, or 1/fx.
  • Page 153 Chapter 7 Counters Which Method Is Best? This depends on the frequency to be measured, the rate at which you want to monitor the frequency and the accuracy you desire. Take for example, measuring a 50 kHz signal. Assuming that the measurement times for the sample clocked (with averaging) and two counter frequency measurements are configured the same, Table 7-3 summarizes the results.
  • Page 154 X Series User Manual Again the measurement time for the one counter measurement is lowest, but the accuracy is lower. Note that the accuracy and measurement time of the sample clocked and two counter large range are almost the same. The advantage of the sample clocked method is that even when the frequency to measure changes, the measurement time does not and error percentage varies little.
  • Page 155: Period Measurement

    Chapter 7 Counters Table 7-5 summarizes some of the differences in methods of measuring frequency. Table 7-5. Frequency Measurement Method Comparison Measures Measures High Number of Number of Frequency Frequency Counters Measurements Signals Signals Method Used Returned Accurately Accurately Low frequency with Poor Good one counter...
  • Page 156: Position Measurement

    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. Refer to the following sections for more information about the X Series position measurement options: •...
  • Page 157 Chapter 7 Counters • X4 Encoding—Similarly, 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-20.
  • Page 158: Measurements Using Two Pulse Encoders

    X Series User Manual Measurements Using Two Pulse Encoders The counter supports two pulse encoders that have two channels—channels A and B. The counter increments on each rising edge of channel A. The counter decrements on each rising edge of channel B, as shown in Figure 7-22.
  • Page 159: Hardware-Timed Single Point Position Measurement

    Use this measurement type 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. Refer to the following sections for more information about the X Series edge-separation measurement options: •...
  • Page 160: Implicit Buffered Two-Signal Edge-Separation Measurement

    X Series User Manual Figure 7-24 shows an example of a single two-signal edge-separation measurement. Figure 7-24. Single Two-Signal Edge-Separation Measurement Counter Armed Measured Interval GATE SOURCE Counter Value Latched Value Implicit Buffered Two-Signal Edge-Separation Measurement Implicit buffered and single two-signal edge-separation measurements are similar, but implicit buffered measurement measures multiple intervals.
  • Page 161: Hardware-Timed Single Point Two-Signal Separation Measurement

    (HWTSP) operations. For information about connecting counter signals, refer to the Default Counter/Timer Pins section. Counter Output Applications The following sections list the various counter output applications available on X Series devices: • Simple Pulse Generation • Pulse Train Generation •...
  • Page 162: Simple Pulse Generation

    X Series User Manual Simple Pulse Generation Refer to the following sections for more information about the X Series simple pulse generation options: • Single Pulse Generation • Single Pulse Generation with Start Trigger Single Pulse Generation The counter can output a single pulse. The pulse appears on the Counter n Internal Output signal of the counter.
  • Page 163: Pulse Train Generation

    Finite pulse train generation creates a train of pulses with programmable frequency and duty cycle for a predetermined number of pulses, as shown in Figure 7-29. With X Series counters, the primary counter generates the specified pulse train and the embedded counter counts the pulses generated by the primary counter.
  • Page 164: Retriggerable Pulse Or Pulse Train Generation

    X Series User Manual In Legacy Mode, the counter operation requires two counters and does not use the embedded counter. For example, to generate four pulses on Counter 0, Counter 0 generates the pulse train, which is gated by the paired second counter. The paired counter, Counter 1, generates a pulse of desired width.
  • Page 165: Continuous Pulse Train Generation

    Chapter 7 Counters Figure 7-31 shows a generation of two pulses with a pulse delay of five and a pulse width of three (using the rising edge of Source) with CO.EnableInitalDelayOnRetrigger set to the default True. Figure 7-31. Retriggerable Single Pulse Generation with Initial Delay on Retrigger Counter Load Values 4 3 2 1 0 2 1 0...
  • Page 166: Buffered Pulse Train Generation

    Buffered Pulse Train Generation X Series counters can use the FIFO to perform a buffered pulse train generation. Buffered pulse train generation can use implicit timing or sample clock timing. When using implicit timing, the pulse idle time and active time changes with each sample you write. With sample clocked timing, each sample you write updates the idle time and active time of your generation on each sample clock edge.
  • Page 167: Continuous Buffered Implicit Pulse Train Generation

    Chapter 7 Counters Table 7-6 and Figure 7-34 detail a finite implicit generation of three samples. Table 7-6. Finite Implicit Buffered Pulse Train Generation Sample Idle Ticks Active Ticks Figure 7-34. Finite Implicit Buffered Pulse Train Generation Counter Load Values 1 0 1 0 2 1 0 3 1 0 1 0 1 0 SOURCE...
  • Page 168: Continuous Buffered Sample Clocked Pulse Train Generation

    X Series User Manual Table 7-7 and Figure 7-35 detail a finite sample clocked generation of three samples where the pulse specifications from the create channel are two ticks idle, two ticks active, and three ticks initial delay. Table 7-7. Finite Buffered Sample Clocked Pulse Train Generation...
  • Page 169: Frequency Generation

    Using the Frequency Generator The frequency generator can output a square wave at many different frequencies. The frequency generator is independent of the four general-purpose 32-bit counter/timer modules on X Series devices. Figure 7-36 shows a block diagram of the frequency generator.
  • Page 170: Frequency Division

    X Series User Manual 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 Pins 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.
  • Page 171: Counter Timing Signals

    Chapter 8, PFI, for more information. In this section, n refers to the X Series Counter 0, 1, 2, or 3. For example, Counter n Source refers to four signals—Counter 0 Source (the source input to Counter 0), Counter 1 Source (the source input to Counter 1), Counter 2 Source (the source input to Counter 2), or Counter 3 Source (the source input to Counter 3).
  • Page 172: Routing A Signal To Counter N Source

    X Series User Manual Table 7-8. Counter Applications and Counter n Source Application Purpose of Source Terminal Two Counter Time Measurements Input Terminal Non-Buffered Edge Counting Input Terminal Buffered Edge Counting Input Terminal Two-Edge Separation Counter Timebase Routing a Signal to Counter n Source Each counter has independent input selectors for the Counter n Source signal.
  • Page 173: Routing A Signal To Counter N Gate

    Chapter 7 Counters Routing a Signal to Counter n Gate Each counter has independent input selectors for the Counter n Gate signal. Any of the following signals can be routed to the Counter n Gate input: • RTSI <0..7> • PFI <0..15>...
  • Page 174: Counter N A, Counter N B, And Counter N Z Signals

    X Series User Manual In addition, a counter’s Internal Output, Gate or Source can be routed to a different counter’s Aux. A counter’s own gate can also be routed to its Aux input. Some of these options may not be available in some driver software.
  • Page 175: Routing Signals To Counter N Hw Arm Input

    Chapter 7 Counters Routing Signals to Counter n HW Arm Input Any of the following signals can be routed to the Counter n HW Arm input: • RTSI <0..7> • PFI <0..15> • AI Reference Trigger (ai/ReferenceTrigger) • AI Start Trigger (ai/StartTrigger) •...
  • Page 176: Using An External Source

    X Series User Manual Using an External Source You can route any of the following signals as Counter n Sample Clock: • PFI <0..15> • RTSI <0..7> • PXI_STAR • PXIe_DSTAR<A,B> • Analog Comparison Event You can sample data on the rising or falling edge of Counter n Sample Clock.
  • Page 177: Default Counter/Timer Pins

    Note (NI USB BNC devices) For NI USB BNC devices, the default connector 0 pin number does not apply Table 7-9. X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins Counter/Timer Signal Default Connector 0 Pin Number (Name)
  • Page 178 X Series User Manual Table 7-9. X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins (Continued) Counter/Timer Signal Default Connector 0 Pin Number (Name) CTR 2 A 11 (PFI 0) CTR 2 Z 10 (PFI 1)
  • Page 179 LabVIEW Help for more information about how to connect your signals for common counter measurements and generations. X Series default PFI lines for counter functions are listed in X Series Physical Channels in the NI-DAQmx Help or the LabVIEW Help.
  • Page 180: Counter Triggering

    When using a pause trigger, the pause trigger source is routed to the Counter n Gate signal input of the counter. Other Counter Features The following sections list the other counter features available on X Series devices. Cascading Counters You can internally route the Counter n Internal Output and Counter n TC signals of each counter to the Gate inputs of the other counter.
  • Page 181: Prescaling

    Prescaling allows the counter to count a signal that is faster than the maximum timebase of the counter, as shown in Figure 7-39. X 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.
  • Page 182: 100 Mhz Source Mode

    X Series User Manual 100 MHz Source Mode In 100 MHz source mode, the device synchronizes signals on the rising edge of the source, and counts on the third rising edge of the source. Edges are pipelined so no counts are lost, as shown in Figure 7-40.
  • Page 183: Pfi

    X Series devices have up to 16 Programmable Function Interface (PFI) signals. In addition, X Series devices have up to 32 lines of bidirectional DIO signals. Each PFI can be individually configured as the following: • A static digital input •...
  • Page 184: Using Pfi Terminals As Timing Input Signals

    Chapter 8 Using PFI Terminals as Timing Input Signals Use PFI terminals to route external timing signals to many different X Series functions. Each PFI terminal can be routed to any of the following signals: • (NI 632 /634 /6351/6353/6355...
  • Page 185: Using Pfi Terminals As Static Digital I/Os

    P1.x or P2.x. On the I/O connector, each terminal is labeled PFI x/P1.x or PFI x/P2.x. In addition, X Series devices have up to 32 lines of bidirectional DIO signals. © National Instruments | 8-3...
  • Page 186: Using Pfi Terminals To Digital Detection Events

    You can enable a programmable debouncing filter on each PFI, RTSI, PXI_STAR, or PXIe_DSTAR<A,B> signal. When the filters are enabled, your device samples the input on each rising edge of a filter clock. X Series devices use an onboard oscillator to generate the filter clock.
  • Page 187 Enabling filters introduces jitter on the input signal. The maximum jitter is one period of the timebase. When a RTSI input is routed directly to PFI, the X Series device does not use the filtered version of the input signal.
  • Page 188: I/O Protection

    NI-DAQmx or MAX. Note When using your X 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.
  • Page 189: Digital Routing And Clock Generation

    – User input through the PXI_STAR terminal • Routes and generates the main clock signals for the X Series device. Clock Routing Figure 9-1 shows the clock routing circuitry of an X Series device. Figure 9-1. X Series Clock Routing Circuitry...
  • Page 190: 100 Mhz Timebase

    The external reference clock can be used as a source for the internal timebases (100 MHz Timebase, 20 MHz Timebase, and 100 kHz Timebase) on an X Series device. By using the external reference clock, you can synchronize the internal timebases to an external clock.
  • Page 191: 10 Mhz Reference Clock

    10 MHz Reference Clock The 10 MHz reference clock can be used to synchronize other devices to your X Series device. The 10 MHz reference clock can be routed to the RTSI <0..7> or PFI <0..15> terminals. Other devices connected to the RTSI bus can use this signal as a clock input.
  • Page 192: Usb Devices

    USB Devices With the PFI bus and the routing capabilities of USB X Series devices, there are several ways to synchronize multiple devices depending on your application. To synchronize multiple devices to a common timebase, choose one device—the initiator—to generate the timebase.
  • Page 193: Rtsi Connector Pinout

    X Series User Manual RTSI Connector Pinout (NI PCI Express Devices) Figure 9-2 shows the RTSI connector pinout and Table 9-1 describes the RTSI signals. Figure 9-2. PCI Express RTSI Pinout Terminal 34 Terminal 33 Terminal 2 Terminal 1 Table 9-1. RTSI Signals...
  • Page 194: Using Rtsi As Outputs

    RTSI terminals. Using RTSI Terminals as Timing Input Signals You can use RTSI terminals to route external timing signals to many different X Series functions. Each RTSI terminal can be routed to any of the following signals: •...
  • Page 195: Rtsi Filters

    X Series User Manual • AO Start Trigger (ao/StartTrigger) • AO Sample Clock (ao/SampleClock) • AO Sample Clock Timebase (ao/SampleClockTimebase) • AO Pause Trigger (ao/PauseTrigger) • Counter input signals for all counters—Source, Gate, Aux, HW_Arm, A, B, or Z •...
  • Page 196: Pxi_Clk10

    PXI_STAR can be used as an external source for many AI, AO, and counter signals. An X Series device is not a Star Trigger controller. An X Series device can be used in the system timing slot of a PXI system, but the system will not be able to use the Star Trigger feature.
  • Page 197: Pxie_Dstar

    X Series User Manual PXIe_DSTAR<A..C> PXI Express devices can provide high-quality and high-frequency point-to-point connections between each slot and a system timing slot. These connections come in the form of three low-voltage differential star triggers that create point-to-point, high-frequency connections between a PXI Express system timing module and a peripheral device.
  • Page 198: Bus Interface

    Bus Interface The bus interface circuitry of X Series devices efficiently moves data between host memory and the measurement and acquisition circuits. X Series devices are available for the following platforms: • PCI Express • PXI Express • Data Transfer Methods Refer to the following sections for information about bus interface data transfer methods for X Series devices.
  • Page 199: Usb Device Data Transfer Methods

    USB devices. USB X Series devices have eight fully-independent USB Signal Stream for high-performance transfers of data blocks. These channels are assigned to the first eight measurement/acquisition circuits that request one.
  • Page 200: Pxi Express Considerations

    Generation, for more information about PXI and PXI Express clock and trigger signals. PXI Express PXI Express X Series devices can be installed in any PXI Express slot in PXI Express chassis. PXI Express specifications are developed by the PXI System Alliance ( www.pxisa.org...
  • Page 201: Data Throughput

    The following sample equation demonstrates typical bandwidth speeds, assuming the smallest data type. 16 channels × 2 MS/s × 2 B/S = 64 MB/s Note Typical speeds for USB 2.0 range from 30 MB/s to 45 MB/s. A bandwidth lower than the theoretical 60 MB/s maximum is not unexpected behavior for USB 2.0.
  • Page 202: Triggering With A Digital Source

    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 X Series devices support internal software triggering, as well as external digital triggering. Some devices also support analog triggering. For...
  • Page 203: Triggering With An Analog Source

    Triggering Triggering with an Analog Source Some X Series devices can generate a trigger on an analog signal. To find your device triggering options, refer to the device specifications. Figure 11-2 shows the analog trigger circuit on MIO X Series devices.
  • Page 204: Analog Input Channels

    Analog Input Channels on Simultaneous MIO X Series Devices With Simultaneous MIO X Series devices, every AI channel drives its own NI-PGIA. The NI-PGIA amplifies the signal as determined by the input range. The output of the NI-PGIA then drives the analog trigger detection circuit.
  • Page 205: Routing Analog Comparison Event To An Output Terminal

    Chapter 11 Triggering Routing Analog Comparison Event to an Output Terminal You can route Analog Comparison Event out to any PFI <0..15> or RTSI <0..7> terminal. Analog Trigger Types Configure the analog trigger circuitry to different triggering modes: • Analog Edge Triggering—Configure the analog trigger circuitry to detect when the analog signal is below or above a level you specify.
  • Page 206 X Series User Manual 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-6.
  • Page 207: Analog Trigger Accuracy

    Chapter 11 Triggering • Analog Window Triggering—An 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-8 demonstrates a trigger that asserts when the signal enters the window.
  • Page 208: Device-Specific Information

    Device-Specific Information This appendix contains device pinouts, specifications, cable and accessory choices, and other information for the following X Series devices: • NI 6320 • NI 6321/6341 • NI 6323/6343 • NI 6345/6355 • NI 6346 • NI 6349 •...
  • Page 209: Figure A-1. Ni Pcie-6320 Pinout

    Appendix A Device-Specific Information NI 6320 The following sections contain information about the NI PCIe-6320 device. NI 6320 Pinout Figure A-1 shows the pinout of the NI PCIe-6320 device. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
  • Page 210 X Series User Manual Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 211: Figure A-2. Ni Pcie-6321 And Ni Pcie/Pxie-6341 Pinout

    Appendix A Device-Specific Information NI 6321/6341 The following sections contain information about the NI PCIe-6321, NI PCIe/PXIe-6341, and NI USB-6341 devices. NI 6321/6341 Pinouts Figure A-2 shows the pinout of the NI PCIe-6321 and NI PCIe/PXIe-6341 devices. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3,...
  • Page 212: Figure A-3. Ni Usb-6341 Screw Terminal Pinout

    PFI 7/P1.7 NC = No Connect Note Refer to Table 7-10, X Series USB Screw Terminal Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 213: Figure A-4. Ni Usb-6341 Bnc Pinout

    8 Inputs, 16-Bit, 500 kS/s X Series Multifunction DAQ Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 214 X Series User Manual NI 6321/6341 Device Specifications Refer to the following documents for more detailed information about your device: • PCIe-6321 —PCIe-6321 Specifications • PCIe-6341 —PCIe-6341 Specifications • PXIe-6341 —PXIe-6341 Specifications • USB-6341 —USB-6341 Specifications NI 6321/6341 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device.
  • Page 215: Figure A-5. Ni Pcie-6323/6343 Pinout

    NC = No Connect NC = No Connect Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 216: Figure A-6. Ni Usb-6343 Screw Terminal Pinout

    X Series User Manual Figure A-6 shows the pinout of the NI USB-6343 Screw Terminal. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and Information. Figure A-6. NI USB-6343 Screw Terminal Pinout...
  • Page 217: Figure A-7. Ni Usb-6343 Bnc Pinout

    POWER X Series Multifunction DAQ Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 218 X Series User Manual NI 6323/6343 Device Specifications Refer to the following documents for more detailed information about your device: • PCIe-6323 —NI 6323 Device Specifications • PCIe-6343 —PCIe-6343 Specifications • USB-6343 —USB-6343 Specifications NI 6323/6343 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device.
  • Page 219: Figure A-8. Ni Pxie-6345/6355 Pinout

    Appendix A Device-Specific Information NI 6345/6355 The following sections contain information about the NI PXIe-6345 and NI PXIe-6355 devices. NI 6345/6355 Pinouts Figure A-8 shows the pinout of the NI PXIe-6345 and NI PXIe-6355. 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,...
  • Page 220 X Series User Manual Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 221: Figure A-9. Ni Pcie-6346 Pinout

    Appendix A Device-Specific Information NI 6346 The following sections contain information about the NI PCIe-6346. NI 6346 Pinout Figure A-9 shows the pinout of the NI PCIe-6346. The I/O signals appear on one 68-pin connector. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3,...
  • Page 222: Figure A-10. Ni Usb 6346 Screw Terminal Pinout

    X Series User Manual Figure A-10. NI USB 6346 Screw Terminal Pinout AI 4+ PFI 8/P2.0 P0.0 AI 0+ AI 4– D GND P0.1 AI 0– AI GND PFI 9/P2.1 P0.2 AI GND AI 5+ D GND P0.3 AI 1+ AI 5–...
  • Page 223 8 Inputs, 16-Bit, 500 kS/s Multifunction I/O Device Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 224 X Series User Manual NI 6346 Device Specifications Refer to the NI 6346 Device Specifications for more detailed information about the NI 6346 device. NI 6346 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device. Refer to the...
  • Page 225 Appendix A Device-Specific Information NI 6349 The following sections contain information about the NI PXIe-6349. NI 6349 Pinouts Figure A-12 shows the pinout of the NI PXIe-6349. 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,...
  • Page 226 AI 31+ AI 25+ PFI 6/P1.6 +5 V AI 31– AI 25– PFI 7/P1.7 Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of © National Instruments | A-19...
  • Page 227 Appendix A Device-Specific Information the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help. NI 6349 Device Specifications Refer to the NI 6349 Device Specifications for more detailed information about the NI 6349 device.
  • Page 228 X Series User Manual NI 6351/6361 The following sections contain information about the NI PCIe 6351, NI USB-6351 Screw Terminal, NI PCIe/PXIe-6361, and NI USB-6361 devices. NI 6351/6361 Pinout Figure A-14 shows the pinout of the NI PCIe-6351 and NI PCIe/PXIe-6361. For a detailed...
  • Page 229 AO GND PFI 7/P1.7 Note Refer to Table 7-10, X Series USB Screw Terminal Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 230 X Series User Manual Figure A-16 shows the pinout of the NI USB-6361 Mass Termination. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. Figure A-16. NI USB-6361 Mass Termination Pinout...
  • Page 231 Appendix A Device-Specific Information Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 232 POWER X Series Multifunction DAQ Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 233 Appendix A Device-Specific Information NI 6351/6361 Device Specifications Refer to the NI 6351 Device Specifications for more detailed information about the NI 6351 device. Refer to the NI 6361 Device Specifications for more detailed information about the NI 6361 device. NI 6351/6361 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device.
  • Page 234 34 68 AI 16 (AI 16+) Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 235 Appendix A Device-Specific Information Figure A-19 shows the pinout of the NI USB-6363 Mass Termination. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. Figure A-19. NI USB-6363 Mass Termination Pinout AI 16 (AI 16+) AI 24 (AI 16–) AI 0 (AI 0+)
  • Page 236 X Series User Manual Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 237 Appendix A Device-Specific Information Figure A-20 shows the pinout of the NI USB-6353/6363 Screw Terminal. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. Figure A-20. NI USB-6353/6363 Screw Terminal Pinout AI 4 (AI 4+) AI 20 (AI 20+) AI 0 (AI 0+)
  • Page 238 X Series User Manual Note Refer to Table 7-10, X Series USB Screw Terminal Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 239 Appendix A Device-Specific Information Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 240 X Series User Manual Note (NI PXIe-6386/6396 Devices) PXIe-6386 and PXIe-6396 devices differ in several ways from other SMIO devices. For more information about these considerations, go to and enter the Info Code ni.com/info smio14ms NI 6356/6366/6376/6386/6396 Pinouts Figure A-22 shows the pinout of the NI PCIe-6376 and PXIe-6356/6366/6376/6386/6396. For...
  • Page 241 Appendix A Device-Specific Information Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 242 X Series User Manual Figure A-23 shows the pinout of the NI USB-6366 Mass Termination. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information. Figure A-23. NI USB-6366 Mass Termination Pinout...
  • Page 243 PFI 7/P1.7 NC = No Connect Note Refer to Table 7-10, X Series USB Screw Terminal Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 244 POWER X Series Multifunction DAQ Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 245 Appendix A Device-Specific Information NI 6356/6366/6376/6386/6396 Device Specifications Refer to the following documents for more detailed information on your device: • PXIe/USB-6356— NI 6356 Device Specifications • PXIe/USB- 6366— NI 6366 Device Specifications • PCIe-6376 —PCIe-6376 Specifications • PXIe-6376 —NI 6376 Device Specifications •...
  • Page 246 NC = No Connect NC = No Connect Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 247 Appendix A Device-Specific Information NI 6358/6368/6378 Device Specifications Refer to the NI 6358 Device Specifications for more detailed information about the NI 6358 device. Refer to the NI 6368 Device Specifications for more detailed information about the NI 6368 device. Refer to the NI 6378 Device Specifications for more detailed information about the NI 6378 device.
  • Page 248 X Series User Manual NI 6365 The following sections contain information about the NI PXIe-6365 device. NI 6365 Pinout Figure A-27 and Figure A-28 show the pinouts of the NI PXIe-6365. The I/O signals appear on three 68-pin connectors. For a detailed description of each signal, refer to the...
  • Page 249 34 68 AI 16 (AI 16+) Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the...
  • Page 250 X Series User Manual NI 6365 Device Specifications Refer to the NI 6365 Device Specifications for more detailed information about the NI 6365 device. NI 6365 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device. Refer to the...
  • Page 251 Appendix A Device-Specific Information NI 6374 The following sections contain information about the NI PCIe-6374 device. NI 6374 Pinouts Figure A-29 shows the pinout of the NI PCIe-6374. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3, Connector and LED Information.
  • Page 252 X Series User Manual Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 253 Appendix A Device-Specific Information NI 6375 The following sections contain information about the NI PXIe-6375 device. NI 6375 Pinout Figures A-30 and Figure A-31 show the pinouts of the NI PXIe-6375. The I/O signals appear on four 68-pin connectors. For a detailed description of each signal, refer to the I/O Connector Signal Descriptions section of Chapter 3,...
  • Page 254 34 68 AI 16 (AI 16+) Note Refer to Table 7-9, X Series PCI Express/PXI Express/USB Mass Termination/USB BNC Device Default NI-DAQmx Counter/Timer Pins, for a list of the default NI-DAQmx counter/timer pins for this device. For more information about default NI-DAQmx counter inputs, refer to Connecting Counter Signals in the NI-DAQmx Help or the LabVIEW Help.
  • Page 255 Appendix A Device-Specific Information NI 6375 Device Specifications Refer to the NI 6375 Device Specifications for more detailed information about the NI 6375 device. NI 6375 Accessory and Cabling Options NI offers a variety of accessories and cables to use with your DAQ device. Refer to the Cables and Accessories section of Chapter 2,...
  • Page 256: Where To Go From Here

    NI-DAQmx software includes example programs to help you get started programming with the X Series device. Modify example code and save it in an application, or use examples to develop a new application, or add example code to an existing application.
  • Page 257 Appendix B Where to Go from Here LabVIEW Refer to for more information about getting started with ni.com/gettingstarted LabVIEW. Use the LabVIEW Help, available by selecting Help»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.
  • Page 258 Select Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Help. The NI-DAQmx C Reference Help describes the NI-DAQmx Library functions, which you can use with National Instruments data acquisition devices to develop instrumentation, acquisition, and control applications. Select Start»All Programs»National Instruments»NI-DAQmx» Text-Based Code Support»NI-DAQmx C Reference Help.
  • Page 259 Adobe Reader 7.0 or later (PDF 1.6 or later) installed to view the PDFs. Refer to the Adobe Systems Incorporated website at to download Adobe Reader. Refer to the www.adobe.com National Instruments Product Manuals Library at for updated ni.com/manuals documentation resources.
  • Page 260 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 X Series device. Otherwise, you must decrease the sample rate for each channel.
  • Page 261: Appendix C Troubleshooting

    Appendix C Troubleshooting How can I use the AI Sample Clock and AI Convert Clock signals on an MIO X Series device to sample the AI channel(s)? MIO X Series devices use AI Sample Clock (ai/SampleClock) and AI Convert Clock (ai/ConvertClock) to perform interval sampling.
  • Page 262: Ni Services

    NI Services National Instruments provides global services and support as part of our commitment to your success. Take advantage of product services in addition to training and certification programs that meet your needs during each phase of the application life cycle; from planning and development through deployment and ongoing maintenance.
  • Page 263 Appendix D NI Services • Training and Certification—The NI training and certification program is the most effective way to increase application development proficiency and productivity. Visit for more information. ni.com/training – The Skills Guide assists you in identifying the proficiency requirements of your current application and gives you options for obtaining those skills consistent with your time and budget constraints and personal learning preferences.
  • Page 264 4-38 20 MHz Timebase, 9-2 software-timed MIO X Series devices, 4-9 Simultaneous MIO X Series A/D converter, MIO X Series devices, 4-2 devices, 4-38 AC coupling connections AI Convert Clock signal, 4-27 Simultaneous MIO X Series devices, AI Convert Clock Timebase signal, 4-30...
  • Page 265 Index Simultaneous MIO X Series devices, AI Convert Clock, 4-27 4-50 AI Convert Clock Timebase, 4-30 ai/ConvertClock, 4-27 AI Hold Complete Event, 4-30 ai/ConvertClockTimebase, 4-30 AI Pause Trigger, 4-34 ai/HoldCompleteEvent AI Reference Trigger, 4-32 MIO X Series devices, 4-30 AI Sample Clock, 4-24...
  • Page 266 5-2 edge counting, 8-4 reference selection, 5-2 hardware-timed acquisitions signals, 5-5 MIO X Series devices, 4-9 AO Pause Trigger, 5-7 Simultaneous MIO X Series AO Sample Clock, 5-8 devices, 4-39 AO Sample Clock Timebase, 5-10...
  • Page 267 Index Change Detection Event signal, 6-19 analog output signals, 5-5 channel counter signals, C-2 scanning order (MIO X Series devices), digital I/O signals, 6-24 floating signal sources Z behavior, 8-22 MIO X Series devices, 4-12 channels ground-referenced signal sources analog input, 11-3...
  • Page 268 8-3 RTSI, 3-7 other features, 8-45 considerations output applications, 8-26 for field wiring prescaling, 8-46 MIO X Series devices, 4-21 pulse train generation, 8-28 Simultaneous MIO X Series retriggerable single pulse generation, devices, 4-44 8-29 for multichannel scanning (MIO X...
  • Page 269 6-12 X Series devices), 4-13 triggering, 6-12 using with ground-referenced signal digital routing, 9-1 sources (MIO X Series devices), 4-19 digital signals when to use with floating signal sources Change Detection Event, 6-19 (MIO X Series devices), 4-12...
  • Page 270 X Series User Manual MIO X Series devices, 4-9 using in differential mode Simultaneous MIO X Series devices, MIO X Series devices, 4-13 4-39 using in NRSE mode MIO X Series devices, 4-16 using in RSE mode MIO X Series devices, 4-17...
  • Page 271 NI PCIe-6353 pinout, A-27 analog input NI PCIe-6374 pinout, A-44 MIO X Series devices, 4-4 NI PCIe-6376 pinout, A-33 MIO X Series devices, 4-1, 4-4 NI PXIe-6345/6355 pinout, A-12, A-14, ground-referenced signal sources A-18 connecting NI PXIe-6356/6366/6376 pinout, A-33...
  • Page 272 LabVIEW documentation, B-2 pinout, A-2 LabWindows/CVI documentation, B-2 specifications, A-3 LED patterns (USB devices), 3-7 NI 6321/6341, A-4 low impedance sources (MIO X Series accessory options, A-7 devices), 4-7 cabling options, A-7 PCI Express pinout, A-4 PXI Express pinout, A-4...
  • Page 273 MIO X Series devices, 4-9 NI USB 6361 Simultaneous MIO X Series BNC pinout, A-24 devices, 4-38 NI USB-6356/6366 BNC order of channels for scanning (MIO X Series pinout, A-37 devices), 4-7 NI-DAQmx other, software, installing, 1-3 default counter terminals, 8-42...
  • Page 274 8-21 position measurement, 8-21 buffered, 8-23 power range, analog input +5 V, 3-5 MIO X Series devices, 4-2 connector, PCI Express disk drive, 3-6 real-time system integration bus, 9-4 power-up states, 6-18, 7-6 reciprocal frequency measurement, 8-13 prescaling, 8-46...
  • Page 275 Simultaneous MIO X Series edge counting, 8-4 devices, 4-53 measurement, 8-23 AI Sample Clock scanning speed (MIO X Series devices), 4-8 MIO X Series devices, 4-24 SCC, 2-9 Simultaneous MIO X Series SCXI, 2-9 devices, 4-48 self-calibration, 1-4...
  • Page 276 Simultaneous MIO X Series connecting analog input devices, 4-56 MIO X Series devices, 4-10 configuring AI ground-reference connecting analog output, 5-5 settings (MIO X Series devices), 4-6 connecting counter, C-2 programming devices, 2-10 connecting digital I/O, 6-24 software-timed connecting PFI input, 7-4...
  • Page 277 8-45 USB cable strain relief, 1-9 pause, 8-45 wall mounting, 1-7 PXI, 9-8 using PXI_STAR, 9-8 low impedance sources (MIO X Series Star Trigger, 9-8 devices), 4-7 start, 8-45 PFI terminals triggering, 11-1 as static digital I/Os, 7-3...
  • Page 278 X Series User Manual waveform generation digital, 6-13 signals, 5-5 wiring Simultaneous MIO X Series devices, 4-44 working voltage range Simultaneous MIO X Series devices, 4-3, 4-38 X Series accessories and cables, 1-10 accessory options, 2-4 cabling options, 2-4 information, A-1...

Table of Contents