DAQ NI 6013/6014 User Manual Multifunction I/O Devices for PCI Bus Computers NI 6013/6014 User Manual October 2002 Edition Part Number 370636A-01
Support Worldwide Technical Support and Product Information ni.
Important Information Warranty The NI 6013 and NI 6014 devices are warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Compliance FCC/Canada Radio Frequency Interference Compliance Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). Depending on where it is operated, this product could be subject to restrictions in the FCC rules.
Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer’s Declaration of Conformity (DoC) for information* pertaining to the CE Marking compliance scheme.
Contents About This Manual Conventions Used in This Manual.................................................................................xi Related Documentation..................................................................................................xii Chapter 1 Introduction About the NI 6013/6014 Device ....................................................................................1-1 What You Need to Get Started ............................................................................
Contents Chapter 4 Connecting Signals I/O Connector ................................................................................................................ 4-1 Analog Input Signal Overview...................................................................................... 4-6 Types of Signal Sources.................................................................................. 4-7 Floating Signal Sources ....................................................................
Contents GPCTR1_OUT Signal ......................................................................4-38 GPCTR1_UP_DOWN Signal ...........................................................4-38 FREQ_OUT Signal ...........................................................................4-40 Field Wiring Considerations ..........................................................................................4-40 Chapter 5 Calibration Loading Calibration Constants ...................................................
About This Manual The National Instruments 6013/6014 devices are high-performance multifunction analog, digital, and timing I/O devices for PCI. The NI 6014 features 16 channels (eight differential) of 16-bit analog input (AI), two channels of 16-bit analog output (AO), a 68-pin connector, and eight lines of digital I/O (DIO). The NI 6013 is identical to the NI 6014, except that it does not have AO channels.
About This Manual italic Italic text denotes variables, emphasis, a cross reference, or an introduction to a key concept. This font also denotes text that is a placeholder for a word or value that you must supply. monospace Text in this font denotes text or characters that you should enter from the keyboard, sections of code, programming examples, and syntax examples.
1 Introduction This chapter describes the NI 6013/6014, lists what you need to get started, describes the optional software and equipment, and explains how to unpack the NI 6013/6014. About the NI 6013/6014 Device Thank you for buying an NI 6013/6014. The NI 6014 features 16 channels (eight differential) of 16-bit analog input, two channels of 16-bit analog output, a 68-pin connector, and eight lines of digital I/O. The NI 6013 is identical to the NI 6014, except that it does not have AO channels.
Chapter 1 Introduction ❑ One of the following software packages and documentation: – LabVIEW (for Windows) – Measurement Studio (for Windows) – VI Logger ❑ A PCI-bus computer Software Programming Choices When programming National Instruments DAQ hardware, you can use an NI application development environment (ADE) or other ADEs. In either case, you use NI-DAQ. NI-DAQ NI-DAQ, which ships with the NI 6013/6014, has an extensive library of functions that you can call from the ADE.
Chapter 1 Conventional Programming Environment Introduction LabVIEW, Measurement Studio, or VI Logger NI-DAQ DAQ Hardware Personal Computer or Workstation Figure 1-1. The Relationship Among the Programming Environment, NI-DAQ, and the Hardware To download a free copy of the most recent version of NI-DAQ, click Download Software at ni.com. National Instruments ADE Software LabVIEW features interactive graphics, a state-of-the-art interface, and a powerful graphical programming language.
Chapter 1 Introduction ActiveX controls, and classes are available with Measurement Studio and NI-DAQ. Using LabVIEW, Measurement Studio, or VI Logger greatly reduces the development time for your data acquisition and control application.
Chapter 1 Introduction Safety Information The following section contains important safety information that you must follow during installation and use of the product. Do not operate the product in a manner not specified in this document. Misuse of the product can result in a hazard. You can compromise the safety protection built into the product if the product is damaged in any way. If the product is damaged, return it to NI for repair.
Chapter 1 Introduction Operate this product only at or below the installation category stated in Appendix A, Specifications. The following is a description of installation categories: • Installation Category I is for measurements performed on circuits not directly connected to MAINS1. This category is a signal level such as voltages on a printed wire board (PWB) on the secondary of an isolation transformer.
Chapter 1 Introduction Below is a diagram of a sample installation.
Installing and Configuring the NI 6013/6014 2 This chapter explains how to install and configure the NI 6013/6014. Installing the Software Complete the following steps to install the software before installing the NI 6013/6014. 1. Install the ADE, such as LabVIEW, Measurement Studio, or VI Logger, according to the instructions on the CD and the release notes. 2. Install NI-DAQ according to the instructions on the CD and the DAQ Quick Start Guide included with the NI 6013/6014.
Chapter 2 Installing and Configuring the NI 6013/6014 3. Make sure there are no lighted LEDs on the motherboard. If any are lit, wait until they go out before continuing the installation. 4. Remove the expansion slot cover on the back panel of the computer. 5. Ground yourself using a grounding strap or by holding a grounded object. Follow the ESD protection precautions described in the Unpacking section of Chapter 1, Introduction. 6. Insert the NI 6013/6014 into a PCI system slot.
Chapter 2 Installing and Configuring the NI 6013/6014 To configure the NI 6013/6014 in Measurement & Automation Explorer (MAX), refer to ni.com/manuals to view either the DAQ Quick Start Guide or the NI-DAQ User Manual for PC Compatibles, or launch MAX to access the Measurement & Automation Explorer Help for DAQ (Help»Help Topics»NI-DAQ).
3 Hardware Overview This chapter presents an overview of the hardware functions on the NI 6013/6014.
Chapter 3 Hardware Overview Analog Input The AI section of the NI 6013/6014 is software configurable. The following sections describe in detail each AI setting. Input Mode The NI 6013/6014 has two input modes—nonreferenced single-ended (NRSE) mode and differential (DIFF) mode. NRSE mode provides up to 16 channels. DIFF input mode provides up to eight channels. Input modes are programmed on a per channel basis for multimode scanning.
Chapter 3 Hardware Overview Input Range The NI 6013/6014 has a bipolar input range that changes with the programmed gain. Each channel may be programmed with a unique gain of 0.5, 1.0, 10, or 100 to maximize the A/D converter (ADC) resolution. With the proper gain setting, you can use the full resolution of the ADC to measure the input signal. Table 3-2 shows the input range and precision according to the gain used. Table 3-2. Measurement Precision Gain Input Range Precision1 0.5 –10 to +10 V 305.
Chapter 3 Hardware Overview Settling times can also increase when scanning high-impedance signals because of a phenomenon called charge injection, where the AI multiplexer injects a small amount of charge into each signal source when that source is selected. If the impedance of the source is not low enough, the effect of the charge—a voltage error—does not decay by the time the ADC samples the signal. For this reason, keep source impedances under 1 kΩ to perform high-speed scanning.
Chapter 3 Hardware Overview control signals, GPCTR0_UP_DOWN and GPCTR1_UP_DOWN, are input only and do not affect the operation of the DIO lines. Timing Signal Routing The DAQ-STC chip provides a flexible interface for connecting timing signals to other devices or external circuitry. The NI 6013/6014 uses the Programmable Function Input (PFI) pins on the I/O connector to connect the device to external circuitry.
Chapter 3 Hardware Overview Programmable Function Inputs The 10 PFI pins are connected to the signal routing multiplexer for each timing signal, and software can select any PFI pin as the external source for a given timing signal. It is important to note that any of the PFI pins can be used as an input by any of the timing signals and that multiple timing signals can simultaneously use the same PFI.
4 Connecting Signals This chapter describes how to make input and output signal connections to the NI 6013/6014 using the I/O connector. Table 4-1 shows the cables that can be used with the I/O connectors to connect to different accessories. Table 4-1.
Chapter 4 Connecting Signals ACH8 ACH1 AIGND ACH10 ACH3 AIGND ACH4 AIGND ACH13 ACH6 AIGND ACH15 DAC0OUT1 DAC1OUT1 RESERVED DIO4 DGND DIO1 DIO6 DGND +5V DGND DGND PFI0/TRIG1 PFI1/TRIG2 DGND +5V DGND PFI5/UPDATE* PFI6/WFTRIG DGND PFI9/GPCTR0_GATE GPCTR0_OUT FREQ_OUT 1 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 ACH0 AIGND ACH9 ACH2 AIGND ACH11 AISENSE 9 8 7 6 5 4 3 2 1 43 42 41 40 39 38 37 36 35
Chapter 4 Connecting Signals Table 4-2. Signal Descriptions for I/O Connector Pins Signal Name Reference Direction Description — — Analog Input Ground—These pins are the bias current return point for AI measurements. Refer to Figure 4-3 for recommended connections. All three ground references—AIGND, AOGND, and DGND—are connected on the device. ACH<0..15> AIGND Input Analog Input Channels 0 through 15—Each channel pair, ACH (i = 0..
Chapter 4 Connecting Signals Table 4-2. Signal Descriptions for I/O Connector Pins (Continued) Signal Name Reference Direction Description PFI0/TRIG1 DGND Input Output PFI0/Trigger 1—As an input, this signal is a Programmable PFI. PFI signals are explained in the Connecting Timing Signals section. As an output, this signal is the TRIG1 (AI Start Trigger) signal. In posttriggered DAQ sequences, a low-to-high transition indicates the initiation of the acquisition sequence.
Chapter 4 Connecting Signals Table 4-2. Signal Descriptions for I/O Connector Pins (Continued) Signal Name Reference Direction Description PFI8/GPCTR0_SOURCE DGND Input Output PFI8/Counter 0 Source—As an input, this signal is a PFI. As an output, this signal is the GPCTR0_SOURCE signal. This signal reflects the actual source connected to the general-purpose counter 0. PFI9/GPCTR0_GATE DGND Input Output PFI9/Counter 0 Gate—As an input, this signal is a PFI.
Chapter 4 Connecting Signals Table 4-3. I/O Signal Summary for the NI 6013/6014 (Continued) Signal Type and Direction Impedance Input/ Output Protection (Volts) On/Off Source (mA at V) Sink (mA at V) Rise Time (ns) Bias DIO<0..7> DIO — VCC +0.5 10 at (VCC –0.4) 24 at 0.4 1.1 1.5 kΩ pd SCANCLK DO — — 3.5 at (VCC –0.4) 5 at 0.4 1.5 50 kΩ pu EXTSTROBE* DO — — 3.5 at (VCC –0.4) 5 at 0.4 1.5 50 kΩ pu PFI0/TRIG1 DIO — VCC +0.5 3.5 at (VCC –0.4) 5 at 0.4 1.
Chapter 4 Connecting Signals Types of Signal Sources When making signal connections, you must first determine whether the signal sources are floating or ground-referenced. The following sections describe these two types of signals. Floating Signal Sources A floating signal source is not connected in any way to the building ground system but, rather, has an isolated ground-reference point.
Chapter 4 Connecting Signals Instrumentation Amplifier Vin+ + + PGIA Vm Vin– – Measured Voltage – Vm = [Vin+ – Vin–]* Gain Figure 4-2. Programmable Gain Instrumentation Amplifier (PGIA) In NRSE mode, signals connected to ACH<0..15> are routed to the positive input of the PGIA, and AISENSE is connected to the negative input of the PGIA. In DIFF mode, signals connected to ACH<0..7> are routed to the positive input of the PGIA, signals connected to ACH<8..
Chapter 4 Connecting Signals setting of the amplifier. The amplifier output voltage is referenced to the device ground. The device ADC measures this output voltage when it performs A/D conversions. Connecting Analog Input Signals The following sections discuss the use of single-ended and differential measurements and make recommendations for measuring both floating and ground-referenced signal sources. Figure 4-3 summarizes the recommended input configuration for both types of signal sources.
Chapter 4 Connecting Signals Differential Connection Considerations A differential connection is one in which the AI signal has its own reference signal or signal return path. These connections are available when the selected channel is configured in DIFF input mode. In DIFF mode, the AI channels are paired, with ACH as the signal input and ACH as the signal reference. For example, ACH0 is paired with ACH8, ACH1 is paired with ACH9, and so on.
Chapter 4 Connecting Signals Differential Connections for Ground-Referenced Signal Sources Figure 4-4 shows how to connect a ground-referenced signal source to a channel on the device configured in DIFF input mode. ACH+ GroundReferenced Signal Source + Vs + – Instrumentation Amplifier PGIA + ACH– – CommonMode Noise and Ground Potential Measured Voltage Vm – + Vcm – Input Multiplexers AISENSE AIGND I/O Connector Selected Channel in DIFF Configuration Figure 4-4.
Chapter 4 Connecting Signals Differential Connections for Nonreferenced or Floating Signal Sources Figure 4-5 shows how to connect a floating signal source to a channel configured in DIFF input mode on the NI 6013/6014. ACH+ Floating Signal Source + Bias Resistors (see text) Vs + – Instrumentation Amplifier PGIA + ACH– – Measured Voltage Vm – Bias Current Return Paths Input Multiplexers AISENSE AIGND I/O Connector Selected Channel in DIFF Configuration Figure 4-5.
Chapter 4 Connecting Signals You must reference the source to AIGND. The easiest way is to connect the positive side of the signal to the positive input of the PGIA and connect the negative side of the signal to AIGND as well as to the negative input of the PGIA, without any resistors. This connection works well for DC-coupled sources with low source impedance (less than 100 Ω). However, for larger source impedances, this connection leaves the differential signal path significantly off balance.
Chapter 4 Connecting Signals Single-Ended Connection Considerations A single-ended connection is one in which the AI signal of the NI 6013/6014 is referenced to a common ground that can be shared with other input signals. The input signal is tied to the positive input of the PGIA, and the common ground is tied to the negative input of the PGIA using AISENSE. When every channel is configured for single-ended input, up to 16 AI channels are available.
Chapter 4 Connecting Signals Single-Ended Connections for Floating Signal Sources Figure 4-6 shows how to connect a floating signal source to a channel configured for NRSE mode on the NI 6013/6014. ACH Floating Signal Source + + Vs – PGIA Input Multiplexers AISENSE Instrumentation Amplifier – + Measured Voltage Vm – AIGND I/O Connector Selected Channel in NRSE Configuration Figure 4-6.
Chapter 4 Connecting Signals Figure 4-7 shows how to connect a grounded signal source to a channel configured for NRSE mode on the NI 6013/6014. ACH<0..15> GroundReferenced Signal Source + + Vs – Instrumentation Amplifier PGIA + Input Multiplexers CommonMode Noise and Ground Potential + AISENSE – AIGND Vcm Measured Voltage Vm – – I/O Connector Selected Channel in NRSE Configuration Figure 4-7.
Chapter 4 Connecting Signals Connecting Analog Output Signals ♦ NI 6014 only The AO signals are DAC0OUT, DAC1OUT, and AOGND. DAC0OUT and DAC1OUT are not available on the NI 6013. DAC0OUT is the voltage output signal for AO channel 0. DAC1OUT is the voltage output signal for AO channel 1. AOGND is the ground-referenced signal for both AO channels and the external reference signal. Figure 4-8 shows how to connect AO signals to the NI 6013/6014.
Chapter 4 Connecting Signals Connecting Digital I/O Signals The DIO signals on the NI 6013/6014 are DIO<0..7> and DGND. DIO<0..7> are the signals making up the DIO port, and DGND is the ground-reference signal for the DIO port. You can program all lines individually to be inputs or outputs. Exceeding the maximum input voltage ratings, which are listed in Table 4-3, can damage the NI 6013/6014 and the computer. NI is not liable for any damage resulting from such signal connections.
Chapter 4 Connecting Signals Figure 4-9 shows DIO<0..3> configured for digital input and DIO<4..7> configured for digital output. Digital input applications include receiving TTL signals and sensing external device states, such as the switch state shown in the Figure 4-9. Digital output applications include sending TTL signals and driving external devices, such as the LED shown in Figure 4-9.
Chapter 4 Connecting Signals All digital timing connections are referenced to DGND. This reference is demonstrated in Figure 4-10, which shows how to connect an external TRIG1 source and an external CONVERT* source to two PFI pins on the NI 6013/6014. PFI0/TRIG1 PFI2/CONVERT* TRIG1 Source CONVERT* Source DGND I/O Connector Figure 4-10. Timing I/O Connections Programmable Function Input Connections There are 13 internal timing signals that you can externally control from the PFI pins.
Chapter 4 Connecting Signals As an input, each PFI pin can be individually configured for edge or level detection and for polarity selection. You can use the polarity selection for any of the timing signals, but the edge or level detection depends upon the particular timing signal being controlled. The detection requirements for each timing signal are listed within the section that discusses that individual signal. In edge-detection mode, the minimum pulse width required is 10 ns.
Chapter 4 Connecting Signals Pretriggered data acquisition allows you to view data that is acquired before the trigger of interest in addition to data acquired after the trigger. Figure 4-12 shows a typical pretriggered DAQ sequence. The description for each signal shown in these figures is included later in this chapter. TRIG1 TRIG2 n/a STARTSCAN CONVERT* Scan Counter 3 2 1 0 2 2 2 1 0 Figure 4-12.
Chapter 4 Connecting Signals Figures 4-13 and 4-14 show the input and output timing requirements for TRIG1. tw Rising-Edge Polarity Falling-Edge Polarity tw = 10 ns minimum Figure 4-13. TRIG1 Input Signal Timing tw tw = 50 to 100 ns Figure 4-14. TRIG1 Output Signal Timing The device also uses TRIG1 to initiate pretriggered DAQ operations. In most pretriggered applications, TRIG1 is generated by a software trigger.
Chapter 4 Connecting Signals ignores TRIG2 if it is asserted prior to the SC decrementing to zero. After the selected edge of TRIG2 is received, the device acquires a fixed number of scans and the acquisition stops. This mode acquires data both before and after receiving TRIG2. As an output, TRIG2 reflects the posttrigger in a pretriggered DAQ sequence, even if the acquisition is being externally triggered by another PFI. TRIG2 is not used in posttriggered data acquisition.
Chapter 4 Connecting Signals STARTSCAN Signal Any PFI pin can receive as an input the STARTSCAN signal, which is available as an output on the PFI7/STARTSCAN pin. Refer to Figures 4-11 and 4-12 for the relationship of STARTSCAN to the DAQ sequence. As an input, STARTSCAN is configured in the edge-detection mode. You can select any PFI pin as the source for STARTSCAN and configure the polarity selection for either rising or falling edge. The selected edge of STARTSCAN initiates a scan.
Chapter 4 Connecting Signals tw STARTSCAN tw = 50 to 100 ns a. Start of Scan Start Pulse CONVERT* STARTSCAN toff = 10 ns minimum toff b. Scan in Progress, Two Conversions per Scan Figure 4-18. STARTSCAN Output Signal Timing The CONVERT* pulses are masked off until the device generates the STARTSCAN signal. If you are using internally generated conversions, the first CONVERT* appears when the onboard sample interval counter (SI2) reaches zero.
Chapter 4 Connecting Signals CONVERT* Signal Any PFI pin can externally input the CONVERT* signal, which is available as an output on the PFI2/CONVERT* pin. Refer to Figures 4-11 and 4-12 for the relationship of CONVERT* to the DAQ sequence. As an input, CONVERT* is configured in the edge-detection mode. You can select any PFI pin as the source for CONVERT* and configure the polarity selection for either rising or falling edge. The selected edge of CONVERT* initiates an A/D conversion.
Chapter 4 Connecting Signals tw tw = 50 to 150 ns Figure 4-20. CONVERT* Output Signal Timing The SI2 counter on the NI 6013/6014 normally generates CONVERT* unless you select some external source. The counter is started by the STARTSCAN signal and continues to count down and reload itself until the scan is finished. It then reloads itself in preparation for the next STARTSCAN pulse.
Chapter 4 Connecting Signals SISOURCE Signal Any PFI pin can externally input the SISOURCE signal, which is not available as an output on the I/O connector. The onboard scan interval (SI) counter uses SISOURCE as a clock to time the generation of the STARTSCAN signal. You must configure the PFI pin you select as the source for SISOURCE in the level-detection mode. You can configure the polarity selection for the PFI pin for either active high or active low.
Chapter 4 Connecting Signals Figure 4-22 shows the timing for SCANCLK. CONVERT* td SCANCLK tw td = 50 to 100 ns tw = 400 to 500 ns Figure 4-22. SCANCLK Signal Timing When using NI-DAQ, SCANCLK polarity is low-to-high and cannot be changed programmatically. Note EXTSTROBE* Signal EXTSTROBE* is an output-only signal that generates either a single pulse or a sequence of eight pulses in the hardware-strobe mode. An external device can use this signal to latch signals or to trigger events.
Chapter 4 Connecting Signals Waveform Generation Timing Connections The analog group defined for the device is controlled by WFTRIG, UPDATE*, and UISOURCE. WFTRIG Signal Any PFI pin can externally input the WFTRIG signal, which is available as an output on the PFI6/WFTRIG pin. As an input, WFTRIG is configured in the edge-detection mode. You can select any PFI pin as the source for WFTRIG and configure the polarity selection for either rising or falling edge.
Chapter 4 Connecting Signals tw tw = 50 to 100 ns Figure 4-25. WFTRIG Output Signal Timing UPDATE* Signal Any PFI pin can externally input the UPDATE* signal, which is available as an output on the PFI5/UPDATE* pin. As an input, UPDATE* is configured in the edge-detection mode. You can select any PFI pin as the source for UPDATE* and configure the polarity selection for either rising or falling edge. The selected edge of UPDATE* updates the outputs of the DACs.
Chapter 4 Connecting Signals tw tw = 300 to 350 ns Figure 4-27. UPDATE* Output Signal Timing The DACs are updated within 100 ns of the leading edge. Separate the UPDATE* pulses with enough time that new data can be written to the DAC latches. The device UI counter normally generates the UPDATE* signal unless you select some external source. The UI counter is started by the WFTRIG signal and can be stopped by software or the internal Buffer Counter (BC).
Chapter 4 Connecting Signals The maximum allowed frequency is 20 MHz, with a minimum pulse width of 23 ns high or low. There is no minimum frequency limitation. Either the 20 MHz or 100 kHz internal timebase normally generates UISOURCE unless you select some external source. General-Purpose Timing Signal Connections The general-purpose timing signals are GPCTR0_SOURCE, GPCTR0_GATE, GPCTR0_OUT, GPCTR0_UP_DOWN, GPCTR1_SOURCE, GPCTR1_GATE, GPCTR1_OUT, GPCTR1_UP_DOWN, and FREQ_OUT.
Chapter 4 Connecting Signals GPCTR0_GATE Signal Any PFI pin can externally input the GPCTR0_GATE signal, which is available as an output on the PFI9/GPCTR0_GATE pin. As an input, GPCTR0_GATE is configured in the edge-detection mode. You can select any PFI pin as the source for GPCTR0_GATE and configure the polarity selection for either rising or falling edge.
Chapter 4 Connecting Signals TC GPCTR0_SOURCE GPCTR0_OUT (Pulse on TC) GPCTR0_OUT (Toggle Output on TC) Figure 4-31. GPCTR0_OUT Signal Timing GPCTR0_UP_DOWN Signal This signal can be externally input on the DIO6 pin and is not available as an output on the I/O connector. The general-purpose counter 0 counts down when this pin is at a logic low and count up when it is at a logic high.
Chapter 4 Connecting Signals Figure 4-32 shows the timing requirements for GPCTR1_SOURCE. tp tw tw tp = 50 ns minimum tw = 23 ns minimum Figure 4-32. GPCTR1_SOURCE Signal Timing The maximum allowed frequency is 20 MHz, with a minimum pulse width of 23 ns high or low. There is no minimum frequency limitation. The 20 MHz or 100 kHz timebase normally generates GPCTR1_SOURCE unless you select some external source.
Chapter 4 Connecting Signals Figure 4-33 shows the timing requirements for GPCTR1_GATE. tw Rising-Edge Polarity Falling-Edge Polarity tw = 10 ns minimum Figure 4-33. GPCTR1_GATE Signal Timing in Edge-Detection Mode GPCTR1_OUT Signal This signal is available only as an output on the GPCTR1_OUT pin. GPCTR1_OUT monitors the TC device general-purpose counter 1. You have two software-selectable output options—pulse on TC and toggle output polarity on TC.
Chapter 4 tsc SOURCE tsp tsp VIH VIL tgsu GATE Connecting Signals tgh VIH VIL tgw tout OUT VOH VOL Source Clock Period Source Pulse Width Gate Setup Time Gate Hold Time Gate Pulse Width Output Delay Time tsc tsp tgsu tgh tgw tout 50 ns minimum 23 ns minimum 10 ns minimum 0 ns minimum 10 ns minimum 80 ns maximum Figure 4-35. GPCTR Timing Summary The GATE and OUT signal transitions shown in Figure 4-35 are referenced to the rising edge of the SOURCE signal.
Chapter 4 Connecting Signals The OUT output timing parameters are referenced to the signal at the SOURCE input or to one of the internally generated clock signals on the NI 6013/6014. Figure 4-35 shows the OUT signal referenced to the rising edge of a source signal. Any OUT signal state changes occur within 80 ns after the rising or falling edge of the source signal. FREQ_OUT Signal This signal is available only as an output on the FREQ_OUT pin. The device frequency generator outputs the FREQ_OUT pin.
Chapter 4 Connecting Signals • Do not run signal lines through conduits that also contain power lines. • Protect signal lines from magnetic fields caused by electric motors, welding equipment, breakers, or transformers by running them through special metal conduits. For more information, refer to the NI Developer Zone tutorial, Field Wiring and Noise Consideration for Analog Signals, at ni.com/zone.
5 Calibration This chapter discusses the calibration procedures for the NI 6013/6014. NI-DAQ includes calibration functions for performing all of the steps in the calibration process. Calibration refers to the process of minimizing measurement and output voltage errors by making small circuit adjustments. On the NI 6013/6014, these adjustments take the form of writing values to onboard calibration DACs (CalDACs). Some form of device calibration is required for most applications.
Chapter 5 Calibration account the fact that the device measurement and output voltage errors can vary with time and temperature. It is better to self-calibrate when the device is installed in the environment in which it is used. Self-Calibration The NI 6013/6014 can measure and correct for almost all of its calibration-related errors without any external signal connections. NI-DAQ provides a self-calibration method.
A Specifications This appendix lists the specifications of the NI 6013/6014. These specifications are typical at 25 °C unless otherwise noted. Analog Input Input Characteristics Number of channels ............................... 16 single-ended or 8 differential (software-selectable per channel) Type of ADC.......................................... Successive approximation Resolution .............................................. 16 bits, 1 in 65,536 Sampling rate ........................................
Appendix A Specifications FIFO buffer size......................................512 samples Data transfers ..........................................DMA, interrupts, programmed I/O DMA modes ...........................................Scatter-gather (Single transfer, demand transfer) Number of DMA channels .....................11 Configuration memory size ....................
Appendix A Specifications Gain error (relative to calibration reference) After calibration (gain = 1) ............. ±74 ppm of reading max Before calibration ........................... ±18,900 ppm of reading max Gain ≠ 1 with gain error adjusted to 0 at gain = 1 ................. ±300 ppm of reading max Amplifier Characteristics Input impedance Normal powered on ........................ 100 GΩ in parallel with 100 pF Powered off..................................... 820 Ω Overload........................
Appendix A Specifications Crosstalk .................................................DC to 100 kHz Adjacent channels............................–75 dB Other channels .................................≤ –90 dB Stability Recommended warm-up time.................15 min Offset temperature coefficient Pregain.............................................±20 µV/°C Postgain ...........................................±175 µV/°C Gain temperature coefficient ..................
Appendix A Specifications Accuracy Information Absolute Accuracy Nominal Range (V) % of Reading Positive FS Negative FS 24 Hours 90 Days 1 Year (µV) (%/°C) Absolute Accuracy at Full Scale (µV) 10 –10 0.0154 0.0174 0.0196 1,873 0.0005 3,835 Offset Temp Drift Transfer Characteristics Relative accuracy (INL)......................... ±3 LSB, typ DNL ....................................................... ±2 LSB, typ Monotonicity..........................................
Appendix A Specifications Power reset glitch Magnitude........................................±3.0 V Duration...........................................3 ms Dynamic Characteristics Settling time for full-scale step...............8 µs to ±1 LSB accuracy Slew rate .................................................4 V/µs Noise .......................................................360 µVrms, DC to 400 kHz Midscale transition glitch Magnitude........................................±200 mV Duration............
Appendix A Specifications Power-on state ........................................ Input (high-impedance), 1.5 kΩ pull down to DGND Data transfers ......................................... Programmed I/O Max transfer rate .................................... 50 kwords/s, system dependent Timing I/O Number of channels ............................... 2 up/down counter/timers, 1 frequency scaler Resolution Counter/timers ................................ 24 bits Frequency scalers............................
Appendix A Specifications Triggers Digital Trigger Compatibility ..........................................TTL Response .................................................Rising or falling edge Pulse width .............................................10 ns min Calibration Recommended warm-up time.................15 min Interval....................................................1 year External calibration reference.................>6 and <10 V Onboard calibration reference Level ...........................
Appendix A Specifications Maximum Working Voltage Maximum working voltage refers to the signal voltage plus the common-mode voltage. Channel-to-earth..................................... ±11 V, Installation Category II Environmental Operating temperature............................ 0 to 50 °C Storage temperature ............................... –20 to 70 °C Humidity ................................................ 10 to 70% RH, noncondensing Maximum altitude ..................................
B Custom Cabling and Optional Connectors This appendix describes the various cabling and connector options for the NI 6013/6014. Custom Cabling NI offers cables and accessories for you to prototype your application or to use if you frequently change device interconnections. If you want to develop your own cable, however, adhere to the following guidelines for best results: • For AI signals, use shielded twisted-pair wires for each AI pair for differential inputs.
Appendix B Custom Cabling and Optional Connectors ACH8 ACH1 AIGND ACH10 ACH3 AIGND ACH4 AIGND ACH13 ACH6 AIGND ACH15 DAC0OUT1 DAC1OUT1 RESERVED DIO4 DGND DIO1 DIO6 DGND +5V DGND DGND PFI0/TRIG1 PFI1/TRIG2 DGND +5V DGND PFI5/UPDATE* PFI6/WFTRIG DGND PFI9/GPCTR0_GATE GPCTR0_OUT FREQ_OUT 1 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 ACH0 AIGND ACH9 ACH2 AI
Appendix B Custom Cabling and Optional Connectors Figure B-2 shows the pin assignments for the 50-pin connector. This connector is available when you use the SH6850 or R6850 cable assemblies.
C Common Questions This appendix contains a list of commonly asked questions and their answers relating to usage and special features of the NI 6013/6014. General Information What is the DAQ-STC? The DAQ-STC is the system timing control application-specific integrated circuit (ASIC) designed by NI and is the backbone of the NI 6013/6014. The DAQ-STC contains seven 24-bit counters and three 16-bit counters.
Appendix C Common Questions How do I use the NI 6013/6014 with the C API in NI-DAQ? The NI-DAQ User Manual for PC Compatibles contains example code and describes the general programming flow when using the NI-DAQ C API. For a list of functions that support the NI 6013/6014, refer to the NI-DAQ Function Reference Help (NI-DAQ version 6.7 or later) or the NI-DAQ Function Reference Manual for PC Compatibles (NI-DAQ version 6.6 or earlier). Refer to ni.
Appendix C Common Questions Analog Input and Output I am using the device in differential AI mode, and I have connected a differential input signal, but the readings are random and drift rapidly. What is wrong? Check the ground reference connections. The signal may be referenced to a level that is considered floating with reference to the device ground reference. Even if you are in differential mode, the signal must still be referenced to the same ground level as the device reference.
Appendix C Common Questions 1:2 Figure C-1. Configuring Channels to Acquire in Different Modes in LabVIEW To enable multimode scanning in using NI-DAQ functions, call the AI_Configure function for each channel. I am seeing crosstalk or ghost voltages when sampling multiple channels. What does this mean? You maybe experiencing a phenomenon called charge injection, which occurs when you sample a series of high-output impedance sources with a multiplexer.
Appendix C Common Questions How can I use the STARTSCAN and CONVERT* signals on the NI 6013/6014 to sample the AI channel(s)? The NI 6013/6014 uses the STARTSCAN and CONVERT* signals to perform interval sampling. As Figure C-2 shows, STARTSCAN controls the scan interval, which is determined by the following equality: 1 ------------------------------- = scan rate scan interval Channel 0 Channel 1 Interchannel Delay Scan Interval Figure C-2.
Appendix C Common Questions Timing and Digital I/O What types of triggering can be hardware-implemented on the NI 6013/6014? Digital triggering is hardware-supported on the NI 6013/6014. I am using one of the general-purpose counter/timers on the device, but I do not see the counter/timer output on the I/O connector. Why? If you are using the NI-DAQ language interface or LabWindows/CVI, you must configure the output line to output the signal to the I/O connector.
Appendix C Common Questions Table C-1 corresponds the hardware signal names to the software signal names in LabVIEW and NI-DAQ. Table C-1.
Technical Support and Professional Services D Visit the following sections of the NI Web site at ni.com for technical support and professional services: • Support—Online technical support resources include the following: – Self-Help Resources—For immediate answers and solutions, visit our extensive library of technical support resources available in English, Japanese, and Spanish at ni.com/support.
Glossary Prefix Meanings Value p- pico 10 –12 n- nano- 10 –9 µ- micro- 10 – 6 m- milli- 10 –3 k- kilo- 10 3 M- mega- 10 6 G- giga- 10 9 Symbols % percent + positive of, or plus – negative of, or minus ± plus or minus / per ° degree Ω ohm A A amperes A/D analog-to-digital ACH AI channel signal © National Instruments Corporation G-1 NI 6013/6014 User Manual
Glossary ADC analog-to-digital converter—an electronic device, often an integrated circuit, that converts an analog voltage to a digital number AI analog input AIGATE AI gate signal AIGND AI ground signal AISENSE AI sense signal ANSI American National Standards Institute AO analog output AOGND AO ground signal B base address a memory address that serves as the starting address for programmable registers. All other addresses are located by adding to the base address.
Glossary CMRR common-mode rejection ratio—a measure of an instrument’s ability to reject interference from a common-mode signal, usually expressed in decibels (dB) common-mode signal any voltage present at the instrumentation amplifier inputs with respect to amplifier ground CONVERT* convert signal counter/timer a circuit that counts external pulses or clock pulses (timing) D D/A digital-to-analog DAC digital-to-analog converter—an electronic device, often an integrated circuit, that converts a
Glossary dithering the addition of Gaussian noise to an AI signal DMA direct memory access—a method by which data can be transferred to/from computer memory from/to a device or memory on the bus while the processor does something else. DMA is the fastest method of transferring data to/from computer memory.
Glossary floating signal sources signal sources with voltage signals that are not connected to an absolute reference or system ground. Also called nonreferenced signal sources. Some common example of floating signal sources are batteries, transformers, or thermocouples.
Glossary I I/O input/output—the transfer of data to/from a computer system involving communications channels, operator interface devices, and/or data acquisition and control interfaces in.
Glossary library a file containing compiled object modules, each comprised of one of more functions, that can be linked to other object modules that make use of these functions. NIDAQMSC.LIB is a library that contains NI-DAQ functions. The NI-DAQ function set is broken down into object modules so that only the object modules that are relevant to your application are linked in, while those object modules that are not relevant are not linked.
Glossary O OUT output pin—a counter output pin where the counter can generate various TTL pulse waveforms P PCI Peripheral Component Interconnect—a high-performance expansion bus architecture originally developed by Intel to replace ISA and EISA. It is achieving widespread acceptance as a standard for PCs and work-stations; it offers a theoretical maximum transfer rate of 132 Mbytes/s.
Glossary ppm parts per million pu pull up Q quantization error the inherent uncertainty in digitizing an analog value due to the finite resolution of the conversion process R referenced single-ended configuration RSE—all measurements are made with respect to a common reference measurement system or ground; also called a grounded measurement system relative accuracy a measure in LSB of the accuracy of an ADC. It includes all non-linearity and quantization errors.
Glossary SC scan counter scan one or more analog or digital input samples. Typically, the number of input samples in a scan is equal to the number of channels in the input group. For example, one pulse from the scan clock produces one scan which acquires one new sample from every AI channel in the group.
Glossary tp pulse period TRIG trigger signal trigger any event that causes or starts some form of data capture tsc source clock period tsp source pulse width TTL transistor-transistor logic—a digital circuit composed of bipolar transistors wired in a certain manner tw pulse width two’s complement given a number x expressed in base 2 with n digits to the left of the radix point, the (base 2) number 2n – x U UI update interval UISOURCE update interval counter clock signal update the outp
Glossary Vin volts in Vm measured voltage VOH volts, output high VOL volts, output low Vrms volts, root mean square W waveform multiple voltage readings taken at a specific sampling rate WFTRIG waveform generation trigger signal working voltage the highest voltage that should be applied to a product in normal use, normally well under the breakdown voltage for safety margin. NI 6013/6014 User Manual G-12 ni.
Index Numbers specifications, A-1 to A-4 accuracy information, A-2 amplifier characteristics, A-3 dynamic characteristics, A-3 to A-4 input characteristics, A-1 to A-2 stability, A-4 transfer characteristics, A-2 to A-3 types of signal sources, 4-7 floating signal sources, 4-7 ground-referenced signal sources, 4-7 analog input modes available input configurations (table), 3-2 common-mode signal rejection considerations, 4-16 differential connections, 4-10 to 4-13 ground-referenced signal sources, 4-11 nonr
Index correlated digital I/O. See digital I/O.
Index I/O signal summary (table), 4-6 frequently asked questions. See questions and answers. fuse, self-resetting, C-1 digital I/O overview, 3-4 to 3-5 questions about, C-6 to C-7 signal connections, 4-18 to 4-19 specifications, A-6 to A-7 digital trigger specifications, A-8 DIO<0..
Index exceeding maximum ratings (caution), 4-1 optional connectors, B-1 to B-3 50-pin connector pin assignments (figure), B-3 68-pin connector pin assignments (figure), B-2 pin assignments (figure), 4-2 signal descriptions (table), 4-3 to 4-5 signal summary (table), 4-5 to 4-6 ground-referenced signal sources description, 4-7 differential connections, 4-11 single-ended connections (NRSE configuration), 4-15 to 4-16 H hardware installation procedure, 2-1 to 2-2 unpacking 6013/6014 device, 1-4 hardware ove
Index PFI5/UPDATE signal description (table), 4-4 I/O signal summary (table), 4-6 PFI6/WFTRIG signal description (table), 4-4 I/O signal summary (table), 4-6 PFI7/STARTSCAN signal description (table), 4-4 I/O signal summary (table), 4-6 PFI8/GPCTR0_SOURCE signal description (table), 4-5 I/O signal summary (table), 4-6 PFI9/GPCTR0_GATE signal description (table), 4-5 I/O signal summary (table), 4-6 PFIs (programmable function inputs) questions about, C-6 to C-7 signal routing, 3-6 timing connections, 4-20 t
Index differential connection considerations, 4-10 to 4-13 input configurations, 4-9 to 4-16 single-ended connection considerations, 4-14 to 4-16 summary of input configurations (figure), 4-9 types of signal sources, 4-7 analog output, 4-17 digital I/O, 4-18 to 4-19 field wiring considerations, 4-40 to 4-41 I/O connectors, 4-1 to 4-6 cables for use with I/O connectors (table), 4-1 correspondence of signal names in LabVIEW and NI-DAQ (table), C-7 exceeding maximum ratings (caution), 4-1 I/O connector signal
Index T single-ended connections, 4-14 to 4-16 grounded signal sources (NRSE configuration), 4-15 to 4-16 when to use, 4-14 SISOURCE signal, 4-29 software installation, 2-1 software programming choices, 1-2 to 1-4 National Instruments ADE software, 1-3 to 1-4 NI-DAQ driver software, 1-2 to 1-3 specifications analog input, A-1 to A-4 accuracy information, A-2 amplifier characteristics, A-3 dynamic characteristics, A-3 to A-4 input characteristics, A-1 to A-2 stability, A-4 transfer characteristics, A-2 to
Index V timing I/O questions about, C-6 to C-7 specifications, A-7 timing signal routing, 3-5 to 3-6 CONVERT* signal routing (figure), 3-5 programmable function inputs, 3-6 TRIG1 signal, 4-22 to 4-23 TRIG2 signal, 4-23 to 4-24 triggers digital trigger specifications, A-8 questions about, C-6 VCC signal (table), 4-5 voltage maximum working voltage specifications, A-9 output specifications, A-5 to A-6 W waveform generation timing connections, 4-31 to 4-34 UISOURCE signal, 4-33 to 4-34 UPDATE* signal, 4-32