background image

Chapter 4

Connecting Signals

NI 6013/6014 User Manual

4-36

ni.com

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.
You can disable this input so that software can control the up-down
functionality and leave the DIO6 pin free for general use.

GPCTR1_SOURCE Signal

Any PFI pin can externally input the GPCTR1_SOURCE signal, which
is available as an output on the PFI3/GPCTR1_SOURCE pin.

As an input, GPCTR1_SOURCE is configured in the edge-detection mode.
You can select any PFI pin as the source for GPCTR1_SOURCE and
configure the polarity selection for either rising or falling edge.

As an output, GPCTR1_SOURCE monitors the actual clock connected to
general-purpose counter 1, even if the source clock is being externally
generated by another PFI. This output is set to high-impedance at startup.

GPCTR0_SOURCE

GPCTR0_OUT

GPCTR0_OUT

(Toggle Output on TC)

(Pulse on TC)

TC

Summary of Contents for NI 6013

Page 1: ...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...

Page 2: ...48 14 24 24 Germany 089 741 31 30 Greece 01 42 96 427 Hong Kong 2645 3186 India 91 80 4190000 Israel 03 6393737 Italy 02 413091 Japan 03 5472 2970 Korea 02 3451 3400 Malaysia 603 9596711 Mexico 001 8...

Page 3: ...on or maintenance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outsi...

Page 4: ...ruments could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a...

Page 5: ...ncludes a DoC for most every hardware product except for those bought for OEMs if also available from an original manufacturer that also markets in the EU or where compliance is not required as for el...

Page 6: ...NI DAQ 1 2 National Instruments ADE Software 1 3 Optional Equipment 1 4 Unpacking 1 4 Safety Information 1 5 Chapter 2 Installing and Configuring the NI 6013 6014 Installing the Software 2 1 Installi...

Page 7: ...ingle Ended Connections for Grounded Signal Sources 4 15 Common Mode Signal Rejection Considerations 4 16 Connecting Analog Output Signals 4 17 Connecting Digital I O Signals 4 18 Power Connections 4...

Page 8: ...OUT Signal 4 40 Field Wiring Considerations 4 40 Chapter 5 Calibration Loading Calibration Constants 5 1 Self Calibration 5 2 External Calibration 5 2 Appendix A Specifications Appendix B Custom Cabli...

Page 9: ...or example DIO 3 0 Angle brackets can also denote a variable in a channel name for example ACH i and ACH i 8 The symbol indicates that the text following it applies only to a specific product a specif...

Page 10: ...subprograms subroutines device names functions operations variables filenames and extensions and code excerpts NI DAQ NI DAQ refers to the NI DAQ driver software for PC compatible computers unless ot...

Page 11: ...cept that it does not have AO channels The NI 6013 6014 uses the NI data acquisition system timing controller DAQ STC for time related functions The DAQ STC consists of three timing groups that contro...

Page 12: ...NI DAQ which ships with the NI 6013 6014 has an extensive library of functions that you can call from the ADE These functions allow you to use all the features of the NI 6013 6014 NI DAQ carries out m...

Page 13: ...asic is a development suite that allows you to use ANSI C Visual C and Visual Basic to design the test and measurement software For C developers Measurement Studio includes LabWindows CVI a fully inte...

Page 14: ...neous sample and hold and relays For more information about these products refer to the NI catalog at ni com catalog Unpacking The NI 6013 6014 is shipped in an antistatic package to prevent electrost...

Page 15: ...uct Do not operate the product in an explosive atmosphere or where there may be flammable gases or fumes Operate the product only at or below the pollution degree stated in Appendix A Specifications P...

Page 16: ...appliances portable tools and similar equipment Installation Category III is for measurements performed in the building installation This category is a distribution level referring to hardwired equip...

Page 17: ...Chapter 1 Introduction National Instruments Corporation 1 7 NI 6013 6014 User Manual Below is a diagram of a sample installation...

Page 18: ...DAQ Quick Start Guide included with the NI 6013 6014 Note It is important to install NI DAQ before installing the NI 6013 6014 to ensure that the NI 6013 6014 is properly detected Installing the Hardw...

Page 19: ...and filler panels must be installed when operating the device The NI 6013 6014 is now installed You are now ready to configure the device Configuring the Hardware Because of the NI standard architect...

Page 20: ...13 6014 User Manual 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 o...

Page 21: ...ibration DACs DAC0 DAC1 DAQ STC Analog Input Timing Control Analog Output Timing Control Digital I O Trigger Interface Counter Timing I O DMA Interrupt Request Bus Interface 8 8 AI Control Address Dat...

Page 22: ...n 12 channels four differentially configured channels and eight single ended channels Table 3 1 describes the two input modes For diagrams showing the signal paths of the two configurations refer to t...

Page 23: ...the settling times may increase When the PGIA switches to a higher gain the signal on the previous channel may be well outside the new smaller range For instance suppose a 4 V signal is connected to...

Page 24: ...r example 100 points from channel 0 then 100 points from channel 1 then 100 points from channel 2 and so on Analog Output NI 6014 only The NI 6014 supplies two channels of 16 bit AO voltage at the I O...

Page 25: ...d be controlled by other devices and circuits The DAQ STC has 13 internal timing signals that can be controlled by an external source These timing signals can also be controlled by signals generated i...

Page 26: ...by any of the timing signals and that multiple timing signals can simultaneously use the same PFI This flexible routing scheme reduces the need to change physical connections to the I O connector for...

Page 27: ...from such signal connections The Protection column of Table 4 3 shows the maximum input ratings for each signal I O Connector Figure 4 1 shows the pin assignments for the 68 pin I O connector Refer to...

Page 28: ...D ACH4 AIGND ACH3 ACH10 AIGND ACH1 ACH8 DGND 1 Not available on the NI 6013 PFI8 GPCTR0_SOURCE PFI7 STARTSCAN GPCTR1_OUT PFI4 GPCTR1_GATE PFI3 GPCTR1_SOURCE PFI2 CONVERT DGND DGND DGND EXTSTROBE SCANC...

Page 29: ...OGND Output Analog Channel 0 Output This pin supplies the voltage output of AO channel 0 DAC1OUT1 AOGND Output Analog Channel 1 Output This pin supplies the voltage output of AO channel 1 AOGND Analog...

Page 30: ...ut this signal is the GPCTR1_SOURCE signal This signal reflects the actual source connected to the general purpose counter 1 PFI4 GPCTR1_GATE DGND Input Output PFI4 Counter 1 Gate As an input this sig...

Page 31: ...general purpose counter 0 output FREQ_OUT DGND Output Frequency Output This output is from the frequency generator output Indicates that the signal is active low 1 Not available on the NI 6013 Table...

Page 32: ...CONVERT DIO VCC 0 5 3 5 at VCC 0 4 5 at 0 4 1 5 50 k pu PFI3 GPCTR1_SOURCE DIO VCC 0 5 3 5 at VCC 0 4 5 at 0 4 1 5 50 k pu PFI4 GPCTR1_GATE DIO VCC 0 5 3 5 at VCC 0 4 5 at 0 4 1 5 50 k pu GPCTR1_OUT D...

Page 33: ...ats outside the common mode input range Ground Referenced Signal Sources A ground referenced signal source is connected in some way to the building system ground and is therefore already connected to...

Page 34: ...from such signal connections The maximum input voltage ratings are listed in the Protection column of Table 4 3 AIGND is an AI common signal that is routed directly to the ground tie point on the dev...

Page 35: ...or measuring both floating and ground referenced signal sources Figure 4 3 summarizes the recommended input configuration for both types of signal sources Figure 4 3 Summary of AI Connections Input In...

Page 36: ...nput of the PGIA When you configure a channel for DIFF input mode each signal uses two multiplexer inputs one for the signal and one for its reference signal Therefore with a differential configuratio...

Page 37: ...4 Differential Input Connections for Ground Referenced Signals With this type of connection the PGIA rejects both the common mode noise in the signal and the ground potential difference between the s...

Page 38: ...igure 4 5 shows two bias resistors connected in parallel with the signal leads of a floating signal source If you do not use the resistors and the source is truly floating the source is unlikely to re...

Page 39: ...coupled noise Also this configuration does not load down the source other than the very high input impedance of the PGIA You can fully balance the signal path by connecting another resistor of the sa...

Page 40: ...her signals DIFF input connections are recommended for greater signal integrity for any input signal that does not meet the preceding conditions NRSE mode is the only single ended configuration suppor...

Page 41: ...nal is then connected to the positive input of the PGIA and the signal local ground reference is connected to the negative input of the PGIA The ground point of the signal should therefore be connecte...

Page 42: ...NI 6013 6014 In these cases the PGIA can reject any voltage caused by ground potential differences between the signal source and the device In addition with differential input connections the PGIA ca...

Page 43: ...ilable 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 ext...

Page 44: ...the DIO port You can program all lines individually to be inputs or outputs Caution Exceeding the maximum input voltage ratings which are listed in Table 4 3 can damage the NI 6013 6014 and the comput...

Page 45: ...e Doing so can damage the NI 6013 6014 and the computer NI is not liable for damage resulting from such a connection Connecting Timing Signals Caution Exceeding the maximum input voltage ratings which...

Page 46: ...source for each of these signals is software selectable from any PFI pin when you want external control This flexible routing scheme reduces the need to change the physical wiring to the device I O c...

Page 47: ...ies for both rising edge and falling edge polarity settings There is no maximum pulse width requirement in edge detect mode In level detection mode there are no minimum or maximum pulse width requirem...

Page 48: ...e PFI0 TRIG1 pin Refer to Figures 4 11 and 4 12 for the relationship of TRIG1 to the DAQ sequence As an input TRIG1 is configured in the edge detection mode You can select any PFI pin as the source fo...

Page 49: ...al which is available as an output on the PFI1 TRIG2 pin Refer to Figure 4 12 for the relationship of TRIG2 to the DAQ sequence As an input TRIG2 is configured in the edge detection mode You can selec...

Page 50: ...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 The output is an active...

Page 51: ...you select internally triggered CONVERT As an output STARTSCAN reflects the actual start pulse that initiates a scan even if the starts are being externally triggered by another PFI You have two outpu...

Page 52: ...ses should be separated by at least one scan period A counter on the NI 6013 6014 internally generates STARTSCAN unless you select some external source This counter is started by the TRIG1 signal and...

Page 53: ...ates an A D conversion The ADC switches to hold mode within 60 ns of the selected edge This hold mode delay time is a function of temperature and does not vary from one conversion to the next CONVERT...

Page 54: ...ftware command register gate AIGATE Signal Any PFI pin can externally input the AIGATE signal which is not available as an output on the I O connector AIGATE can mask off scans in a DAQ sequence You c...

Page 55: ...m pulse width of 23 ns high or low There is no minimum frequency limitation Either the 20 MHz or 100 kHz internal timebase generates SISOURCE unless you select some external source Figure 4 21 shows t...

Page 56: ...eight pulses in the hardware strobe mode An external device can use this signal to latch signals or to trigger events In the single pulse mode software controls the level of EXTSTROBE A 10 s and a 1...

Page 57: ...e polarity selection for either rising or falling edge The selected edge of WFTRIG starts the waveform generation for the DACs The update interval UI counter is started if you select internally genera...

Page 58: ...ng edge The selected edge of UPDATE updates the outputs of the DACs In order to use UPDATE you must set the DACs to posted update mode As an output UPDATE reflects the actual update pulse that is conn...

Page 59: ...D A conversions generated by either an internal or external UPDATE signal do not occur when gated by the software command register gate UISOURCE Signal Any PFI pin can externally input the UISOURCE si...

Page 60: ...an output on the PFI8 GPCTR0_SOURCE pin As an input GPCTR0_SOURCE is configured in the edge detection mode You can select any PFI pin as the source for GPCTR0_SOURCE and configure the polarity select...

Page 61: ...gate signal connected to general purpose counter 0 even if the gate is being externally generated by another PFI This output is set to high impedance at startup Figure 4 30 shows the timing requireme...

Page 62: ...6 pin free for general use GPCTR1_SOURCE Signal Any PFI pin can externally input the GPCTR1_SOURCE signal which is available as an output on the PFI3 GPCTR1_SOURCE pin As an input GPCTR1_SOURCE is con...

Page 63: ...signal which is available as an output on the PFI4 GPCTR1_GATE pin As an input GPCTR1_GATE is configured in edge detection mode You can select any PFI pin as the source for GPCTR1_GATE and configure t...

Page 64: ...p Figure 4 34 shows the timing requirements for GPCTR1_OUT Figure 4 34 GPCTR1_OUT Signal Timing GPCTR1_UP_DOWN Signal This signal can be externally input on the DIO7 pin and is not available as an out...

Page 65: ...ising edge of a source signal The gate must be valid either high or low for at least 10 ns before the rising or falling edge of a source signal for the gate to take effect at that source edge as shown...

Page 66: ...following recommendations apply mainly to AI signal routing to the device although they also apply to signal routing in general Minimize noise pickup and maximize measurement accuracy by taking the f...

Page 67: ...nduits 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 m...

Page 68: ...Calibration Constants The NI 6013 6014 is factory calibrated before shipment at approximately 25 C to the levels indicated in Appendix A Specifications The associated calibration constants the values...

Page 69: ...marily in relative measurements you can ignore a small amount of gain error and self calibration should be sufficient External Calibration The NI 6013 6014 has an onboard calibration reference to ensu...

Page 70: ...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 200 kS s guarante...

Page 71: ...annel to be shared by all resources on the device Nominal Range at Full Scale V Absolute Accuracy Relative Accuracy of Reading Offset Noise Quantization V Absolute Accuracy at Full Scale mV Temp Drift...

Page 72: ...ifier Characteristics Input impedance Normal powered on 100 G in parallel with 100 pF Powered off 820 Overload 820 Input bias current 200 pA Input offset current 100 pA CMRR DC to 60 Hz Gain 0 5 1 0 8...

Page 73: ...ppm C Analog Output NI 6014 only Output Characteristics Number of channels 2 voltage Resolution 16 bits 1 in 65 536 Max update rate DMA 10 kHz system dependent Interrupts 1 kHz system dependent Type...

Page 74: ...e to internal reference After calibration 75 ppm Before calibration 22 700 ppm Voltage Output Range 10 V Output coupling DC Output impedance 0 1 max Current drive 5 mA max Protection Short circuit to...

Page 75: ...e transition glitch Magnitude 200 mV Duration 2 0 s Stability Offset temperature coefficient 128 V C Gain temperature coefficient 26 8 ppm C Digital I O Number of channels 8 input output Compatibility...

Page 76: ...r timers 24 bits Frequency scalers 4 bits Compatibility TTL CMOS Base clocks available Counter timers 20 MHz 100 kHz Frequency scalers 10 MHz 100 kHz Base clock accuracy 0 01 Max source frequency 20 M...

Page 77: ...Onboard calibration reference Level 5 000 V 3 5 mV over full operating temperature actual value stored in EEPROM Temperature coefficient 5 ppm C max Long term stability 15 ppm Power Requirement 5 VDC...

Page 78: ...1995 UL 3101 1 1993 UL 3111 1 1994 UL 3121 1998 CAN CSA c22 2 no 1010 1 1992 A2 1997 Electromagnetic Compatibility CE C Tick and FCC Part 15 Class A Compliant Electrical emissions EN 55011 Class A at...

Page 79: ...for each signal pair to the ground reference at the source Route the analog lines separately from the digital lines When using a cable shield use separate shields for the analog and digital halves of...

Page 80: ...GND ACH4 AIGND ACH3 ACH10 AIGND ACH1 ACH8 DGND 1 Not available on the NI 6013 PFI8 GPCTR0_SOURCE PFI7 STARTSCAN GPCTR1_OUT PFI4 GPCTR1_GATE PFI3 GPCTR1_SOURCE PFI2 CONVERT DGND DGND DGND EXTSTROBE SCA...

Page 81: ...6 WFTRIG GPCTR1_OUT PFI3 GPCTR1_SOURCE PFI1 TRIG2 EXTSTROBE 5V DGND DIO3 DIO2 DIO1 DIO0 AOGND DAC1OUT1 AISENSE ACH7 ACH6 ACH5 ACH4 ACH3 ACH2 ACH1 ACH0 AIGND FREQ_OUT PFI7 STARTSCAN PFI5 UPDATE PFI2 CO...

Page 82: ...The groups can be configured independently with timing resolutions of 50 ns or 10 s With the DAQ STC you can interconnect a wide variety of internal timing signals to other internal blocks The interc...

Page 83: ...14 The base address of the NI 6013 6014 is assigned automatically through the PCI bus protocol This assignment is completely transparent to you What jumpers should I be aware of when configuring the N...

Page 84: ...st glitches occur when the most significant bit MSB of the D A code switches You can build a lowpass deglitching filter to remove some of these glitches depending on the frequency and nature of the ou...

Page 85: ...e When the next channel for example ACH1 is selected the accumulated current or charge leaks backward through that channel If the output impedance of the source connected to ACH1 is high enough the re...

Page 86: ...ARTSCAN controls the scan interval which is determined by the following equality Figure C 2 Scan Interval CONVERT controls the interchannel delay which is determined by the following equality This met...

Page 87: ...se lines PFIs are Programmable Function Inputs These lines serve as connections to virtually all internal timing signals If you are using NI DAQ or Measurement Studio use the Select_Signal function to...

Page 88: ...4 These resistors weakly pull the output to either a logic high or logic low state For example DIO 0 is in the high impedance state after power on and Table 4 3 I O Signal Summary for the NI 6013 6014...

Page 89: ...Support Options Contact NI engineers and other measurement and automation professionals by visiting ni com ask Our online system helps you define your question and connects you to the experts by phon...

Page 90: ...ual Glossary Prefix Meanings Value p pico 10 12 n nano 10 9 micro 10 6 m milli 10 3 k kilo 103 M mega 106 G giga 109 Symbols percent positive of or plus negative of or minus plus or minus per degree o...

Page 91: ...e located by adding to the base address bipolar a signal range that includes both positive and negative values for example 5 to 5 V BC buffered counter bus the group of conductors that interconnect in...

Page 92: ...t DAC0OUT analog channel 0 output signal DAC1OUT analog channel 1 output signal DAQ data acquisition 1 collecting and measuring electrical signals from sensors transducers and test probes or fixtures...

Page 93: ...ctrical signal and reprogrammed EXTSTROBE external strobe signal F FCC Federal Communications Commission FIFO first in first out memory buffer the first data stored is the first data sent to the accep...

Page 94: ...plifier from the ideal gain GATE gate signal glitch an unwanted momentary deviation from a desired signal GPCTR general purpose counter GPCTR0_GATE general purpose counter 0 gate signal GPCTR0_OUT gen...

Page 95: ...he difference in the input bias currents of the two inputs of an instrumentation amplifier instrumentation amplifier a circuit whose output voltage with respect to ground is proportional to the differ...

Page 96: ...ports bus mastering for high speed data transfers over the PCI bus MSB most significant bit mux multiplexer a switching device with multiple inputs that sequentially connects each of its inputs to its...

Page 97: ...own PFI programmable function input PFI0 TRIG1 PFI0 trigger 1 PFI1 TRIG2 PFI1 trigger 2 PFI2 CONVERT PFI2 convert PFI3 GPCTR1_ SOURCE PFI3 general purpose counter 1 source PFI4 GPCTR1_GATE PFI4 genera...

Page 98: ...ement that can be detected by a measurement system Resolution can be expressed in bits in proportions or in percent of full scale For example a system has 12 bit resolution one part in 4 096 resolutio...

Page 99: ...ge to reach its final value within specified limits SI scan interval SI2 sample interval signal conditioning the manipulation of signals to prepare them for digitizing SISOURCE SI counter clock signal...

Page 100: ...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 output equivalent of a scan One or more analog or digital...

Page 101: ...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...

Page 102: ...to 4 16 signal overview 4 6 to 4 9 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 t...

Page 103: ...Q timing connections 4 27 to 4 28 questions about C 5 signal routing figure 3 5 correlated digital I O See digital I O crosstalk multiple channel scanning C 4 custom cabling B 1 D DAC0OUT signal analo...

Page 104: ...tions 4 15 FREQ_OUT signal description table 4 5 general purpose timing signal connections 4 40 I O signal summary table 4 6 frequently asked questions See questions and answers fuse self resetting C...

Page 105: ...s 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 optional connectors B 1 to B 3 50 pin con...

Page 106: ..._GATE signal description table 4 4 I O signal summary table 4 6 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...

Page 107: ...4 17 common mode signal rejection considerations 4 16 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 o...

Page 108: ...y A 9 timing I O A 7 triggers A 8 digital trigger A 8 STARTSCAN signal DAQ timing connections 4 25 to 4 26 questions about C 5 T technical support and professional services D 1 timing connections 4 19...

Page 109: ...4 23 to 4 24 triggers digital trigger specifications A 8 questions about C 6 U UISOURCE signal 4 33 to 4 34 unpacking 6013 6014 device 1 4 UPDATE signal 4 32 to 4 33 V VCC signal table 4 5 voltage ma...

Reviews: