Worldwide Technical Support and Product Information
ni.com
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
Worldwide Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 55 11 3262 3599,
Canada (Calgary) 403 274 9391, Canada (Montreal) 514 288 5722, Canada (Ottawa) 613 233 5949,
Canada (Québec) 514 694 8521, Canada (Toronto) 905 785 0085, China 86 21 6555 7838,
Czech Republic 02 2423 5774, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 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 800 010 0793, Netherlands 0348 433466, New Zealand 09 914 0488, Norway 32 27 73 00,
Poland 22 3390 150, Portugal 210 311 210, Russia 095 238 7139, Singapore 65 6 226 5886,
Slovenia 3 425 4200, South Africa 11 805 8197, Spain 91 640 0085, Sweden 08 587 895 00,
Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545
For further support information, see the Technical Support and Professional Services appendix. To comment on
the documentation, send email to techpubs@ni.com.
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.
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects
in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National
Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives
notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be
uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before
any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are
covered by warranty.
National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical
accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent
editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected.
In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN,NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF
E
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID B Y THE CUSTOMER.NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR
DAMAGES RESULTING FROM LOSS OF DATA
. This limitation of the liability of National Instruments will applyregardless of the form of action,whether in contract or tort,including
THEREOF
negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover
damages, defects, malfunctions, or service failures caused by owner’s failure to follow the National Instruments installation, operation, 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 outside reasonable control.
, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY
Copyright
Under the copyright laws, this publication may not be reproduced ortransmitted in any form, electronic or mechanical, including photocopying,
recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of National
Instruments Corporation.
Trademarks
CVI™, DAQ-STC™,LabVIEW™, Measurement Studio™,MITE™,MXI™, National Instruments™,NI™, NI Developer Zone™,ni.com™,and
™
NI-DAQ
Product and company names mentioned herein are trademarks or trade names of their respective companies.
are trademarks of National Instruments Corporation.
Patents
For patents covering National Instruments products, refer to the appropriate location: Help»Patents in software, the
ni.com/patents
CD, or
.
.CUSTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF
patents.txt
file on the
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF
RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN
ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT
INJURY TO A HUMAN.
(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE
IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,
COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERS
AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND
HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL
DEVICES, TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR
MISUSES, OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE
HEREAFTER COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD
NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID
DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO
PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS.
BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING
PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN
COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL
INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING
THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE
INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN,
PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Page 4
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. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless
interference in much the same way.)
Digital electronics emit weak signals during normal operation that can affect radio, television, or other wireless products. By
examining the product you purchased, you can determine the FCC Class and therefore which of the two FCC/DOC Warnings
apply in the following sections. (Some products may not be labeled at all for FCC; if so, the reader should then assume these are
Class A devices.)
FCC Class A products only display a simple warning statement of one paragraph in length regarding interference and undesired
operation. Most of our products are FCC Class A. The FCC rules have restrictions regarding the locations where FCC Class A
products can be operated.
FCC Class B products display either a FCC ID code, starting with the letters EXN,
or the FCC Class B compliance mark that appears as shown here on the right.
Consult the FCC Web site at
http://www.fcc.gov
FCC/DOC Warnings
This equipment generates and uses radio frequency energyand, if not installed and used in strict accordance with the instructions
in this manual and the CE Marking Declaration of Conformity*, may cause interference to radio and television reception.
Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department
of Communications (DOC).
Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the
equipment under the FCC Rules.
for more information.
Class A
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC
Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated
in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and
used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
Canadian Department of Communications
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
Class B
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the
FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the
instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not
occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can
be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of
the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
Page 5
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. The Manufacturer includes 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 electrically benign apparatus or cables.
To obtain the DoC for this product, click Declaration of Conformity at
by product family. Select the appropriate product family, followed by your product, and a link to the DoC appears in Adobe
Acrobat format. Click the Acrobat icon to download or read the DoC.
* The CE Marking Declaration of Conformity will contain important supplementary information and instructions for the user
or installer.
ni.com/hardref.nsf/
. This Web site lists the DoCs
Page 6
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 ......................................................................................1-1
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.
This manual describes the electrical and mechanical aspects of the
NI 6013/6014 and contains information concerning their operation and
programming.
Conventions Used in This Manual
The following conventions are used in this manual:
<>Angle brackets containing numbers separated by an ellipsis represent
a range of values associated with a bit or signal name—for example,
DIO<3..0>. Angle brackets can also denote a variable in a channel
name—for example, ACH<i>andACH<i+8>.
♦The ♦ symbol indicates that the text following it applies only to a specific
product, a specific operating system, or a specific software version.
»The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to
pull down the File menu, select the Page Setup item, and select Options
from the last dialog box.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash. When this symbol is marked on
the device, refer to Appendix A, Specifications, for precautions to take.
6013/6014This phrase denotes the NI PCI-6013 and NI PCI-6014 devices.
boldBold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter
names and hardware labels.
italicItalic 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.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames and extensions, and code excerpts.
NI-DAQNI-DAQ refers to the NI-DAQ driver software for PC compatible
computers unless otherwise noted.
PCPC refers to all PC AT series computers with PCI bus unless otherwise
noted.
Related Documentation
The following documents contain information you may find helpful:
•DAQ Quick Start Guide,at
•DAQ-STC Technical Reference Manual,at
•NI Developer Zone tutorial, Field Wiring and Noise Considerations
for Analog Signals,at
•NI-DAQ User Manual for PC Compatibles,at
•PCI Local Bus Specification Revision 2.3,at
ni.com/manuals
ni.com/manuals
ni.com/zone
ni.com/manuals
pcisig.com
NI 6013/6014 User Manualxiini.com
Page 11
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.
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 control AI, AO, and general-purpose counter/timer
functions. These groups include a total of seven 24-bit and three 16-bit
counters and a maximum timing resolution of 50 ns. The DAQ-STC makes
possible such applications as buffered pulse generation, equivalent time
sampling, and seamless changing of the sampling rate.
1
What You Need to Get Started
To set up and use the device, you need the following items:
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. These functions allow you to use
all the features of the NI 6013/6014.
NI-DAQ carries out many of the complex interactions, such as
programming interrupts, between the computer and the DAQ hardware.
NI-DAQ maintains a consistent software interface among its different
versions so that you can change platforms with minimal modifications
to the code. Whether you are using LabVIEW, Measurement Studio,
VI Logger, or other ADEs, your application uses NI-DAQ, as illustrated
in Figure 1-1.
NI 6013/6014 User Manual1-2ni.com
Page 13
Chapter 1Introduction
Conventional
Programming
Environment
DAQ Hardware
Figure 1-1.
The Relationship Among the Programming Environment,
To download a free copy of the most recent version of NI-DAQ, click
Download Software at
National Instruments ADE Software
LabVIEW features interactive graphics, a state-of-the-art interface,
and a powerful graphical programming language. The LabVIEW Data
Acquisition VI Library, a series of virtual instruments for using LabVIEW
with National Instruments DAQ hardware, is included with LabVIEW.
NI-DAQ
NI-DAQ, and the Hardware
ni.com
.
LabVIEW,
Measurement Studio,
or VI Logger
Personal
Computer or
Workstation
Measurement Studio, which includes LabWindows
™
/CVI™, tools for
Visual C++, and tools for Visual Basic, 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 integrated ANSI C application development
environment that features interactive graphics and the LabWindows/CVI
Data Acquisition and Easy I/O libraries. For Visual Basic developers,
Measurement Studio features a set of ActiveX controls for using National
Instruments DAQ hardware. These ActiveX controls provide a high-level
programming interface for building virtual instruments. For Visual C++
developers, Measurement Studio offers a set of Visual C++ classes and
tools to integrate those classes into Visual C++ applications. The libraries,
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.
Optional Equipment
NI offers a variety of products to use with the device, including cables,
connector blocks, and other accessories, as follows:
•Cables and cable assemblies, shielded and ribbon
•Connector blocks, shielded and unshielded screw terminals
•Low channel-count signal conditioning modules, devices, and
accessories, including conditioning for strain gauges and resistance
temperature detectors (RTDs), simultaneous 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
electrostatic damage to the device. Electrostatic discharge (ESD)
can damage several components on the device.
Caution
NI 6013/6014 User Manual1-4ni.com
Never touch the exposed pins of connectors.
To avoid such damage in handling the device, take the following
precautions:
•Ground yourself using a grounding strap or by holding a grounded
object.
•Touch the antistatic package to a metal part of the computer chassis
before removing the device from the package.
Remove the device from the package and inspect the device for loose
components or any sign of damage. Notify NI if the device appears
damaged in any way. Do not install a damaged device into the computer.
Store the NI 6013/6014 in the antistatic envelope when not in use.
Page 15
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 1Introduction
If the product is rated for use with hazardous voltages (>30 V
or 60 V
), you may need to connect a safety earth-ground wire according
DC
,42.4Vpk,
rms
to the installation instructions. Refer to Appendix A, Specifications,for
maximum voltage ratings.
Do not substitute parts or modify the product. Use the product only with the
chassis, modules, accessories, and cables specified in the installation
instructions. You must have all covers and filler panels installed during
operation of the product.
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. Pollution is foreign
matter in a solid, liquid, or gaseous state that can produce a reduction of
dielectric strength or surface resistivity. The following is a description of
pollution degrees:
•Pollution Degree 1 means no pollution or only dry, nonconductive
pollution occurs. The pollution has no influence.
•Pollution Degree 2 means that only nonconductive pollution occurs in
most cases. Occasionally, however, a temporary conductivity caused
by condensation must be expected.
•Pollution Degree 3 means that conductive pollution occurs, or dry,
nonconductive pollution occurs, which becomes conductive due to
condensation.
Clean the product with a soft nonmetallic brush. The product must be
completely dry and free from contaminants before returning it to service.
Yo u must insulate signal connections for the maximum voltage for which
the product is rated. Do not exceed the maximum ratings for the product.
Remove power from signal lines before connection to or disconnection
from the product.
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 MAINS
1
. This category is a signal level such as
voltages on a printed wire board (PWB) on the secondary of an
isolation transformer.
Examples of Installation Category I are measurements on circuits not
derived from MAINS and specially protected (internal)
MAINS-derived circuits.
•Installation Category II is for measurements performed on circuits
directly connected to the low-voltage installation. This category refers
to local-level distribution such as that provided by a standard wall
outlet.
Examples of Installation Category II are measurements on household
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
equipment that does not rely on standard building insulation.
Examples of Installation Category III include measurements on
distribution circuits and circuit breakers. Other examples of
Installation Category III are wiring including cables, bus-bars, junction
boxes, switches, socket outlets in the building/fixed installation, and
equipment for industrial use, such as stationary motors with a
permanent connection to the building/fixed installation.
•Installation Category IV is for measurements performed at the source
of the low-voltage (<1,000 V) installation.
Examples of Installation Category IV are electric meters, and
measurements on primary overcurrent protection devices and
ripple-control units.
1
MAINS is defined as the electricity supply system to which the equipment concerned is designed to be connected either for
powering the equipment or for measurement purposes.
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.
Note
It is important to install NI-DAQ before installing the NI 6013/6014 to ensure that
the NI 6013/6014 is properly detected.
2
Installing the Hardware
The NI 6013/6014 fits in any PCI system slot in the computer. However, to
achieve best noise performance, leave as much room as possible between
the NI 6013/6014 and other devices.
The following are general installation instructions, but consult the
computer user manual or technical reference manual for specific
instructions and warnings.
Note
Follow the guidelines in the computer documentation for installing plug-in
Chapter 2Installing 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. Gently rock the device
to ease it into place. It may be a tight fit, but do not force the device
into place.
7.If required, screw the mounting bracket of the device to the back panel
rail of the computer.
8.Visually verify the installation. Make sure the device is not touching
other devices or components and is fully inserted into the slot.
9.Replace the cover.
10. Plug in and power on the computer.
Note
For proper cooling, all covers 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 architecture for data acquisition and standard
bus specifications, the NI 6013/6014 is completely software configurable.
Two types of configuration are performed on the NI 6013/6014:
bus-related and data acquisition-related.
The NI 6013/6014 device is fully compatible with the industry-standard
PCI Local Bus Specification Revision 2.3. This specification allows the PCI
system to automatically perform all bus-related configurations with no user
interaction. Bus-related configuration includes setting the device base
memory address and interrupt channel.
Data acquisition-related configuration, which you must perform, includes
such settings as AI coupling and range, and others. You can modify these
settings using NI-DAQ or ADE software, such as LabVIEW and
Measurement Studio. Refer to the software documentation for
configuration instructions. Refer to Chapter 3, Hardware Overview,
for more information about the various settings available for the device.
NI 6013/6014 User Manual2-2ni.com
Page 20
Chapter 2Installing 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,orlaunchMAX
to access the Measurement & Automation Explorer Help for DAQ
(Help»Help Topics»NI-DAQ).
The AI section of the NI 6013/6014 is software configurable.
The following sections describe in detail each AI setting.
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.
For example, you can configure the circuitry to scan 12 channels—four
differentially configured channels and eight single-ended channels.
Table 3-1 describes the two input modes.
Table 3-1. Available Input Modes
ModeDescription
DIFFA channel configured in DIFF mode uses two AI
lines. One line connects to the positive input of
the programmable gain instrumentation amplifier
(PGIA) on the device, and the other connects to
the negative input of the PGIA.
NRSEA channel configured in NRSE mode uses one AI
line, which connects to the positive input of the
PGIA. The negative input of the PGIA connects to
AI sense (AISENSE).
For diagrams showing the signal paths of the two configurations, refer to
the Connecting Analog Input Signals section of Chapter 4, Connecting
Signals.
NI 6013/6014 User Manual3-2ni.com
Page 23
Input Range
Chapter 3Hardware Overview
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
GainInput RangePrecision
0.5
1.0
10.0
100.0
1
The valueof 1 least significant bit (LSB) of the 16-bit ADC; that is, the voltage increment
corresponding to a change of one count in the ADC 16-bit count.
Note: RefertoAppendixA,Specifications, for absolute maximum ratings.
Scanning Multiple Channels
The devices can scan multiple channels at the same maximum rate as their
single-channel rate; however, pay careful attention to the settling times for
each device. No extra settling time is necessary between channels as long
as the gain is constant and source impedances are low. Refer to
Appendix A, Specifications, for a complete listing of settling times for each
of the devices.
When scanning among channels at various gains, 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 channel 0 and a 1 mV signal is
connected to channel 1, and suppose the PGIA is programmed to apply
a gain of one to channel 0 and a gain of 100 to channel 1. When the
multiplexer switches to channel 1 and the PGIA switches to a gain of 100,
the new full-scale range is ±50 mV.
–
10 to +10 V305.2 µV
–
5to+5V152.6 µV
–
500 to +500 mV15.3 µV
–
50 to +50 mV1.53 µV
1
The approximately 4 V step from 4 V to 1 mV is 4,000% of the new
full-scale range. It may take as long as 100 µs for the circuitry to settle to
1 LSB after such a large transition. In general, this extra settling time is not
needed when the PGIA is switching to a lower gain.
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.
Due to the previously described limitations of settling times resulting from
these conditions, multiple-channel scanning is not recommended unless
sampling rates are low enough or it is necessary to sample several signals
as nearly simultaneously as possible. The data is much more accurate and
channel-to-channel independent if you acquire data from each channel
independently (for example, 100 points from channel 0, then 100 points
from channel 1, then 100 points from channel 2, and so on.)
The NI 6014 supplies two channels of 16-bit AO voltage at the I/O
connector. Each device has a fixed bipolar output range of ±10 V. Data
written to the D/A converter (DAC) is interpreted in two’s complement
format, where for a number x expressedinbase2withn digits to the left
of the radix point, the (base 2) number is 2n – x.
Analog Output Glitch
In normal operation, a DAC output glitches whenever it is updated with
a new value. The glitch energy differs from code to code and appears as
distortion in the frequency spectrum.
Digital I/O
The NI 6013/6014 contains eight lines of digital I/O (DIO<0..7>) for
general-purpose use. You can individually software-configure each line for
either input or output. At system startup and reset, the DIO ports are all
high-impedance.
The hardware up/down control for general-purpose counters 0 and 1 are
connected onboard to DIO6 and DIO7, respectively. Thus, you can use
DIO6 and DIO7 to control the general-purpose counters. The up/down
NI 6013/6014 User Manual3-4ni.com
Page 25
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. These connections are designed to enable
the NI 6013/6014 to both control and 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 internally to the DAQ-STC, and these selections are fully
software configurable. Figure 3-2 shows an example of the signal routing
multiplexer controlling the CONVERT* signal.
Chapter 3Hardware Overview
CONVERT*
PFI<0..9>
Sample Interval Counter TC
GPCTR0_OUT
Figure 3-2. CONVERT* Signal Routing
Figure 3-2 shows that CONVERT* can be generated from a number
of sources, including the external signals PFI<0..9> and the internal signals
Sample Interval Counter TC and GPCTR0_OUT.
Many of these timing signals are also available on the PFI pins, as indicated
in Chapter 4, Connecting Signals.
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. This flexible routing scheme
reduces the need to change physical connections to the I/O connector for
different applications.
To use the PFI pins as outputs, you must use the Route Signal VI or the
Select Signal VI to individually enable each of the PFI pins to output a
specific internal timing signal. For example, if you need the UPDATE*
signal as an output on the I/O connector, software must turn on the output
driver for the PFI5/UPDATE* pin.
NI 6013/6014 User Manual3-6ni.com
Page 27
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. I/O Connector Details
4
Cable for
Connecting
Device with I/O
Connector
PCI-6013/601468N/ASH6868 Shielded
Caution
on the NI 6013/6014 can damage the device and the computer. NI is not liable for any
damage resulting from such signal connections. The Protection column of Table 4-3 shows
the maximum input ratings for each signal.
Number of
Pins
Connections that exceed any of the maximum ratings of input or output signals
Figure 4-1 shows the pin assignments for the 68-pin I/O connector.
Refer to Appendix B, Custom Cabling and Optional Connectors, for pin
assignments ofthe optional 50- and 68-pin connectors. A signal description
follows the figures.
Figure 4-1. I/O Connector Pin Assignment for the NI 6013/6014
NI 6013/6014 User Manual4-2ni.com
Page 29
Chapter 4Connecting Signals
Table 4-2.
Signal Descriptions for I/O Connector Pins
Signal NameReferenceDirectionDescription
AIGND——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, andDGND—areconnected
on the device.
ACH<0..15>AIGNDInputAnalog Input Channels 0 through 15—Each channel pair,
ACH<i, i+8> (i = 0..7), can be configured as either one
differential input or two single-ended inputs.
AISENSEAIGNDInputAnalog Input Sense—This pin serves as the reference node
for any of channels ACH<0..15> in NRSE configuration.
AISENSE must be connected to AIGND directly or to an
external ground reference for single-ended measurements.
Invalid random readings result if AISENSE is left
unconnected when using NRSE mode. Refer to Figure 4-3
for recommended connections.
DAC0OUT
1
AOGNDOutputAnalog Channel 0 Output—This pin supplies the voltage
output of AO channel 0.
DAC1OUT
1
AOGNDOutputAnalog Channel 1 Output—This pin supplies the voltage
output of AO channel 1.
AOGND——Analog OutputGround—The AO voltages are referenced to
this node. All three ground references—AIGND, AOGND,
and DGND—are connected on the device.
DGND——Digital Ground—This pin supplies the reference for the
digital signals at the I/O connector as well as the +5 VDC
supply. All three ground references—AIGND, AOGND,
and DGND—are connected together on the device.
DIO<0..7>DGNDInput
Output
Digital I/O Signals—DIO6 and 7 can control the up/down
signal of general-purpose counters 0 and 1, respectively.
Table 4-2. Signal Descriptions for I/O Connector Pins (Continued)
Signal NameReferenceDirectionDescription
PFI0/TRIG1DGNDInput
Output
PFI1/TRIG2DGNDInput
Output
PFI2/CONVERT*DGNDInput
Output
PFI3/GPCTR1_SOURCEDGNDInput
Output
PFI4/GPCTR1_GATEDGNDInput
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. In pretriggered applications,
a low-to-high transition indicates the initiation of
the pretrigger conversions.
PFI1/Trigger 2—As an input, this signal is a PFI. As an
output, this signal is the TRIG2 (AI Stop Trigger) signal.
In pretrigger applications, a low-to-high transition indicates
the initiation of the posttrigger conversions. TRIG2 is not
used in posttrigger applications.
PFI2/Convert—As an input, this signal is a PFI. As an
output, this signal is the CONVERT* (AI Convert) signal.
A high-to-low edge on CONVERT* indicates that an A/D
conversion is occurring.
PFI3/Counter 1 Source—As an input, this signal is a PFI.
As an output, this signal is the GPCTR1_SOURCE signal.
This signal reflects the actual source connected to the
general-purpose counter 1.
PFI4/Counter 1 Gate—As an input, this signal is a PFI.
As an output, this signal is the GPCTR1_GATE signal.
This signal reflects the actual gate signal connected to the
general-purpose counter 1.
GPCTR1_OUTDGNDOutputCounter 1 Output—This output is from the general-purpose
PFI5/UPDATE*DGNDInput
Output
PFI6/WFTRIGDGNDInput
Output
PFI7/STARTSCANDGNDInput
Output
NI 6013/6014 User Manual4-4ni.com
counter 1 output.
PFI5/Update—As an input, this signal is a PFI. As an
output, this signal is the UPDATE* (AO Update) signal.
A high-to-low edge on UPDATE* indicates that the AO
primary group is being updated for the NI 6014.
PFI6/Waveform Trigger—As an input, this signal is a PFI.
As an output, this signal is the WFTRIG (AO Start Trigger)
signal. In timed AO sequences, a low-to-high transition
indicates the initiation of the waveform generation.
PFI7/Start of Scan—As an input, this signal is a PFI. As an
output, this signal is the STARTSCAN (AI Scan Start)
signal. This pin pulses once at the start of each AI scan in
the interval scan. A low-to-high transition indicates the start
of the scan.
Page 31
Table 4-2. Signal Descriptions for I/O Connector Pins (Continued)
Signal NameReferenceDirectionDescription
PFI8/GPCTR0_SOURCEDGNDInput
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.
Chapter 4Connecting Signals
PFI9/GPCTR0_GATEDGNDInput
Output
PFI9/Counter 0 Gate—As an input, this signal is a PFI.
As an output, this signal is the GPCTR0_GATE signal.
This signal reflects the actual gate signal connected to the
general-purpose counter 0.
GPCTR0_OUTDGNDOutputCounter 0 Output—This output is from the general-purpose
counter 0 output.
FREQ_OUTDGNDOutputFrequency Output—This output is from the frequency
generator output.
*
Indicates that the signal is active low.
1
Not available on the NI 6013.
Table 4-3. I/O Signal Summary for the NI 6013/6014
Table 4-3. I/O Signal Summary for the NI 6013/6014 (Continued)
Signal
Signal Name
DIO<0..7>DIO—VCC+0.510 at (VCC–0.4)24 at
SCANCLKDO——3.5 at (VCC–0.4)5at0.41.550 kΩ pu
EXTSTROBE*DO——3.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI0/TRIG1DIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI1/TRIG2DIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI2/CONVERT*DIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI3/GPCTR1_SOURCEDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI4/GPCTR1_GATEDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
GPCTR1_OUTDO——3.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI5/UPDATE*DIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI6/WFTRIGDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI7/STARTSCANDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI8/GPCTR0_SOURCEDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
PFI9/GPCTR0_GATEDIO—VCC+0.53.5 at (VCC–0.4)5at0.41.550 kΩ pu
GPCTR0_OUTDO——3.5 at (VCC–0.4)5at0.41.550 kΩ pu
FREQ_OUTDO——3.5 at (VCC–0.4)5at0.41.550 kΩ pu
Typeand
Direction
Impedance
Input/
Output
Protection
(Volts)
On/Off
Source
(mA at V)
Sink
(mA
at V)
0.4
Rise
Time
(ns)
1.11.5 kΩ pd
Bias
pd = pull down
pu = pull up
DO = Digital Output
The tolerance on the 50 kΩ pull-up resistors is very large. Actual value may range between 17 and 100 kΩ.
Analog Input Signal Overview
The AI signals for the NI 6013/6014 are ACH<0..15>, AISENSE, and
AIGND. Connection of these AI signals to the device depends on the type
of input signal source and the configuration of the AI channels you are
using. This section provides an overview of the different types of signal
sources and AI configuration modes. More specific signal connection
informationisprovidedintheConnecting Analog Input Signals section.
NI 6013/6014 User Manual4-6ni.com
Page 33
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. Some examples
of floating signal sources are outputs of transformers, thermocouples,
battery-powered devices, optical isolator outputs, and isolation amplifiers.
An instrument or device that has an isolated output is a floating signal
source. You must tie the ground reference of a floating signal to the
NI 6013/6014 AIGND to establish a local or onboard reference for the
signal. Otherwise, the measured input signal varies as the source floats
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 a common
ground point with respect to the NI 6013/6014, assuming that the computer
is plugged into the same power system. Nonisolated outputs of instruments
and devices that plug into the building power system fall into this category.
Chapter 4Connecting Signals
The difference in ground potential between two instruments connected
to the same building power system is typically between 1 and 100 mV,
but it can be much higher if power distribution circuits are improperly
connected. If a grounded signal source is improperly measured, this
difference may appear as a measurement error. The connection instructions
for grounded signal sources are designed to eliminate this ground potential
difference from the measured signal.
Analog Input Modes
You can use the NI 6013/6014 PGIA in different ways, depending on
whether you configure the NI 6013/6014 for NRSE or DIFF mode.
Figure 4-2 shows a diagram of the device PGIA.
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..15> are routed to
the negative input of the PGIA, and AISENSE is not used.
Caution
Exceeding the differential and common-mode input ranges distorts the input
signals. Exceeding the maximum input voltage rating can damage the device and the
computer. NI is not liable for any damage resulting 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 devices. You can use this signal for a general analog ground
tie point to the device if necessary.
Note
AIGND is not connected to the negative input of the PGIA in single-ended mode
unless it is connected to AISENSE with an external wire.
The PGIA applies gain and common-mode voltage rejection and presents
high-input impedance to the AI signals connected to the device. Signals are
routed to the positive and negative inputs of the PGIA through input
multiplexers on the device. The PGIA converts two input signals to a signal
that is the difference between the two input signals multiplied by the gain
NI 6013/6014 User Manual4-8ni.com
Page 35
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.
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<i> as the signal input and ACH<i+8> as the
signal reference. For example, ACH0 is paired with ACH8, ACH1 is paired
with ACH9, and so on. The input signal is tied to the positive input of the
PGIA, and its reference signal, or return, is tied to the negative input 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 configuration for every channel, up to eight
AI channels are available.
You should use DIFF input connections for any channel that meets any of
the following conditions:
•The input signal is low level (less than 1 V).
•The leads connecting the signal to the device are greater than
3m(10ft).
•The input signal requires a separate ground-reference point or return
signal.
•The signal leads travel through noisy environments.
Differential signal connections reduce noise pick up and increase
common-mode noise rejection. Differential signal connections also allow
input signals to float within the common-mode limits of the PGIA.
NI 6013/6014 User Manual4-10ni.com
Page 37
Chapter 4Connecting 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+
Ground-
Referenced
Signal
Source
Common-
Mode
Noise and
Ground
Potential
+
V
s
–
+
V
cm
–
I/O Connector
Instrumentation
Amplifier
+
PGIA
ACH–
–
Input Multiplexers
AISENSE
AIGND
Selected Channel in DIFF Configuration
V
m
+
Measured
Voltage
–
Figure 4-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 signal
source and the device ground, shown as V
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+
Instrumentation
Amplifier
+
Bias
Current
Return
Paths
I/O Connector
PGIA
ACH–
–
Input Multiplexers
AISENSE
AIGND
Selected Channel in DIFF Configuration
V
m
+
Measured
Voltage
–
Figure 4-5. Differential Input Connections for Nonreferenced Signals
Figure 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 remain within the
common-mode signal range of the PGIA. The PGIA then saturates, causing
erroneous readings.
NI 6013/6014 User Manual4-12ni.com
Page 39
Chapter 4Connecting 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. Noise that couples
electrostatically onto the positive line does not couple onto the negative
line, because it is connected to ground. Hence, this noise appears as a
differential-mode signal instead of a common-mode signal, and the PGIA
does not reject it. In this case, instead of directly connecting the negative
line to AIGND, connect it to AIGND through a resistor that is about
100 times the equivalent source impedance. The resistor puts the signal
path nearly in balance, so that about the same amount of noise couples onto
both connections, yielding better rejection of electrostatically-coupled
noise. 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
same value between the positive input and AIGND, as shown in Figure 4-5.
This fully balanced configuration offers slightly better noise rejection
but has the disadvantage of loading the source down with the series
combination (sum) of the two resistors. If, for example, the source
impedance is 2 kΩ and each of the two resistors is 100 kΩ, the resistors
load down the source with 200 kΩ and produce a –1% gain error.
Both inputs of the PGIA require a DC path to ground in order for the PGIA
to work. If the source is AC coupled (capacitively coupled), the PGIA needs
a resistor between the positive input and AIGND. If the source has low
impedance, choose a resistor that is large enough not to significantly load
the source but small enough not to produce significant input offset voltage
as a result of input bias current (typically 100 kΩ to1MΩ). In this case,
you can tie the negative input directly to AIGND. If the source has high
output impedance, you should balance the signal path as previously
described using the same value resistor on both the positive and negative
inputs. You should be aware that there is some gain error from loading
down the source.
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.
You can use single-ended input connections for any input signal that meets
the following conditions:
•The input signal is high level (greater than 1 V).
•The leads connecting the signal to the device are less than 3 m (10 ft).
•The input signal can share a common reference point with other
signals.
DIFF input connections are recommended for greater signal integrity
for any input signal that does not meet the preceding conditions.
NRSE mode is the only single-ended configuration supported on the
NI 6013/6014. The AISENSE connection differs for floating and grounded
signal sources. For floating signal sources, AISENSE is connected directly
to AIGND, and the NI 6013/6014 provides the reference ground point for
the external signal. For grounded signal sources, AISENSE is connected
to the external signal reference ground, preventing current loops and
measurement errors.
In single-ended configurations, more electrostatic and magnetic noise
couples into the signal connections than in differential configurations.
The coupling is the result of differences in the signal path. Magnetic
coupling is proportional to the area between the two signal conductors.
Electrical coupling is a function of how much the electric field differs
between the two conductors.
NI 6013/6014 User Manual4-14ni.com
Page 41
Chapter 4Connecting 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
+
V
s
–
I/O Connector
Figure 4-6. Single-Ended Input Connections for Nonreferenced or Floating Signals
Single-Ended Connections for Grounded Signal
Sources
To measure a grounded signal source with a single-ended configuration,
you must configure the NI 6013/6014 in NRSE input mode. The signal
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 connected to the
AISENSE pin. 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 PGIA, and this difference is rejected by the
amplifier. If AISENSE is connected to AIGND in this situation, the
difference in ground potentials appears as an error in the measured voltage.
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>
Ground-
Referenced
Signal
Source
Common-
Mode
Noise
and Ground
Potential
+
V
s
–
+
V
cm
–
I/O Connector
+
Input Multiplexers
AIGND
AISENSE
Selected Channel in NRSE Configuration
–
Figure 4-7. Single-Ended Input Connections for Ground-Referenced Signals
Common-Mode Signal Rejection Considerations
Figures 4-4 and 4-7 show connections for signal sources that are
already referenced to some ground point with respect to the 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 can reject common-mode noise
pickup in the leads connecting the signal sources to the device. The PGIA
can reject common-mode signals as long as V
are both within ±11 V of AIGND.
Instrumentation
Amplifier
PGIA
+ and Vin– (input signals)
in
+
V
m
–
Measured
Voltage
NI 6013/6014 User Manual4-16ni.com
Page 43
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.
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.
Caution
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.
Figure 4-9 shows signal connections for three typical DIO applications.
+5 V
LED
DIO<4..7>
TTL Signal
+5 V
Switch
DIO<0..3>
DGND
I/O Connector
Figure 4-9. Digital I/O Connections
NI 6013/6014 User Manual4-18ni.com
Page 45
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.
Power Connections
Two pins on the I/O connector supply +5 V from the computer power
supply using a self-resetting fuse. The fuse resets automatically within
a few seconds after the overcurrent condition is removed. These pins are
referenced to DGND and can be used to power external digital circuitry.
The power rating is +4.65 to +5.25 VDC at 1 A.
Chapter 4Connecting Signals
Caution
any other voltage source on the NI 6013/6014 or any other device. Doing so can damage
the NI 6013/6014 and the computer. NI is not liable for damage resulting from such
a connection.
Do not connect these +5 V power pins directly to analog or digital ground or to
Connecting Timing Signals
Caution
damage the device and the computer. NI is not liable for any damage resulting from such
signal connections.
Exceeding the maximum input voltage ratings, which are listed in Table 4-3, can
All external control over the timing of the device is routed through the
10 PFIs labeled PFI<0..9>. These signals are explained in detail in the
Programmable Function Input Connections section. These PFIs are
bidirectional; as outputs they are not programmable and reflect the state
of many DAQ, waveform generation, and general-purpose timing signals.
There are five other dedicated outputs for the remainder of the timing
signals. As inputs, the PFI signals are programmable and can control
any DAQ, waveform generation, and general-purpose timing signals.
The DAQ signals are explained in the DAQ Timing Connections section.
The Waveform Generation Timing Connections section explains the
waveform generation signals, and the General-Purpose Timing Signal
Connections section explains the general-purpose timing signals.
All digital timing connections are referenced to DGND. This reference
is demonstrated in Figure 4-10, which shows how to connect an external
TRIG1sourceandanexternalCONVERT*sourcetotwoPFIpinsonthe
NI 6013/6014.
PFI0/TRIG1
PFI2/CONVERT*
TRIG1
Source
CONVERT*
Source
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. The 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 connector
for different applications requiring alternative wiring.
You can individually enable each PFI pin to output a specific internal
timing signal. For example, if you need the CONVERT* signal as an output
on the I/O connector, software can turn on the output driver for the
PFI2/CONVERT* pin.
DGND
Note
Be careful not to drive a PFI signal externally when it is configured as an output.
NI 6013/6014 User Manual4-20ni.com
Page 47
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. This
applies 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
requirements imposed by the PFIs themselves, but there may be limits
imposed by the particular timing signal being controlled. These
requirements are listed later in this chapter.
DAQ Timing Connections
The DAQ timing signals are TRIG1, TRIG2, STARTSCAN, CONVERT*,
AIGATE, SISOURCE, SCANCLK, and EXTSTROBE*.
Posttriggered data acquisition allows you to view only data that is acquired
after a trigger event is received. A typical posttriggered DAQ sequence is
showninFigure4-11.
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.
TRIG2
STARTSCAN
CONVERT*
Scan Counter
n/a
012310222
Figure 4-12. Typical Pretriggered Acquisition
TRIG1 Signal
Any PFI pin can externally input the TRIG1 signal, which is available as
an output on the 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 for TRIG1 and configure the polarity
selection for either rising or falling edge. The selected edge of TRIG1 starts
the DAQ sequence for both posttriggered and pretriggered acquisitions.
As an output, TRIG1 reflects the action that initiates a DAQ sequence, even
if the acquisition is being externally triggered by another PFI. The output is
an active high pulse with a pulse width of 50 to 100 ns. This output is set to
high-impedance at startup.
NI 6013/6014 User Manual4-22ni.com
Page 49
Chapter 4Connecting Signals
Figures 4-13 and 4-14 show the input and output timing requirements
for TRIG1.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw= 10 ns minimum
Figure 4-13.
Figure 4-14. TRIG1 Output Signal Timing
TRIG1 Input Signal Timing
t
w
tw=50to100ns
The device also uses TRIG1 to initiate pretriggered DAQ operations.
In most pretriggered applications, TRIG1 is generated by a software
trigger. Refer to the TRIG2 signal description for a complete description
of the use of TRIG1 and TRIG2 in a pretriggered DAQ operation.
TRIG2 Signal
Any PFI pin can externally input the TRIG2 signal, 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
select any PFI pin as the source for TRIG2 and configure the polarity
selection for either rising or falling edge. The selected edge of TRIG2
initiates the posttriggered phase of a pretriggered DAQ sequence. In
pretriggered mode, the TRIG1 signal initiates the data acquisition. The scan
counter (SC) indicates the minimum number of scans before TRIG2 can be
recognized. After the SC decrements to zero, it is loaded with the number
of posttrigger scans to acquire while the acquisition continues. The device
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. The output is an
active high pulse with a pulse width of 50 to 100 ns. This output is set to
high-impedance at startup.
Figures 4-15 and 4-16 show the input and output timing requirements
for TRIG2.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw= 10 ns minimum
Figure 4-15. TRIG2 Input Signal Timing
t
w
tw=50to100ns
Figure 4-16. TRIG2 Output Signal Timing
NI 6013/6014 User Manual4-24ni.com
Page 51
Chapter 4Connecting 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 toFigures 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. The sample interval counter starts if 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 output options. The first is an active high pulse with a pulse width
of 50 to 100 ns, which indicates the start of the scan. The second action is
an active high pulse that terminates at the start of the last conversion in the
scan, which indicates a scan in progress. STARTSCAN is deasserted t
after the last conversion in the scan is initiated. This output is set to
high-impedance at startup.
Figures 4-17 and 4-18 show the input and output timing requirements for
the STARTSCAN signal.
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. If you select an external CONVERT*, the first external
pulse after STARTSCAN generates a conversion. The STARTSCAN pulses
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 is stopped either by software or by the sample counter.
Scans generated by either an internal or external STARTSCAN signal are
inhibited unless they occur within a DAQ sequence. Scans occurring within
a DAQ sequence may be gated by either the hardware (AIGATE) signal or
software command register gate.
NI 6013/6014 User Manual4-26ni.com
Page 53
Chapter 4Connecting 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.
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* pulses should be separated by at
least 5 µs (200 kHz sample rate).
As an output, CONVERT* reflects the actual convert pulse that is
connected to the ADC, even if the conversions are being externally
generated by another PFI. The output is an active low pulse with a pulse
width of 50 to 150 ns. This output is set to high-impedance at startup.
Figures 4-19 and 4-20 show the input and output timing requirements for
CONVERT*.
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.
A/D conversions generated by either an internal or external CONVERT*
signal are inhibited unless they occur within a DAQ sequence. Scans
occurring within a DAQ sequence may be gated by either the hardware
(AIGATE) signal or software 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 can configure the PFI pin you select as the source
for AIGATE in level-detection mode. You can configure the polarity
selection for the PFI pin for either active high or active low. In
level-detection mode if AIGATE is active, the STARTSCAN signal is
masked off and no scans can occur.
AIGATE can neither stop a scan in progress nor continue a previously
gated-off scan; in other words, once a scan has started, AIGATE does not
gate off conversions until the beginning of the next scan and, conversely,
if conversions are being gated off, AIGATE does not gate them back on
until the beginning of the next scan.
NI 6013/6014 User Manual4-28ni.com
Page 55
Chapter 4Connecting 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.
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 generates SISOURCE
unless you select some external source. Figure 4-21 shows the timing
requirements for the SISOURCE signal.
t
p
t
Figure 4-21. SISOURCE Signal Timing
t
w
w
= 50 ns minimum
t
p
tw= 23 ns minimum
SCANCLK Signal
SCANCLK is an output-only signal that generates a pulse with the leading
edge occurring approximately 50 to 100 ns after an A/D conversion begins.
The polarity of this output is software-selectable but is typically configured
so that a low-to-high leading edge can clock external AI multiplexers
indicating when the input signal has been sampled and can be removed.
This signal has a 400 to 500 ns pulse width and is software enabled.
When using NI-DAQ, SCANCLK polarity is low-to-high and cannot be changed
programmatically.
Figure 4-22 shows the timing for SCANCLK.
CONVERT*
t
SCANCLK
d
t
=50to100ns
d
tw= 400 to 500 ns
t
w
Figure 4-22. SCANCLK Signal Timing
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. In the
single-pulse mode, software controls the level of EXTSTROBE*. A 10 µs
and a 1.2 µs clock are available for generating a sequence of eight pulses in
the hardware-strobe mode.
Figure 4-23 shows the timing for the hardware-strobe mode
EXTSTROBE* signal.
V
OH
V
OL
Note
EXTSTROBE* cannot be enabled through NI-DAQ.
NI 6013/6014 User Manual4-30ni.com
t
t
w
w
tw= 600 ns or 500 s
Figure 4-23. EXTSTROBE* Signal Timing
Page 57
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. The selected edge of WFTRIG
starts the waveform generation for the DACs. The update interval (UI)
counter is started if you select internally generated UPDATE*.
As an output, WFTRIG reflects the trigger that initiates waveform
generation, even if the waveform generation is being externally triggered
by another PFI. The output is an active high pulse with a pulse width of
50 to 100 ns. This output is set to high-impedance at startup.
Figures 4-24 and 4-25 show the input and output timing requirements for
WFTRIG.
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. 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 connected
to the DACs, even if the updates are being externally generated by another
PFI. The output is an active low pulse with a pulse width of 300 to 350 ns.
This output is set to high-impedance at startup.
Figures 4-26 and 4-27 show the input and output timing requirements for
UPDATE*.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw= 10 ns minimum
Figure 4-26. UPDATE* Input Signal Timing
NI 6013/6014 User Manual4-32ni.com
Page 59
Chapter 4Connecting Signals
t
w
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).
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 signal, which is not
available as an output on the I/O connector. The UI counter uses
UISOURCE as a clock to time the generation of the UPDATE* signal.
You must configure the PFI pin you select as the source for UISOURCE
in the level-detection mode. You can configure the polarity selection for
the PFI pin for either active high or active low. Figure 4-28 shows the
timing requirements for UISOURCE.
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.
GPCTR0_SOURCE Signal
Any PFI pin can externally input the GPCTR0_SOURCE signal, which is
available as 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 selection for either rising or falling edge.
As an output, GPCTR0_SOURCE reflects the actual clock connected to
general-purpose counter 0, even if another PFI externally inputs the source
clock. This output is set to high-impedance at startup.
Figure 4-29 shows the timing requirements for GPCTR0_SOURCE.
t
p
t
Figure 4-29. GPCTR0_SOURCE Signal Timing
t
w
w
t
= 50 ns minimum
p
tw= 23 ns minimum
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 GPCTR0_SOURCE
unless you select some external source.
NI 6013/6014 User Manual4-34ni.com
Page 61
Chapter 4Connecting 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. You can use the gate
signal in a variety of different applications to perform actions such as
starting and stopping the counter, generating interrupts, saving the counter
contents, and so on.
As an output, GPCTR0_GATE reflects the actual 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 requirements for GPCTR0_GATE.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw= 10 ns minimum
Figure 4-30.
GPCTR0_GATE Signal Timing in Edge-Detection Mode
GPCTR0_OUT Signal
This signal is available only as an output on the GPCTR0_OUT pin.
GPCTR0_OUT reflects the terminal count (TC) of general-purpose
counter 0. You have two software-selectable output options—pulse on TC
and toggle output polarity on TC. The output polarity is software-selectable
for both options. This output is set to high-impedance at startup.
Figure 4-31 shows the timing of GPCTR0_OUT.
Note
When using external clocking mode with correlated DIO, this pin is used as an input
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.
NI 6013/6014 User Manual4-36ni.com
Page 63
Chapter 4Connecting Signals
Figure 4-32 shows the timing requirements for GPCTR1_SOURCE.
t
p
t
Figure 4-32. GPCTR1_SOURCE Signal Timing
t
w
w
= 50 ns minimum
t
p
tw= 23 ns minimum
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.
GPCTR1_GATE Signal
Any PFI pin can externally input the GPCTR1_GATE 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
the polarity selection for either rising or falling edge. You can use the gate
signal in a variety of different applications to perform such actions as
starting and stopping the counter, generating interrupts, saving the counter
contents, and so on.
As an output, GPCTR1_GATE monitors the actual gate signal connected
to general-purpose counter 1, even if the gate is being externally generated
by another PFI. This output is set to high-impedance at startup.
Figure 4-33 shows the timing requirements for GPCTR1_GATE.
t
w
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. The output polarity is software selectable for both
options. This output is set to high-impedance at startup.
Figure 4-34 shows the timing requirements for GPCTR1_OUT.
t
w
Rising-Edge
Polarity
Falling-Edge
Polarity
tw= 10 ns minimum
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 output on the I/O connector. General-purpose counter 1 counts down
when this pin is at a logic low and counts up at a logic high. This input
can be disabled so that software can control the up-down functionality
and leave the DIO7 pin free for general use. Figure 4-35 shows the timing
requirements for the GATE and SOURCE input signals and the timing
specifications for the OUT output signals of the device.
NI 6013/6014 User Manual4-38ni.com
Page 65
Chapter 4Connecting Signals
SOURCE
GATE
OUT
t
sc
V
IH
V
IL
t
gsu
V
IH
V
IL
V
OH
V
OL
Source Clock Period
Source Pulse Width
Gate Setup Time
Gate Hold Time
Gate Pulse Width
Output Delay Time
The GATE and OUT signal transitions shown in Figure 4-35 are referenced
to the rising edge of the SOURCE signal. The assumption for this timing
diagram is that the counters are programmed to count rising edges. The
same timing diagram, but with the source signal inverted and referenced
to the falling edge of the source signal, would apply when the counter is
programmed to count falling edges.
The GATE input timing parameters are referenced to the signal at the
SOURCE input or to one of the internally generated signals on the
NI 6013/6014. Figure 4-35 shows the GATE signal referenced to the rising
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 by t
and tghin Figure 4-35.
gsu
The gate signal is not required to be held after the active edge of the source
signal.
If you use an internal timebase clock, the gate signal cannot be
synchronized with the clock. In this case, gates applied close to a source
edge take effect either on that source edge or on the next one. This
arrangement results in an uncertainty of one source clock period with
respect to unsynchronized gating sources.
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. The frequency
generator is a 4-bit counter that can divide its input clock by the numbers
1 through 16. The input clock of the frequency generator is
software-selectable from the internal 10 MHz and 100 kHz timebases.
The output polarity is software-selectable. This output is set to
high-impedance at startup.
Field Wiring Considerations
Environmental noise can seriously affect the accuracy of measurements
made with the 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 to the device, although
they also apply to signal routing in general.
Minimize noise pickup and maximize measurement accuracy by taking the
following precautions:
•Use differential AI connections to reject common-mode noise.
•Use individually shielded, twisted-pair wires to connect AI signals to
the device. With this type of wire, the signals attached to the CH+ and
CH– inputs are twisted together and then covered with a shield. You
then connect this shield only at one point to the signal source ground.
This kind of connection is required for signals traveling through areas
with large magnetic fields or high electromagnetic interference.
•Route signals to the device carefully. Keep cabling away from noise
sources. The most common noise source in a computer-based DAQ
system is the video monitor. Separate the monitor from the analog
signals as much as possible.
•Separate device signal lines from high-current or high-voltage lines.
These lines can induce currents in or voltages on the device signal lines
if they run in parallel paths at a close distance. 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.
NI 6013/6014 User Manual4-40ni.com
Page 67
Chapter 4Connecting 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 Wiringand Noise Consideration for Analog Signals,at
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. If you do
not calibrate the NI 6013/6014, the signals and measurements could have
very large offset, gain, and linearity errors.
Three levels of calibration are available to you and described in this chapter.
The first level is the fastest, easiest, and least accurate, whereas the last
level is the slowest, most difficult, and most accurate.
Loading Calibration Constants
5
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 that were written to the CalDACs to
achieve calibration in the factory—are stored in the onboard nonvolatile
memory (EEPROM). Because the CalDACs have no memory capability,
they do not retain calibration information when the device is unpowered.
Loading calibration constants refers to the process of loading the CalDACs
with the values stored in the EEPROM. NI-DAQ determines when loading
calibration constants is necessary and does it automatically. If you are not
using NI-DAQ, you must load these values yourself.
In the EEPROM, there is a user-modifiable calibration area in addition
to the permanent factory calibration area. The user-modifiable calibration
area allows you to load the CalDACs with values either from the original
factory calibration or from a calibration that you subsequently performed.
This method of calibration is not very accurate because it does not take into
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. This self-calibration process, which
generally takes less than two minutes, is the preferred method of assuring
accuracy in your application. Initiate self-calibration to minimize the
effects of any offset and gain drifts, particularly those due to warmup.
Immediately after self-calibration, the only significant residual calibration
error could be gain error due to time or temperature drift of the onboard
voltage reference. This error is addressed by external calibration, which is
discussed in the following section. If you are interested primarily 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 ensure the
accuracy of self-calibration. Its specifications are listed in Appendix A,
Specifications. The reference voltage is measured at the factory and stored
in the EEPROM for subsequent self-calibrations. This voltage is stable
enough for most applications, but if you are using the device at an extreme
temperature or if the onboard reference has not been measured for a year or
more, you may wish to externally calibrate the device.
An external calibration refers to calibrating the device with a known
external reference rather than relying on the onboard reference.
Redetermining the value of the onboard reference is part of this process and
the results can be saved in the EEPROM, so you should not have to perform
an external calibration very often. You can externally calibrate the device
by calling the NI-DAQ calibration function.
To externally calibrate the device, be sure to use a very accurate external
reference. The reference should be several times more accurate than the
device itself.
NI 6013/6014 User Manual5-2ni.com
Page 70
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
Type of ADC.......................................... Successive approximation
Resolution .............................................. 16 bits, 1 in 65,536
Note: Accuracies are valid for measurements after calibration. Averaged numbers assume dithering and averaging of 100 single-channel
readings. Measurement accuracies are listed for operational temperatures within ±1 °C of internal calibration temperature and ±10 °Cof
external or factory calibration temperature.
Electrical emissions................................ EN 55011 Class A at 10 m
FCC Part 15A above 1 GHz
Electrical immunity................................ Evaluated to EN 61326:1998,
Table 1
Note
For full EMC compliance, you must operate this device with shielded cabling.
In addition, all covers and filler panels must be installed. Refer to the DoC for this product
for any additional regulatory compliance information. To obtain the DoC for this product,
click Declaration of Conformity at
DoCs by product family. Select the appropriate product family, followed by the product,
and a link to the DoC appears in Adobe Acrobat format. Click the Acrobat icon to
download or read the DoC.
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. Tie the shield for each signal pair to the ground
reference at the source.
•Route the analog lines separately from the digital lines.
•When using a cable shield, use separate shields for the analog and
digital halves of the cable. Failure to do so results in noise coupling
into the analog signals from transient digital signals.
B
Mating connectors and a backshell kit for making custom 68-pin cables are
available from NI.
The parts in the following list are recommended for connectors that mate to
the I/O connector on the NI 6013/6014:
•Honda 68-position, solder cup, female connector
•Honda backshell
Optional Connectors
Figure B-1 shows the pin assignments for the 68-pin connector.
This connector is available when you use the SH6868 or R6868 cable
assemblies.
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. The counters are divided into the following three groups:
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 interconnectionscheme
is quite flexible and completely software configurable. New capabilities
such as buffered pulse generation, equivalent time sampling, and seamless
changing of the sampling rate are possible.
C
What does sampling rate mean to me?
Sampling rate is the fastest you can acquire data on the NI 6013/6014 and
still achieve accurate results. For example, these devices have a sampling
rate of 200 kS/s. This sampling rate is aggregate: one channel at 200 kS/s
or two channels at 100 kS/s per channel illustrates the relationship.
What type of 5 V protection does the NI 6013/6014 have?
The NI 6013/6014 has 5 V lines equipped with a self-resetting 1 A fuse.
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
Compatibles, and refer to
NI-DAQ that your application requires.
ni.com/manuals
for the NI-DAQ User Manual for PC
ni.com/downloads
Installing and Configuring the Device
How do I set the base address for the NI 6013/6014?
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
NI 6013/6014?
The NI 6013/6014 is jumperless and switchless.
Which NI document should I read first to get started using DAQ
software?
The DAQ Quick Start Guide and the NI-DAQ or ADE release notes
documentation are good places to start.
What version of NI-DAQ must I have to use the NI 6013/6014?
The NI 6013/6014 requires NI-DAQ version 6.9.3 or later.
to download the version of
What is the best way to test the NI 6013/6014 without programming
the device?
If you are using Windows, Measurement & Automation Explorer (MAX)
has a Test Panel option that is available by selecting Devices andInterfaces and then selecting the device. The Test Panels are excellent tools
for performing simple functional tests of the device, such as AI, DIO, and
counter/timer tests.
NI 6013/6014 User ManualC-2ni.com
Page 84
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. You can use
one of various methods to achieve ground reference while maintaining
a high common-mode rejection ratio (CMRR). Refer to Chapter 4,
Connecting Signals, for more information.
I am using the DACs to generate a waveform, but I discovered with a
digital oscilloscope that there are glitches on the output signal. Is this
normal?
When it switches from one voltage to another, any DAC produces glitches
due to released charges. The largest 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 output signal.
Appendix CCommon Questions
Can I programmatically enable channels on the NI 6013/6014 to
acquire in different modes? For example, can I configure ACH0 in
DIFF input mode and ACH1 in NRSE input mode?
Channels on the NI 6013/6014 can be enabled to acquire in different
modes, but different pairs of channels are used in different modes. In the
example configuration given above, ACH0 and ACH8 are configured in
DIFF mode and ACH1 and AISENSE are configured in NRSE mode.
In this configuration, ACH8 is not used in a single-ended configuration.
To enable multimode scanning in LabVIEW, use the coupling and input
configuration cluster input of the AI Config VI. This input has a one-to-one
correspondence with the channel array input of the AI Config VI. You must
list all channels either individually or in groups of channels with the same
input configuration. For example, if you want ACH0 to be differential, and
ACH1 and ACH2 to be NRSE, Figure C-1 demonstrates how to program
this configuration in LabVIEW.
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. Multiplexers contain switches, usually made of switched
capacitors. When a channel, for example ACH0, is selected in a
multiplexer, those capacitors accumulate charge. 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 resulting reading can somewhat
reflect the voltage trends in ACH0. To circumvent this problem, you must
use a voltage follower that has operational amplifiers (op-amps) with unity
gain for each high-impedance source before connecting to the DAQ device.
Otherwise, you must decrease the rate at which each channel is sampled.
Another common cause of channel crosstalk is due to sampling among
multiple channels at various gains. In this situation, the settling times may
increase. For more information on charge injection and sampling channels
at different gains, refer to the Multichannel Scanning Considerations
section of Chapter 3, Hardware Overview.
NI 6013/6014 User ManualC-4ni.com
Page 86
Appendix CCommon Questions
s
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=
can interval
Channel 0
Channel 1
Interchannel Delay
Scan Interval
Figure C-2. Scan Interval
CONVERT* controls the interchannel delay, which is determined by the
following equality:
This method allows multiple channels to be sampled relatively quickly in
relationship to the overall scan rate, providing a nearly simultaneous effect
with a fixed delay between channels.
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. Use
the
Select_Signal
By default, all timing I/O lines except EXTSTROBE* are tri-stated.
What are the PFIs and how do I configure these lines?
PFIs are Programmable Function Inputs. These lines serve as connections
to virtually all internal timing signals.
function in NI-DAQ to configure the output line.
If you are using NI-DAQ or Measurement Studio, use the
function to route internal signals to the I/O connector, route external signals
to internal timing sources, or tie internal timing signals together.
If you are using NI-DAQ with LabVIEW and you want to connect external
signal sources to the PFI lines, you can use the AI Clock Config, AI Trigger
Config, AO Clock Config, AO Trigger and Gate Config, and Counter Set
Attribute advanced-level VIs to indicate which function the connected
signal serves. Use the Route Signal VI to enable the PFI lines to output
internal signals.
Caution
it; if you do, you can damage the device, the computer, and the connected equipment.
If you enable a PFI line for output, do not connect any external signal sources to
Select_Signal
NI 6013/6014 User ManualC-6ni.com
Page 88
Appendix CCommon Questions
Table C-1 corresponds the hardware signal names to the software signal
names in LabVIEW and NI-DAQ.
Hardware
Signal Name
Table C-1.
LabVIEW
Route Signal
Signal Name Equivalencies
NI-DAQ Select_Signal
TRIG1AI Start TriggerND_IN_START_TRIGGER
TRIG2AI Stop TriggerND_IN_STOP_TRIGGER
STARTSCANAI Scan StartND_IN_SCAN_START
SISOURCE—ND_IN_SCAN_CLOCK_TIMEBASE
CONVERT*AI ConvertND_IN_CONVERT
AIGATE—ND_IN_EXTERNAL_GATE
WFTRIGAO Start TriggerND_OUT_START_TRIGGER
UPDATE*AO Upd ateND_OUT_UPDATE
UISOURCE—ND_OUT_UPDATE_CLOCK_TIMEBASE
AOG ATE—ND_OUT_EXTERNAL_GATE
What are the power-on states of the PFI and DIO lines on the I/O
connector?
At system power-on and reset, both the PFI and DIO lines are set to
high-impedance by the hardware. This setting means that the device
circuitry is not actively driving the output either high or low. However,
these lines may have pull-up or pull-down resistors connected to them as
showninTable4-3,I/O Signal Summary for the NI 6013/6014.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,showsthe1.5kΩ
pull-down resistor. This pull-down resistor sets the DIO<0> pin to a logic
low when the output is in a high-impedance state.
Visit the following sections of the NI Web site at
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
resources are available for most products at no cost to registered
users and include software driversand updates, a KnowledgeBase,
product manuals, step-by-step troubleshooting wizards, hardware
schematics and conformity documentation, example code,
tutorials and application notes, instrument drivers, discussion
forums, a measurement glossary, and so on.
–Assisted Support Options—Contact NI engineers and other
measurement and automation professionals by visiting
ni.com/ask
and connects you to the experts by phone, discussion forum,
or email.
•Training—Vis it
interactive CDs. You also can register for instructor-led, hands-on
courses at locations around the world.
•System Integration—If you have time constraints, limited in-house
technical resources, or other project challenges, NI Alliance Program
members can help. To learn more, call your local NI office or visit
ni.com/alliance
. Our online system helps you define your question
ni.com/custed
.
for self-paced tutorials, videos, and
ni.com
ni.com/support
for technical
.These
If you searched
your local office or NI corporate headquarters. Phone numbers for our
worldwide offices are listed at the front of this manual. You also can visit
the Worldwide Offices section of
office Web sites, which provide up-to-date contact information, support
phone numbers, email addresses, and current events.
ADCanalog-to-digital converter—an electronic device, often an integrated
circuit, that converts an analog voltage to a digital number
AIanalog input
AIGATEAI gate signal
AIGNDAI ground signal
AISENSEAI sense signal
ANSIAmerican National Standards Institute
AOanalog output
AOGNDAO ground signal
B
base addressa memory address that serves as the starting address for programmable
registers. All other addresses are located by adding to the base address.
bipolara signal range that includes both positive and negative values (for example,
–5to+5V)
BCbuffered counter
busthe group of conductors that interconnect individual circuitry in a computer.
Typically, a bus is the expansion vehicle to which I/O or other devices are
connected. Examples of PC buses are the ISA and PCI bus.
C
CCelsius
CalDACcalibration DAC
CHchannel—pin or wire lead to which you apply or from which you read the
analog or digital signal. Analog signals can be single-ended or differential.
For digital signals, you group channels to form ports. Ports usually consist
of either four or eight digital channels.
NI 6013/6014 User ManualG-2ni.com
Page 92
Glossary
CMRRcommon-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 signalany voltage present at the instrumentation amplifier inputs with respect to
amplifier ground
CONVERT*convert signal
counter/timera circuit that counts external pulses or clock pulses (timing)
D
D/Adigital-to-analog
DACdigital-to-analog converter—an electronic device, often an integrated
circuit, that converts a digital number into a corresponding analog voltage
or current
DAC0OUTanalog channel 0 output signal
DAC1OUTanalog channel 1 output signal
DAQdata acquisition—(1) collecting and measuring electrical signals from
sensors, transducers, and test probes or fixtures and inputting them to a
computer for processing; (2) collecting and measuring the same kinds of
electrical signals with A/D and/or DIO devices plugged into a computer,
and possibly generating control signals with D/A and/or DIO devices in the
same computer
dBdecibel—the unit for expressing a logarithmic measure of the ratio of
two signal levels: dB = 20log10 V1/V2, for signals in volts
DCdirect current
DGNDdigital ground signal
DIFFdifferential mode
differential inputan analog input consisting of two terminals, both of which are isolated from
ditheringthe addition of Gaussian noise to an AI signal
DMAdirect 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.
DNLdifferential nonlinearity—a measure in least significant bit of the
worst-case deviation of code widths from their ideal value of 1 LSB
DOdigital output
DoCDeclaration of Conformity
DOCDepartment of Communications
driversoftware that controls a specific hardware device such as a DAQ device or
a GPIB interface board
E
EEPROMelectrically erasable programmable read-only memory—ROM that can be
erased with an electrical signal and reprogrammed
EXTSTROBEexternal strobe signal
F
FCCFederal Communications Commission
FIFOfirst-in first-out memory buffer—the first data stored is the first data sent to
the acceptor. FIFOs are often used on DAQ devices to temporarily store
incoming or outgoing data until that data can be retrieved or output. For
example, an AI FIFO stores the results of A/D conversions until the data
can be retrieved into system memory, a process that requires the servicing
of interrupts and often the programming of the DMA controller. This
process can take several milliseconds in some cases. During this time, data
accumulates in the FIFO for future retrieval. With a larger FIFO, longer
latencies can be tolerated. In the case of analog output, a FIFO permits
faster update rates, because the waveform data can be stored on the FIFO
ahead of time. This again reduces the effect of latencies associated with
getting the data from system memory to the DAQ device.
NI 6013/6014 User ManualG-4ni.com
Page 94
Glossary
floating signal sourcessignal 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.
FREQ_OUTfrequency output signal
G
gainthe factor by which a signal is amplified, sometimes expressed in decibels
gain accuracya measure of deviation of the gain of an amplifier from the ideal gain
GATEgate signal
glitchan unwanted momentary deviation from a desired signal
GPCTRgeneral purpose counter
GPCTR0_GATEgeneral purpose counter 0 gate signal
GPCTR0_OUTgeneral purpose counter 0 output signal
GPCTR0_SOURCEgeneral purpose counter 0 clock source signal
GPCTR0_UP_DOWNgeneral purpose counter 0 up down
GPCTR1_GATEgeneral purpose counter 1 gate signal
GPCTR1_OUTgeneral purpose counter 1 output signal
GPCTR1_SOURCEgeneral purpose counter 1 clock source signal
GPCTR1_UP_DOWNgeneral purpose counter 1 up down
grounded measurement
system
See referenced single-ended configuration.
H
hhour
Hzhertz—the number of scans read or updates written per second
I/Oinput/output—the transfer of data to/from a computer system involving
communications channels, operator interface devices, and/or data
acquisition and control interfaces
in.inches
INLintegral nonlinearity—a measure in LSB of the worst-case deviation from
the ideal A/D or D/A transfer characteristic of the analog I/O circuitry
input bias currentthe current that flows into the inputs of a circuit
input impedancethe resistance and capacitance between the input terminals of a circuit
input offset currentthe difference in the input bias currents of the two inputs of an
instrumentation amplifier
instrumentation
amplifier
interrupta computer signal indicating that the CPU should suspend its current task
I
OH
I
OL
a circuit whose output voltage with respect to ground is proportional to the
difference between the voltages at its two high impedance inputs
to service a designated activity
current, output high
current, output low
K
kkilo—the standard metric prefix for 1,000, or 103, used with units of
measure such as volts, hertz, and meters
kS1,000 samples
L
LabVIEWLaboratory Virtual Instrument Engineering Workbench—a program
development application based on the programming language G and used
commonly for test and measurement purposes
LEDlight-emitting diode
NI 6013/6014 User ManualG-6ni.com
Page 96
Glossary
librarya 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.
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.
linearitythe adherence of device response to the equation R =KS,where
R = response, S = stimulus, and K = a constant
LSBleast significant bit
NIDAQMSC.LIB
is a library that contains NI-DAQ functions.
M
MITEMXI Interface to Everything—a custom ASIC designed by NI that
implements the PCI bus interface. The MITE supports bus mastering
for high-speed data transfers over the PCI bus.
MSBmostsignificantbit
muxmultiplexer—a switching device with multiple inputs that sequentially
connects each of its inputs to its output, typically at high speeds, in order
to measure several signals with a single AI channel
N
NINational Instruments
NI-DAQNational Instruments driver software for DAQ hardware
noisean undesirable electrical signal—noise comes from external sources such
as the AC power line, motors, generators, transformers, fluorescent lights,
soldering irons, CRT displays, computers, electrical storms, welders, radio
transmitters, and internal sources such as semiconductors, resistors, and
capacitors. Noise corrupts signals you are trying to send or receive.
NRSEnonreferenced single-ended mode—all measurements are made with
respect to a common (NRSE) measurement system reference, but the
voltage at this reference can vary with respect to the measurement system
ground.
OUToutput pin—a counter output pin where the counter can generate various
TTL pulse waveforms
P
PCIPeripheral 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.
port(1) a communications connection on a computer or a remote controller;
NI 6013/6014 User ManualG-8ni.com
PFI3/general purpose counter 1 source
PFI8/general purpose counter 0 source
(2) a digital port, consisting of four or eight lines of digital input and/or
output
Page 98
ppmparts per million
pupull up
Q
quantization errorthe inherent uncertainty in digitizing an analog value due to the finite
resolution of the conversion process
R
Glossary
referenced single-ended
configuration
relative accuracya measure in LSB of the accuracy of an ADC. It includes all non-linearity
resolutionthe smallest signal increment that can be detected by a measurement
ribbon cablea flat cable in which the wires are lined up, not bunched together
rmsroot mean square—the square root of the average value of the square of the
RSESee 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
and quantization errors. It does not include offset and gain errors of the
circuitry feeding the ADC.
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 resolution, and 0.0244% of full scale.
instantaneous signal amplitude; a measure of signal amplitude
S
sseconds
Ssamples
S/ssamples per second—used to express the rate at which a DAQ device
samples an analog signal
sample counterthe clock that counts the output of the channel clock, in other words, the
number of samples taken. On devices with simultaneous sampling, this
counter counts the output of the scan clock and hence the number of scans.
scanone 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.
scan clockthe clock controlling the time interval between scans
settling timethe amount of time required for a voltage to reach its final value within
specified limits
SIscan interval
SI2sample interval
signal conditioningthe manipulation of signals to prepare them for digitizing
SISOURCESI counter clock signal
software triggera programmed event that triggers an event such as data acquisition
SOURCEsource signal
STARTSCANstart scan signal
STCsystem timing controller
T
TCterminal count—the highest value of a counter
t
gh
t
gsu
t
gw
THDtotal harmonic distortion—the ratio of the total rms signal due to harmonic
t
off
t
out
NI 6013/6014 User ManualG-10ni.com
gate hold time
gate setup time
gate pulse width
distortion to the overall rms signal, in decibel or a percentage
pulse off
output delay time
Page 100
Glossary
t
p
pulse period
TRIGtrigger signal
triggerany event that causes or starts some form of data capture
t
sc
t
sp
source clock period
source pulse width
TTLtransistor-transistor logic—a digital circuit composed of bipolar transistors
wired in a certain manner
t
w
pulse width
two’s complementgiven a number x expressedinbase2withn digits to the left of the radix
point, the (base 2) number 2n – x
U
UIupdate interval
UISOURCEupdate interval counter clock signal
updatethe output equivalent of a scan. One or more analog or digital output
samples. Typically, the number of output samples in an update is equal to
the number of channels in the output group. For example, one pulse from
the update clock produces one update which sends one new sample to every
AO channel in the group.
update ratethe number of output updates per second