The PCI-6023E, PCI-6024E, and PCI-6025E boards are warranted ag ain st defects i n mate rials an d w orkma nshi p 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 work man ship, for a peri od of 90 d ays from da te o f sh ipm ent, as evi denced
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 noti ce of su ch defect s d uring th e warranty perio d.
National Instruments does not warrant that the op eration of t he soft ware shall b e uni nterrup ted or erro r free.
A Return Material Authorization (RMA) number must b e ob tain ed fro m th e facto ry an d clearl y mark ed on t he outsi de
of the package before any equipment wil l be accepted for warranty work. National Instruments will pay the shippi ng costs
of returning to the owner parts which are covered by warran ty.
National Instruments believes that the information in this manual is accurate. The document has been c arefully 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 th is do cume nt with ou t p rio r no ti ce to hold ers o f thi s ed itio n. The read er sh ou ld
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 docume nt o r th e in form ati on con tai ned in i t.
XCEPT AS SPECIFIED HEREIN
E
ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE
CUSTOMER
OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
National Instruments will apply regardless of the form of action, wh ether in con tract or tort , incl udin g n egli gen ce.
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, malfuncti ons, or s ervice failur es caused by own er’s fai lure to fol low
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.
ATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS
. N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS
, N
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED
. C
. This limitation of the liability of
,
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without
the prior written consent of National Instruments Corporation.
Product and company names listed are trademarks or trade names of their respective companies.
™
are trademarks of National Instruments Corpor ati on.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with com ponent s and tes ting inten ded to ensure a l evel of reliab ilit y
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products invol ving m edical
or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the
user or application designer. Any use or application of National Instruments products for or involving medical or clinical
treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards,
equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always
continue to be used when National Instruments products are being used . National Instrum ents product s are NOT intended
to be a substitute for any form of established process, procedure, or equipment used to monitor or safeguard human health
and safety in medical or clinical treatment.
Contents
About This Manual
Organization of This Manual.........................................................................................xi
Conventions Used in This Manual.................................................................................xii
National Instruments Documentation............................................................................xiii
Related Documentation........................................... .......................................................xiv
National Instruments CorporationixPCI-6023E/6024E/6025E User Manual
About This Manual
The PCI E Series boards are high-performance multifunction analog,
digital, and timing I/O boards for PCI bus computers. Supported functions
include analog input, analog output, digital I/O, and timing I/O.
This manual describes the electrical and mechanical aspects of the
PCI-6023E, PCI-6024E, and PCI-6025E boards from the PCI E Series
product line and contains information concerning their operation and
programming.
Organization of This Manual
The PCI-6023E/6024E/6025E User Manual is organized as follows:
•Chapter 1, Introduction, describes the boards, lists what you need to
get started, gives unpacking instructions, and describes the optional
software and equipment.
•Chapter 2, Installation and Configuration, explains how to install and
configure your board.
•Chapter 3, Hardware Overview, presents an overview of the hardw are
functions on your board.
•Chapter 4,
output signal connections to your board via the I/O connector.
•Chapter 5, Calibration, discusses the
board.
•Appendix A, Specifications, lists the specifications of the PCI-6023E,
PCI-6024E, and PCI-6025E boards.
•Appendix B, Custom Cabling and Optional Connectors, describes the
various cabling and connector options.
•Appendix C, Com mon Questions, contains a list of commonly asked
questions and their answers relating to usage and special features of
your board.
•Appendix D, Customer Communication, contains forms you can use to
request help from National Instruments or to comment on our products
and manuals.
•The Glossary contains an alphabetical list and description of terms
used in this manual, including abbreviations, acronyms, metric
prefixes, mnemonics, and symbols.
Signal Connections, describes how to make input and
National Instruments CorporationxiPCI-6023E/6024E/6025E User Manual
About This Manual
•The Index contains an alphabetical list of key terms and topics in this
manual, including the page where you can find each one.
Conventions Used in This Manual
The following conventions are used in this manual:
<>Angle brackets enclose the name of a key on the keyboard—for example,
<shift>. Angle brackets containing numbers separated by an ellipsis
represent a range of values associated with a bit or signal name—for
example, DBIO<3..0>.
♦The ♦ symbol indicates that the text following it applies only to a specific
product, a specific operating system, or a specific software version.
This icon to the left of bold italicized text denotes a note, which alerts you
to important information.
!
boldBold text denotes the names of menus, menu items, parameters, dialog
bold italicBold italic text denotes an activity objective, note, caution, or warning.
italicItalic text denotes variables, emphasis, a cross reference, or an introduction
monospaceText in this font denotes text or characters that you should literally enter
NI-DAQNI-DAQ refers to the NI-DAQ driver software for PC compatible
PCRefers to all PC AT series computers with PCI bus unless otherwise noted.
This icon to the left of bold italicized text denotes a caution, which advises
you of precautions to take to avoid injury, data loss, or a system crash.
boxes, dialog box buttons or options, icons, windows, Windows 95 tabs,
or LEDs.
to a key concept. This font also denotes text from which you supply the
appropriate word or value, as in Windows 3.x.
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 for statements and
comments taken from programs.
SCXISCXI stands for Signal Conditioning eXtensions for Instrumentation and is
a National Instruments product line designed to perform front-end signal
conditioning for National Instruments plug-in DAQ boards.
National Instruments Documentation
The PCI-6023E/6024E/6025E User Manual is one piece of the
documentation set for your DAQ system. You could have any of several
types of manuals depending on the hardware and software in your system.
Use the manuals you have as follows:
•Getting Started with SCXI—If you are using SCXI, this is the first
manual you should read. It gives an overview of the SCXI system and
contains the most commonly needed information for the modules,
chassis, and software.
•Your SCXI hardware user manuals—If you are using SCXI, read these
manuals next for detailed information about signal connections and
module configuration. They also explain in greater detail how the
module works and contain application hints.
•SCXI Chassis Manual—If you are using SCXI, read this manual for
maintenance information on the chassis and installation instructions.
•Your DAQ hardware documentation—This documentation has
detailed information about the DAQ hardware that plugs into or is
connected to your computer. Use this documentation for hardware
installation and configuration instructions, specification information
about your DAQ hardware, and application hints.
•Software documentation—You may have both application software
and NI-DAQ software documentation. National Instruments
application software includes ComponentWorks, LabVIEW,
LabWindows/CVI, Measure, and VirtualBench. After you set up your
hardware system, use either your application software documentation
or the NI-DAQ documentation to help you write your application. If
you have a large, complicated system, it is worthwhile to look through
the software documentation before you configure your hardware.
•Accessory installation guides or manuals—If you are using accessory
products, read the terminal block and cable assembly installation
guides. They explain how to ph ysically connect the relevant pieces of
the system. Consult these guides when you are making your
connections.
National Instruments CorporationxiiiPCI-6023E/6024E/6025E User Manual
About This Manual
Related Documentation
The following documents contain information you may find helpful:
•DAQ-STC Technical Reference Manual
•National Instruments Application Note 025, Field Wiring and Noise
Considerations for Analog Signals
•PCI Local Bus Specification Revision 2.1
The following National Instruments manual contains detailed information
for the register-level programmer:
•PCI E Series Register-Level Programmer Manual
This manual is available from National Instruments by request. You
should not need the register-level programmer manual if you are using
National Instruments driver or application software. Using NI-DAQ,
ComponentWorks, LabVIEW, LabWindows/CVI, Measure, or
VirtualBench software is easier than the low-level programming
described in the register-level programmer manual.
Customer Communication
National Instruments wants to receive your comments on our products
and manuals. We are interested in the applications you develop with our
products, and we want to help if you have problems with them. To make it
easy for you to contact us, this manual contains comment and configuration
forms for you to complete. These forms are in Appendix D, Customer
This chapter describes the PCI-6023E, PCI-6024E, and PCI-6025E boards,
lists what you need to get started, gives unpacking instructions, and
describes the optional software and equipment.
Features of the PCI-6023E, PCI-6024E, and PCI-6025E
Thank you for buying a National Instruments PCI-6023E, PCI-6024E, or
PCI-6025E board. The PCI-6025E features 16 channels (eight differential)
of analog input, two channels of analog output, a 100-pin connector, and
32 lines of digital I/O. The PCI-6024E features 16 channels of analog
input, two channels of analog output, a 68-pin connector and eight lines of
digital I/O. The PCI-6023E is identical to the PCI-6024E, except that it
does not have analog output channels.
These boards use the National Instruments DAQ-STC system timing
controller for time-related functions. The DAQ-STC consists of three
timing groups that control analog input, analog output, 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.
With other DAQ boards, you cannot easily synchronize several
measurement functions to a common trigger or timing event. These boards
have the Real-Time System Integration (RTSI) bus to solve this problem.
The RTSI bus consists of the National Instruments RTSI bus interface and
a ribbon cable to route timing and trigger signals between several functions
on as many as five DAQ boards in your comp uter.
These boards can interface to an SCXI system—the instrumentation front
end for plug-in DAQ boards—so that you can acquire analog signals from
thermocouples, RTDs, strain gauges, v oltage sources, and current sources.
You can also acquire or generate digital signals for communication and
control.
National Instruments Corporation1-1PCI-6023E/6024E/6025E User Manual
Chapter 1Introduction
What You Need to Get Started
To set up and use your board, you will need the following:
❑ One of the following boards:
PCI-6023E
PCI-6024E
PCI-6025E
❑ PCI-6023E/6024E/6025E User Manual
❑ One of the following software packages and documentation:
ComponentWorks
LabVIEW for Windows
LabWindows/CVI for Windows
Measure
NI-DAQ for PC Compatibles
VirtualBench
❑ Your computer
Note
Read Chapter 2, Installation and Configuration, before installing your board.
Always install your software before installing your board.
Unpacking
Your board is shipped in an antistatic package to prevent electrostatic
damage to the board. Electrostatic discharge can damage several
components on the board. To avoid such damage in handling the board,
take the following precautions:
•Ground yourself via a grounding strap or by holding a grounded object.
•Touch the antistatic package to a metal part of your computer chassis
before removing the board from the package.
•Remove the board from the package and inspect the board for
loose components or any other sign of damage.
•Notify National Instruments if the board appears damaged in any way.
Do not install a damaged board into your computer.
You have several options to choose from when programming your National
Instruments DAQ and SCXI hardware. You can use National Instruments
application software, NI-DAQ, or register-level programming.
National Instruments Application Software
ComponentWorks contains tools for data acquisition and instrument
control built on NI-DAQ driver software. ComponentWorks provides
a higher-level programming interface for building virtual instruments
through standard OLE controls and DLLs. With ComponentWorks, you
can use all of the configuration tools, resource management utilities, and
interactive control utilities included with NI-DAQ.
LabVIEW features interactive graphics, a state-of-the-art user interface,
and a powerful graphical programming language. The LabVIEW Data
Acquisition VI Library, a series of VIs for using LabVIEW with National
Instruments DAQ hardware, is included with LabVIEW. The LabVIEW
Data Acquisition VI Library is functionally equivalent to NI-DAQ
software.
Chapter 1Introduction
LabWindows/CVI features interactive graphics, state-of-the-art user
interface, and uses the ANSI standard C programming language. The
LabWindows/CVI Data Acquisition Library , a series of functions for using
LabWindows/CVI with National Instruments DAQ hardware, is included
with the NI-DAQ software kit. The LabWindows/CVI Data Acquisition
Library is functionally equivalent to the NI-DAQ software.
VirtualBench features virtual instruments that combine DAQ products,
software, and your computer to create a stand-alone instrument with the
added benefit of the processing, display, and storage capabilities of your
computer. VirtualBench instruments load and save waveform data to disk
in the same forms that can be used in popular spreadsheet programs and
word processors.
Using ComponentWorks, LabVIEW, LabWindows/CVI, or VirtualBench
software will greatly reduce the development time for your data acquisition
and control application.
NI-DAQ Driver Software
The NI-DAQ driver software is included at no charge with all National
Instruments DAQ hardware. NI-DAQ is not packaged with SCXI or
National Instruments Corporation1-3PCI-6023E/6024E/6025E User Manual
Chapter 1Introduction
accessory products, except for the SCXI-1200. NI-DAQ has an extensive
library of functions that you can call from your application programming
environment. These functions include routines for analog input (A/D
conversion), buffered data acquisition (high-speed A/D conversion),
analog output (D/A conversion), waveform generation (timed D/A
conversion), digital I/O, counter/timer operations, SCXI, RTSI,
self-calibration, messaging, and acquiring data to extended memory.
NI-DAQ has both high-level DAQ I/O functions for maximum ease of use
and low-level DAQ I/O functions for maximum flexibility and
performance. Examples of high-level functions are streaming data to disk
or acquiring a certain number of data points. An example of a low-level
function is writing directly to registers on the DAQ device. NI-DAQ does
not sacrifice the performance of National Instruments DAQ devices
because it lets multiple devices operate at their peak.
NI-DA Q also internally addresses man y of the comple x issues between the
computer and the DAQ hardware such as programming interrupts and
DMA controllers. NI-DAQ maintains a consistent software interface
among its different versions so that you can change platforms with minimal
modifications to your code. Whether you are using conventional
programming languages or National Instruments application software, your
application uses the NI-DAQ driver software, as illustrated in Figure 1-1.
Figure 1-1. The Relationship between the Programming Environment,
Register-Level Programming
The final option for programming any National Instruments DAQ
hardware is to write register-level software. Writing register-level
programming software can be very time-consuming and inefficient,
and is not recommended for most users.
Conventional
DAQ or
ComponentWorks,
LabVIEW,
LabWindows/CVI, or
VirtualBench
NI-DAQ
Driver Software
Personal
Computer or
Workstation
NI-DAQ, and Your Hardware
Even if you are an experienced register-level programmer, using NI-DAQ
or application software to program your National Instruments DAQ
hardware is easier than, and as flexible as, register-level programming,
and can save weeks of development time.
National Instruments Corporation1-5PCI-6023E/6024E/6025E User Manual
Chapter 1Introduction
Optional Equipment
National Instruments offers a variety of products to use with your board,
including cables, connector blocks, and other accessories, as follows:
•Cables and cable assemblies, shielded and ribbon
•Connector blocks, shielded and unshielded screw terminals
•Real Time System Integration bus cables
•SCXI modules and accessories for isolating, amplifying, exciting, and
multiplexing signals for relays and analog output. With SCXI you can
condition and acquire up to 3,072 channels.
•Low channel count signal conditioning modules, boards, and
accessories, including conditioning for strain gauges and RTDs,
simultaneous sample and hold, and relays
For more specific information about these products, refer to your National
Instruments catalogue or call the office nearest you.
This chapter explains how to install and configure your PCI-6023E,
PCI-6024E, or PCI-6025E board.
Software Installation
Install your software before you install your board. Refer to the appropriate
release notes indicated below for specific instructions on the software
installation sequence.
If you are using NI-DAQ, refer to your NI-DAQ release notes. Find
the installation section for your operating system and follow the
instructions given there.
If you are using LabVIEW, LabWindows/CVI, or other National
Instruments application software packages, refer to the appropriate release
notes. After you have installed your application software, refer to your
NI-DAQ release notes and follow the instructions given there for your
operating system and application software package.
2
If you are a register-level programmer, refer to the PCI E Series
Register-Level Programmer Manual and the DAQ-STC Technical
Reference Manual for software configuration information.
Hardware Configuration
Due to the National Instruments standard architecture for data acquisition
and the PCI bus specification, the PCI E Series boards are completely
software-configurable. You must perform two types of configuration on the
PCI E Series boards—bus-related and data acquisition-related
configuration.
These boards are fully compatible with the industry-standard PCI Local Bus Specification Revision 2.1. This specification lets the PCI system
automatically set the board base memory address and interrupt channel
with no user interaction.
National Instruments Corporation2-1PCI-6023E/6024E/6025E User Manual
Chapter 2Installation and Configuration
You can modify data acquisition-related configuration settings, such as
analog input range and mode, through application level software. Refer to
Chapter 3, Hardware Overview, for more information about the various
settings available for your board. These settings are changed and
configured through software after you install your board.
Hardware Installation
Note
Install your software before you install your board.
After installing your software, you are ready to install your hardware. Your
board will fit in any 5 V PCI expansion slot in your computer. However, to
achieve best noise performance, leave as much room as possible between
your board and other devices. The following are general installation
instructions. Consult your computer user manual or technical reference
manual for specific instructions and warnings.
1.Write down your board’s serial number in the
PCI-6023E/6024E/6025E Hardware and Software
Configuration Form in Appendix D, Customer Communication, of
this manual.
2.Turn off and unplug your computer.
3.Remove the top cover of your computer.
4.Remove the expansion slot cover on the back panel of the computer.
5.Insert the board into a 5 V PCI slot. Gently rock the board to ease it
into place. It may be a tight fit, but do not force the board into place.
6.Screw the mounting bracket of the board to the back panel rail of the
computer.
7.Replace the top cover of your computer.
8.Plug in and turn on your computer.
The board is installed. Y ou are no w ready to configure your software. Refer
to your software documentation for configuration instructions.
National Instruments Corporation3-1PCI-6023E/6024E/6025E User Manual
PCI-6023E, PCI-6024E, and PCI-6025E Block Diagram
Chapter 3Hardware Overview
Analog Input
Input Mode
The analog input section of each board is software configurable. The
following sections describe in detail each of the analog input settings.
The boards have three different input modes—nonreferenced single-ended
(NRSE) input, referenced single-ended (RSE) input, and differential
(DIFF) input. The single-ended input configurations provide up to
16 channels. The DIFF input configuration 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 three input configurations.
Input Range
Table 3-1.
ConfigurationDescription
DIFFA channel configured in DIFF mode uses two analog
input lines. One line connects to the positive input of
the board’s programmable gain instrumentation
amplifier (PGIA), and the other connects to the
negative input of the PGIA.
RSEA channel configured in RSE mode uses one analog
input line, which connects to the positive input of the
PGIA. The negative input of the PGIA is internally
tied to analog input ground (AIGND).
NRSEA channel configured in NRSE mode uses one
analog input line, which connects to the positive
input of the PGIA. The negative input of the PGIA
connects to analog input sense (AISENSE).
For diagrams showing the signal paths of the three configurations, refer to
the Analog Input Signal Overview section in Chapter 4, Signal
Connections.
The PCI-6023E, PCI-6024E, and PCI-6025E boards have 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
12-bit analog-to-digital 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.
Dither
Table 3-2.
GainInput RangePrecision
0.5
-10 to +10V
1.0
10.0
100.0
*The value of 1 LSB of the 12-bit ADC; that is, the voltage increment corresponding to a
change of one count in the ADC 12-bit count.
Note:
See Appendix A,
-500 to +500 mV
-50 to +50 mV
Specifications
Measurement Precision
-5 to +5V
, for absolute maximum ratings.
*
4.88 mV
2.44 mV
244.14 µV
24.41 µV
When you enable dither, you add approximately 0.5 LSBrms of white
Gaussian noise to the signal to be converted by the ADC. This addition is
useful for applications involving averaging to increase the resolution of
your board, as in calibration or spectral analysis. In such applications, noise
modulation is decreased and differential linearity is improved by the
addition of the dither. When taking DC measurements, such as when
checking the board calibration, you should enable dither and average about
1,000 points to take a single reading. This process removes the effects of
quantization and reduces measurement noise, resulting in improved
resolution. For high-speed applications not involving averaging or spectral
analysis, you may want to disable the dither to reduce noise. Your software
enables and disables the dither circuitry.
Figure 3-2 illustrates the effect of dither on signal acquisition. Figure 3-2a
shows a small (±4 LSB) sine wave acquired with dither off. The ADC
quantization is clearly visible. Figure 3-2b shows what happens when 50
such acquisitions are averaged together; quantization is still plainly visible.
In Figure 3-2c, the sine wave is acquired with dither on. There is a
considerable amount of visible noise, but averaging about 50 such
acquisitions, as shown in Figure 3-2d, eliminates both the added noise and
the effects of quantization. Dither has the effect of forcing quantization
noise to become a zero-mean random variable rather than a deterministic
function of the input signal.
National Instruments Corporation3-3PCI-6023E/6024E/6025E User Manual
Chapter 3Hardware Overview
LSBs
LSBs
6.0
6.0
4.0
4.0
2.0
2.0
0.0
0.0
-2.0
-2.0
-4.0
-4.0
-6.0
-6.0
1002003004000500
1002003004000500
a. Dither disabled; no averagingb. Dither disabled; average of 50 acquisitions
a. Dither disabled; no averagingb. Dither disabled; average of 50 acquisitions
LSBs
LSBs
6.0
6.0
4.0
4.0
2.0
2.0
0.0
0.0
-2.0
-2.0
-4.0
-4.0
-6.0
-6.0
1002003004000500
1002003004000500
c. Dither enabled; no averaging
c. Dither enabled; no averaging
LSBs
LSBs
6.0
6.0
4.0
4.0
2.0
2.0
0.0
0.0
-2.0
-2.0
-4.0
-4.0
-6.0
-6.0
LSBs
LSBs
6.0
6.0
4.0
4.0
2.0
2.0
0.0
0.0
-2.0
-2.0
-4.0
-4.0
-6.0
-6.0
d. Dither enabled; average of 50 acquisitions
d. Dither enabled; average of 50 acquisitions
1002003004000500
1002003004000500
1002003004000500
1002003004000500
Multichannel Scanning Considerations
The PCI-6023E, PCI-6024E, and PCI-6025E boards can scan multiple
channels at the same maximum rate as their single-channel rate; however,
pay careful attention to the settling times for each of the boards. 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 boards.
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. F or 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.
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
due to a phenomenon called charge injection, where the analog input
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—will not hav e decayed by the time
the ADC samples the signal. For this reason, keep source impedances under
1kΩ 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.)
Analog Output
♦(PCI-6025E and PCI-6024E Only)
These boards supply two channels of analog output voltage at the I/O
connector. The bipolar range is fixed at ±10 V. Data written to the
digital-to-analog converter (D A C) will be interpreted as two’ s complement
format.
Analog Output Glitch
In normal operation, a DAC output will glitch whenever it is updated with
a new value. The glitch energy differs from code to code and appears as
distortion in the frequency spectrum.
National Instruments Corporation3-5PCI-6023E/6024E/6025E User Manual
Chapter 3Hardware Overview
Digital I/O
♦PCI-6025E only:
The PCI-6023E, PCI-6024, and PCI-6025E boards contain 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 digital I/O 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
control signals are input only and do not affect the operation of the DIO
lines.
The PCI-6025E board uses an 82C55A Programmable Peripheral Interface
to provide an additional 24 lines of digital I/O that represent three 8-bit
ports: P A, PB, PC. Each port can be programmed as an input or output port.
The 82C55A has three modes of operation: simple I/O (mode 0), strobed
I/O (mode 1), and bidirectional I/O (mode 2). In modes 1 and 2, the three
ports are divided into two groups: group A and group B. Each group has
eight data bits, plus control and status bits from Port C (PC). Modes 1 and
2 use handshaking signals from the computer to synchronize data transfers.
Refer to Chapter 4, Signal Connections, for more detailed information.
Timing Signal Routing
The DAQ-STC chip provides a flexible interface for connecting timing
signals to other boards or external circuitry. Your board uses the RTSI bus
to interconnect timing signals between boards, and the Programmable
Function Input (PFI) pins on the I/O connector to connect the board to
external circuitry. These connections are designed to enable the board to
both control and be controlled by other boards and circuits.
There are a total of 13 timing signals internal to the DAQ-STC 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-3 shows an example of
the signal routing multiplexer controlling the CONVERT* signal.
This figure shows that CONVERT* can be generated from a number of
sources, including the external signals RTSI<0..6> and PFI<0..9> and the
internal signals Sample Interval Counter TC and GPCTR0_OUT.
Many of these timing signals are also available as outputs on the R TSI pins,
as indicated in the RTSI Triggers section in this chapter, and on the PFI
pins, as indicated in Chapter 4, Signal Connections.
Programmable Function Inputs
Ten PFI pins are available on the board connector as PFI<0..9> and are
connected to the board’s internal signal routing multiplexer for each timing
signal. Software can select any one of the PFI pins 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 use the same PFI simultaneously. This flexible routing scheme
reduces the need to change physical connections to the I/O connector for
different applications. You can also individually enable each of the PFI
pins to output a specific internal timing signal. For example, if you need the
National Instruments Corporation3-7PCI-6023E/6024E/6025E User Manual
Chapter 3Hardware Overview
UPDATE* signal as an output on the I/O connector, software can turn on
the output driver for the PFI5/UPDATE* pin.
Board and RTSI Clocks
Many board functions require a frequency timebase to generate the
necessary timing signals for controlling A/D conversions, DAC updates, or
general-purpose signals at the I/O connector.
These boards can use either its internal 20 MHz timebase or a timebase
received over the RTSI bus. In addition, if you configure the board to use
the internal timebase, you can also program the board to drive its internal
timebase over the R TSI bus to another board that is programmed to recei ve
this timebase signal. This clock source, whether local or from the RTSI b us,
is used directly by the board as the primary frequency source. The default
configuration at startup is to use the internal timebase without driving the
RTSI bus timebase signal. This timebase is software selectable.
RTSI Triggers
The seven RTSI trigger lines on the RTSI bus provide a very flexible
interconnection scheme for any PCI E Series board sharing the RTSI bus.
These bidirectional lines can drive any of eight timing signals onto the
RTSI bus and can receive any of these timing signals. This signal
connection scheme is shown in Figure 3-4.
National Instruments Corporation3-9PCI-6023E/6024E/6025E User Manual
Signal Connections
This chapter describes how to make input and output signal connections to
your board via the I/O connector.
The I/O connector for the PCI-6023 and PCI-6024E has 68 pins that you
can connect to 68-pin accessories with the SH6868 shielded cable or the
R6868 ribbon cable. You can connect your board to 50-pin signal
accessories with the SH6850 shielded cable or R6850 ribbon cable.
The I/O connector for the PCI-6025E has 100 pins that you can connect
to 100-pin accessories with the SH100100 shielded cable. Y ou can connect
your board to 68-pin accessories with the SH1006868 shielded cable, or to
50-pin accessories with the R1005050 ribbon cable.
I/O Connector
Figure 4-1 shows the pin assignments for the 68-pin I/O connector on the
PCI-6023 and PCI-6024E. Figure 4-2 shows the pin assignments for the
100-pin I/O connector on the PCI-6025E. Refer to Appendix B, Custom
Cabling and Optional Connectors, for pin assignments of the optional
50- and 68-pin connectors. A signal description follows the figures.
National Instruments Corporation4-1PCI-6023E/6024E/6025E User Manual
Connections that exceed any of the maximum ratings of input or output signals
on the boards can damage the board and the computer. Maximum input ratings
for each signal are giv e n in the Protection column of Table 4-2. National
NOT
Instruments is
liable for any damages resulting from such signal connections.
National Instruments Corporation4-3PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Table 4-1 shows the I/O connector signal descriptions for the PCI-6023E,
PCI-6024E, and PCI-6025E.
Table 4-1. I/O Connector Signal Descriptions
Signal NameReferenceDirectionDescription
AIGND——Analog Input Ground—These pins are the reference point
for single-ended measurements in RSE configuration and
the bias current return point for differential measurements.
All three ground references—AIGND, AOGND, and
DGND—are connected together on your board.
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.
AISENSEAIG NDInputAnalog Input Sense—This pin serves as the reference node
for any of channels ACH <0..15> in NRSE configuration.
DAC0OUT
1
AOGNDOutputAnalog Channel 0 Output—This pin supplies the voltage
output of analog output channel 0.
DAC1OUT
1
AOGNDOutputAnalog Channel 1 Output—This pin supplies the voltage
output of analog output channel 1.
AOGND——Analog Output Ground—The analog output voltages are
referenced to this node. All three ground
references—AIGND, AOGND, and DGND—are connected
together on your PCI E Series board.
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 your PCI E Series
board.
DIO<0..7>DGNDInput or
Output
2
PA<0..7>
DGNDInput or
Output
Digital I/O signals—DIO6 and 7 can control the up/down
signal of general-purpose counters 0 and 1, respectively.
Port A bidirectional digital data lines for the 82C55A
programmable peripheral interface on the PCI-6025E. PA7
is the MSB. P A0 is the LSB.
PB<0..7>
2
DGNDInput or
Output
Port B bidirectional digital data lines for the 82C55A
programmable peripheral interface on the PCI-6025E. PB7
is the MSB. PB0 is the LSB.
PC<0..7>
2
DGNDInput or
Output
Port C bidirectional digital data lines for the 82C55A
programmable peripheral interface on the PCI-6025E. PC7
is the MSB. PC0 is the LSB.
+5 VDGNDOutput+5 VDC Source—These pins are fused for up to 1 A of
Table 4-1. I/O Connector Signal Descriptions (Continued)
Signal NameReferenceDirectionDescription
SCANCLKDGNDOutputScan Clock—This pin pulses once for each A/D conversion
in scanning mode when enabled. The low-to-high edge
indicates when the input signal can be removed from the
input or switched to another signal.
EXTSTROBE*DGNDOutputExternal Strobe—This output can be toggled under software
PFI0/TRIG1DGNDInput
Output
PFI1/TRIG2DGNDInput
Output
PFI2/CONVERT*DGNDInput
Output
PFI3/GPCTR1_SOURCE DGNDInput
Output
control to latch signals or trigger events on external devices.
PFI0/Trigger 1—As an input, this is one of the
Programmable Function Inputs (PFIs). PFI signals are
explained in the Timing Connections section later in this
chapter.
As an output, this is the TRIG1 (AI Start Trigger) signal. In
posttrigger data acquisition sequences, a low-to-high
transition indicates the initiation of the acquisition
sequence. In pretrigger applications, a low-to-high
transition indicates the initiation of the pretrigger
conversions.
PFI1/Trigger 2—As an input, this is one of the PFIs.
As an output, this 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 is one of the PFIs.
As an output, this is the CONVERT* (AI Con vert) signal. A
high-to-low edge on CONVERT* indicates that an A/D
conversion is occurring.
PFI3/Counter 1 Source—As an input, this is one of the PFIs.
As an output, this is the GPCTR1_SOURCE signal. This
signal reflects the actual source connected to the
general-purpose counter 1.
PFI4/GPCTR1_GATEDGNDInput
Output
GPCTR1_OUTDGNDOutputCounter 1 Output—This output is from the general-purpose
National Instruments Corporation4-5PCI-6023E/6024E/6025E User Manual
PFI4/Counter 1 Gate—As an input, this is one of the PFIs.
As an output, this is the GPCTR1_GA TE signal. This signal
reflects the actual gate signal connected to the
general-purpose counter 1.
counter 1 output.
Chapter 4Signal Connections
Table 4-1. I/O Connector Signal Descriptions (Continued)
Signal NameReferenceDirectionDescription
PFI5/UPDATE*DGNDInput
PFI5/Update—As an input, this is one of the PFIs.
Output
As an output, this is the UPDATE* (AO Update) signal. A
high-to-low edge on UPDATE* indicates that the analog
output primary group is being updated for the PCI-6024 or
PCI-6025.
PFI6/WFTRIGDGNDInput
PFI6/Waveform Trigger—As an input, this is one of the
PFIs.
Output
As an output, this is the WFTRIG (AO Start Trigger) signal.
In timed analog output sequences, a low-to-high transition
indicates the initiation of the waveform generation.
PFI7/STARTSCANDGNDInput
Output
PFI7/Start of Scan—As an input, this is one of the PFIs.
As an output, this is the STARTSCAN (AI Scan Start)
signal. This pin pulses once at the start of each analog input
scan in the interval scan. A low-to-high transition indicates
the start of the scan.
PFI8/GPCTR0_SOURCEDGNDInput
PFI8/Counter 0 Source—As an input, this is one of the
PFIs.
Output
As an output, this is the GPCTR0_SOURCE signal. This
signal reflects the actual source connected to the
general-purpose counter 0.
PFI9/GPCTR0_GATEDGNDInput
Output
PFI9/Counter 0 Gate—As an input, this is one of the PFIs.
As an output, this is the GPCTR0_GA TE 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
Table 4-2 shows the I/O signal summary for the PCI-6023E, PCI-6024E,
and PCI-6025E.
Table 4-2. I/O Signal Summary
Signal
Signal Name
Type and
Direction
ACH<0..15>AI100 GΩ
Impedance
Input/
Output
Protection
(Volts)
On/Off
Source
(mA at V)
Sink
(mA
at V)
Rise
Time
(ns)
42/35———±200 pA
Bias
in
parallel
with
100 pF
AISENSEAI100 GΩ
40/25———±200 pA
in
parallel
with
100 pF
AIGNDAO——————
DAC0OUT
(6024E and 6025E only)
DA C1OUT
(6024E and 6025E only)
AO0.1
AO0.1
Ω
Ω
Short-circuit
to ground
Short-circuit
to ground
5 at 105 at -108
V/µs
5 at 105 at -108
V/µs
—
—
AOGNDAO——————
DGNDDO——————
VCCDO0.1
Ω
Short-circuit
1A fused———
to ground
DIO<0..7>DIO—Vcc +0.513 at (Vcc -0.4)24 at
1.150 kΩ pu
0.4
PA<0..7>
(6025E only)
PB<0..7>
(6025E only)
PC<0..7>
(6025E only)
DIO—Vcc +0.52.5 at 3.7min2.5 at
0.4
DIO—Vcc +0.52.5 at 3.7min2.5 at
0.4
DIO—Vcc +0.52.5 at 3.7min2.5 at
0.4
5100 kΩ
pu
5100 kΩ
pu
5100 kΩ
pu
SCANCLKDO——3.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
EXTSTROBE*DO——3.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI0/TRIG1DIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI1/TRIG2DIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI2/CONVERT*DIO—V
National Instruments Corporation4-7PCI-6023E/6024E/6025E User Manual
+0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
cc
Chapter 4Signal Connections
Table 4-2.
Signal
Signal Name
PFI3/GPCTR1_SOURCEDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI4/GPCTR1_GATEDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
GPCTR1_OUTDO——3.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI5/UPDATE*DIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI6/WFTRIGDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI7/STARTSCANDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI8/GPCTR0_SOURCEDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
PFI9/GPCTR0_GATEDIO—Vcc +0.53.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
GPCTR0_OUTDO——3.5 at (Vcc -0.4)5 at 0.41.550 kΩ pu
FREQ_OUTDO——3.5 at (Vcc-0.4)5 at 0.41.550 kΩ pu
AI = Analog InputDIO = Digital Input/Outputpu = pullup
AO = Analog OutputDO = Digital Output
Note:
The tolerance on the 50 kΩ pullup and pulldown resistors is very large. Actual value may range between 17 kΩ and
100 kΩ.
Type and
Direction
I/O Signal Summary (Continued)
Impedance
Input/
Output
Protection
(Volts)
On/Off
Source
(mA at V)
Sink
(mA
at V)
Rise
Time
(ns)
Bias
Analog Input Signal Overview
The analog input signals for these boards are ACH<0..15>, ASENSE, and
AIGND. Connection of these analog input signals to your board depends
on the type of input signal source and the configuration of the analog input
channels you are using. This section provides an overview of the different
types of signal sources and analog input configuration modes. More
specific signal connection information is provided in the section, Analog
Input Signal Connections.
Types of Signal Sources
When configuring the input channels and making signal connections,
you must first determine whether the signal sources are floating or
ground-referenced.
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 isolators, 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 your board’s
analog input ground to establish a local or onboard reference for the signal.
Otherwise, the measured input signal varies as the source floats out of 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 board, 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.
The difference in ground potential between two instruments connected to
the same building power system is typically between 1 and 100 mV but can
be much higher if power distribution circuits are not properly connected.
If a grounded signal source is improperly measured, this difference may
appear as an error in the measurement. The connection instructions for
grounded signal sources are designed to eliminate this ground potential
difference from the measured signal.
Analog Input Modes
You can configure your board for one of three input modes: nonreferenced
single ended (NRSE), referenced single ended (RSE), and differential
(DIFF). With the different configurations, you can use the PGIA in
different ways. Figure 4-3 shows a diagram of your board’s PGIA.
National Instruments Corporation4-9PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Programmable
Gain
V
in+
+
Instrumentation
Amplifier
V
m
+
Measured
Voltage
PGIA
V
in-
-
-
Vm = [V
Figure 4-3. Programmable Gain Instrumentation Amplifier (PGIA)
In single-ended mode (RSE and NRSE), signals connected to ACH<0..15>
are routed to the positive input of the PGIA. In differential mode, signals
connected to ACH<0..7> are routed to the positive input of the PGIA, and
signals connected to ACH<8..15> are routed to the negative input of the
PGIA.
CautionExceeding the differential and common-mode input ranges distorts your input
!
signals. Exceeding the maximum input voltage rating can damage the board and
the computer. National Instruments is
NOT
such signal connections. The maximum input voltage ratings are listed in the
Protection column of Table 4-2.
- V
]* Gain
in+
in-
liable for any damages resulting from
In NRSE mode, the AISENSE signal is connected internally to the negative
input of the PGIA when their corresponding channels are selected. In DIFF
and RSE modes, AISENSE is left unconnected.
AIGND is an analog input common signal that is routed directly to the
ground tie point on the boards. You can use this signal for a general analog
ground tie point to your board if necessary.
The PGIA applies gain and common-mode voltage rejection and presents
high input impedance to the analog input signals connected to your board.
Signals are routed to the positive and negative inputs of the PGIA through
input multiplexers on the board. The PGIA converts two input signals to a
signal that is the difference between the two input signals multiplied b y the
gain setting of the amplifier. The amplifier output voltage is referenced to
the ground for the board. Y our board’ s A/D con verter (ADC) measures this
output voltage when it performs A/D conversions.
You must reference all signals to ground either at the source device or at
the board. If you have a floating source, you should reference the signal
to ground by using the RSE input mode or the DIFF input configuration
with bias resistors (see the Differential Connections for Nonreferenced or
Floating Signal Sources section in this chapter). If you have a grounded
source, you should not reference the signal to AIGND. You can avoid this
reference by using DIFF or NRSE input configurations.
Analog Input Signal Connections
The following sections discuss the use of single-ended and differential
measurements and recommendations for measuring both floating and
ground-referenced signal sources.
Figure 4-4 summarizes the recommended input configuration for both
types of signal sources.
A differential connection is one in which the analog input signal has its own
reference signal or signal return path. These connections are available
when the selected channel is configured in DIFF input mode. 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 differential input, 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
analog input channels are available.
You should use differential 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 board are greater than
10 ft (3 m).
•The input signal requires a separate ground-reference point or return
signal.
•The signal leads travel through noisy environments.
Differential signal connections reduce picked up noise and increase
common-mode noise rejection. Differential signal connections also allow
input signals to float within the common-mode limits of the PGIA.
National Instruments Corporation4-13PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Ground-
Referenced
Signal
Source
+
V
s
-
Differential Connections for Ground-Referenced
Signal Sources
Figure 4-5 shows how to connect a ground-referenced signal source to a
channel on the board configured in DIFF input mode.
ACH+
Programmable Gain
Instrumentation
Amplifier
+
Common-
Mode
Noise and
Ground
Potential
I/O Connector
PGIA
ACH-
-
+
V
cm
-
Input Multiplexers
AISENSE
AIGND
Selected Channel in DIFF Configuration
Figure 4-5.
Differential Input Connections for Ground-Referenced Signals
+
m
Measured
Voltage
-
V
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 board ground, shown as V
Differential Connections for Nonreferenced or
Floating Signal Sources
Figure 4-6 shows how to connect a floating signal source to a channel
configured in DIFF input mode.
ACH+
Bias
resistors
(see text)
+
V
S
-
Programmable Gain
Instrumentation
Amplifier
+
Bias
Current
Return
Paths
I/O Connector
ACH-
Input Multiplexers
AISENSE
AIGND
Selected Channel in DIFF Configuration
Figure 4-6.
Differential Input Connections for Nonreferenced Signals
PGIA
-
+
m
Measured
Voltage
-
V
Figure 4-6 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 not likely to remain within the
common-mode signal range of the PGIA. The PGIA will then saturate,
causing erroneous readings. Y ou must reference the source to AIGND. The
easiest way is to connect the positive side of the signal to the positiv e input
National Instruments Corporation4-15PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
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 at all. 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 out of 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 sho wn in Figure 4-6.
This fully balanced configuration offers slightly better noise rejection but
has the disadvantage of loading the source down with the series
combination (sum) of the two resistors. If, for example, the source
impedance is 2 kΩ and each of the two resistors is 100 kΩ, the resistors
load down the source with 200 kΩ and produce a –1% gain error.
Both inputs of the PGIA require a DC path to ground in order for the PGIA
to work. If the source is AC coupled (capaciti vely 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 v oltage
as a result of input bias current (typically 100 kΩ to 1 MΩ). 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 board analog input signal is
referenced to a ground that can be shared with other input signals. The input
signal is tied to the positive input of the PGIA, and the ground is tied to the
negative input of the PGIA.
When every channel is configured for single-ended input, up to 16 analog
input 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 board are less than 10 ft (3 m).
•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.
Using your software, you can configure the channels for two different types
of single-ended connections—RSE configuration and NRSE configuration.
The RSE configuration is used for floating signal sources; in this case, the
board provides the reference ground point for the external signal. The
NRSE input configuration is used for ground-referenced signal sources; in
this case, the external signal supplies its own reference ground point and the
board should not supply one.
Chapter 4Signal Connections
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.
National Instruments Corporation4-17PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Single-Ended Connections for Floating Signal
Sources (RSE Configuration)
Figure 4-7 shows how to connect a floating signal source to a channel
configured for RSE mode.
ACH
Floating
Signal
Source
+
V
s
-
I/O Connector
Programmable Gain
Instrumentation Amplifier
+
AIGND
Figure 4-7.
Input Multiplexers
AISENSE
Selected Channel in RSE Configuration
Single-Ended Input Connections for Nonreferenced or Floating Signals
PGIA
-
+
Measured
V
m
Voltage
-
Single-Ended Connections for Grounded Signal
Sources (NRSE Configuration)
To measure a grounded signal source with a single-ended configuration,
you must configure your board in the NRSE input configuration. The signal
is then connected to the positive input of the PCI E Series 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 board 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 the input circuitry of a board were referenced to ground, in this situation
as in the RSE input configuration, this difference in ground potentials
would appear as an error in the measured voltage.
Figure 4-8 shows how to connect a grounded signal source to a channel
configured for NRSE mode.
ACH+
+
V
s
-
Programmable Gain
Instrumentation
Amplifier
+
ACH-
Common-
Mode
Noise and
Ground
Potential
I/O Connector
+
V
cm
-
Input Multiplexers
AISENSE
AIGND
Selected Channel in DIFF Configuration
Figure 4-8. Single-Ended Input Connections for Ground-Referenced Signals
Common-Mode Signal Rejection Considerations
Figures 4-5 and 4-8 show connections for signal sources that are already
referenced to some ground point with respect to the board. In these cases,
the PGIA can reject any voltage caused by ground potential differences
between the signal source and the board. In addition, with differential input
connections, the PGIA can reject common-mode noise pickup in the leads
connecting the signal sources to the board. The PGIA can reject
common-mode signals as long as V+
within ±11 V of AIGND.
All boards have digital I/O signals 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.
Figure 4-10 shows signal connections for three typical digital I/O
applications.
+5 V
LED
Chapter 4Signal Connections
+5 V
DIO<4..7>
Switch
I/O Connector
TTL Signal
Figure 4-10.
DGND
Digital I/O Connections
DIO<0..3>
Figure 4-10 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 state of the
National Instruments Corporation4-21PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
PCI-6025E Only
+5 V
LED
switch shown in the figure. Digital output applications include sending
TTL signals and driving external devices such as the LED shown in the
figure.
The PCI-6025E board uses an 82C55A PPI to provide an additional 24
lines of digital I/O that represent three 8-bit ports: PA, PB, and PC. Each
port can be programmed as an input or output port.
Figure 4-11 depicts signal connections for three typical digital I/O
applications.
In Figure 4-11, port A of one PPI is configured for digital output, and
port B is configured for digital input. Digital input applications include
receiving TTL signals and sensing external device states such as the state
of the switch in Figure 4-11. Digital output applications include sending
TTL signals and driving external devices such as the LED shown in
Figure 4-11.
Port C Pin Assignments
♦PCI-6025 Only
The signals assigned to port C depend on how the 82C55A is configured.
In mode 0, or no handshaking configuration, port C is configured as two
4-bit I/O ports. In modes 1 and 2, or handshaking configuration, port C
is used for status and handshaking signals with any leftover lines av ailable
for general-purpose I/O. Table 4-3 summarizes the port C signal
assignments for each configuration. You can also use ports A and B in
different modes; the table does not show every possible combination.
Chapter 4Signal Connections
Note
Table 4-3 shows both the port C signal assignments and the terminology
correlation between different documentation sources. The 82C55A terminology
refers to the different 82C55A configurations as modes, whereas NI-DAQ,
ComponentWorks, LabWindows/CVI, and LabVIEW documentation refers to
them as handshaking and no handshaking.
Table 4-3.
Configuration TerminologySignal Assignments
PCI-6023E/
6024E/6025E
User Manual
Mode 0
(Basic I/O)
Mode 1
(Strobed Input)
Mode 1
(Strobed Output)
Mode 2
(Bidirectional
Bus)
*Indicates that the signal is active low.
Subscripts A and B denote port A or port B handshaking signals.
National Instruments Corporation4-23PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Digital I/O Power-up State
♦(PCI-6025E Only)
The PCI-6025E contains bias resistors that control the state of the digital
I/O lines PA<0..7>,PB<0..7>,PC<0..7> at power up. Each digital I/O line
is configured as an input, pulled high by a 100 kΩ bias resistor .
You can change individual lines from pulled up to pulled down by adding
your own external resistors. This section describes the procedure.
Changing DIO Power-up State to Pulled Low
Each DIO line is pulled to Vcc (approximately +5 VDC) with a 100 kΩ
resistor. To pull a specific line low, connect between that line and ground
a pull-down resistor (R
VDC. The DIO lines provide a maximum of 2.5 mA at 3.7 V in the high
state. Using the largest possible resistor ensures that you do not use more
current than necessary to perform the pull-down task.
Howev er , make sure the resistor’s value is not so large that leakage current
from the DIO line along with the current from the 100 kΩ pull-up resistor
drives the v oltage at the resistor above a TTL-low le vel of 0.4 VDC. Figure
4-12 shows the DIO configuration for high DIO power-up state.
) whose value will give you a maximum of 0.4
L
Board
82C55
Figure 4-12.
DIO Channel Configured for High DIO Power-up State with External Load
Example:
A given DIO line is pulled high at power up. T o pull it low on power up with
an external resistor, follow these steps:
1.Install a load (R
). Remember that the smaller the resistance, the
L
greater the current consumption and the lower the voltage.
2.Using the following formula, calculate the largest possible load to
maintain a logic low level of 0.4 V and supply the maximum driving
current:
V = I * R
V = 0.4 V; Voltage across R
I = 46 µA + 10 µA; 4.6 V across the 100 kΩ pull-up resistor
Therefore:
R
L
This resistor value, 7.1 kΩ, provides a maximum of 0.4 V on the DIO line
at power up. You can substitute smaller resistor values to lower the voltage
or to provide a margin for V
smaller values will draw more current, leaving less drive current for other
circuitry connected to this line. The 7.1 kΩ resistor reduces the amount of
logic high source current by 0.4 mA with a 2.8 V output.
Timing Specifications
⇒ RL = V/I, where:
L
and 10 µA maximum leakage current
= 7.1 kΩ; 0.4 V/56 µA
variations and other factors. However,
cc
Chapter 4Signal Connections
L
♦(PCI-6025E Only)
This section lists the timing specifications for handshaking with your
PCI-6025E PC<0..7> lines. The handshaking lines STB* and IBF
synchronize input transfers. The handshaking lines OBF* and ACK*
synchronize output transfers. Table 4-4 describes signals appearing in the
handshaking diagrams.
Table 4-4.
Signal Names Used in Timing Diagrams
NameTypeDescription
STB*InputStrobe Input—A low signal on this handshaking line loads data into
the input latch.
IBFOutputInput Buffer Full—A high signal on this handshaking line indicates
that data has been loaded into the input latch. A low signal indicates
the board is ready for more data. This is an input acknowledge
signal.
National Instruments Corporation4-25PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Table 4-4. Signal Names Used in Timing Diagrams (Continued)
NameTypeDescription
ACK*InputAcknowledge Input—A low signal on this handshaking line
indicates that the data written to the port has been accepted. This
signal is a response from the external device indicating that it has
received the data from your DIO board.
OBF*OutputOutput Buffer Full—A low signal on this handshaking line
indicates that data has been written to the port.
INTROutputInterrupt Request—This signal becomes high when the 82C55A
requests service during a data transfer. The appropriate interrupt
enable bits must be set to generate this signal.
RD*InternalRead—This signal is the read signal generated from the control
lines of the computer I/O expansion bus.
WR*InternalWrite—This signal is the write signal generated from the control
lines of the computer I/O expansion bus.
DA T ABidirectionalData Lines at the Specified Port—For output mode, this signal
indicates the availability of data on the data line. For input mode,
this signal indicates when the data on the data lines should be valid.
National Instruments Corporation4-29PCI-6023E/6024E/6025E User Manual
Timing Specifications for Mode 2 Bidirectional Transfer
Chapter 4Signal Connections
Power Connections
Two pins on the I/0 connector supply +5 V from the computer power
supply via a self-resetting fuse. The fuse will reset 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.
•Power rating+4.65 to +5.25 VDC at 1 A
Caution
!
Under no circumstances should you connect these +5 V power pins directly to
analog or digital ground or to any other voltage source on the board or any other
device. Doing so can damage the board and the computer. National Instruments
NOT
liable for damages resulting from such a connection.
is
Timing Connections
Caution
!
Exceeding the maximum input voltage ratings, which are listed in Table 4-2, can
damage the board and the computer. National Instruments is
damages resulting from such signal connections.
All external control over the timing of your board is routed through the 10
programmable function inputs labeled PFI<0..9>. These signals are
explained in detail in the section, Programmable Function Input
Connections. 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
later in this chapter. The waveform generation signals are explained in the
Waveform Generation Timing Connections section later in this chapter.
The general-purpose timing signals are explained in the General-Purpose
Timing Signal Connections section in this chapter.
NOT
liable for any
All digital timing connections are referenced to DGND. This reference
is demonstrated in Figure 4-16, which shows how to connect an external
TRIG1 source and an external CONVERT* source to two PCI E Series
board PFI pins.
There are a total of 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 of the PFIs when you want external control.
This flexible routing scheme reduces the need to change the physical
wiring to the board I/O connector for different applications requiring
alternative wiring.
You can individually enable each of the PFI pins 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. Be careful not to drive a PFI signal externally
when it is configured as an output.
DGND
As an input, you can individually configure each PFI pin for edge or level
detection and for polarity selection, as well. You can use the polarity
selection for any of the 13 timing signals, but the edge or level detection
National Instruments Corporation4-31PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
will depend 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 SCANCLK, EXTSTROBE*, TRIG1, TRIG2,
STARTSCAN, CONVERT*, AIGATE, and SISOURCE.
Posttriggered data acquisition allows you to view only data that is acquired
after a trigger event is received. A typical posttriggered DAQ sequence is
shown in Figure 4-17. 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-18 shows a typical pretriggered DAQ sequence.
The description for each signal shown in these figures is included later in
this chapter.
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 analog input
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. Figure 4-19
CONVERT*
SCANCLK
shows the timing for the SCANCLK signal.
t
d
t
w
t
= 50 to 100 ns
d
t
= 400 to 500 ns
w
Figure 4-19. 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 the EXTSTROBE*
signal. 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-20 shows the timing
for the hardware-strobe mode EXTSTROBE* signal.
National Instruments Corporation4-33PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
V
OH
V
OL
t
t
w
w
t
= 600 ns or 5 µs
w
Figure 4-20. EXTSTROBE* Signal Timing
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-17 and 4-18 for the relationship of TRIG1 to the DAQ
sequence.
As an input, the TRIG1 signal 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 the
TRIG1 signal starts the data acquisition sequence for both posttriggered
and pretriggered acquisitions.
As an output, the TRIG1 signal reflects the action that initiates a DAQ
sequence. This is true 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 tri-state at startup.
The board also uses the TRIG1 signal to initiate pretriggered DAQ
operations. In most pretriggered applications, the TRIG1 signal 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-18 for the relationship
of TRIG2 to the DAQ sequence.
As an input, the TRIG2 signal 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 the
TRIG2 signal initiates the posttriggered phase of a pretriggered acquisition
sequence. In pretriggered mode, the TRIG1 signal initiates the data
acquisition. The scan counter indicates the minimum number of scans
before TRIG2 can be recognized. After the scan counter decrements to
zero, it is loaded with the number of posttrigger scans to acquire while the
acquisition continues. The board ignores the TRIG2 signal if it is asserted
prior to the scan counter decrementing to zero. After the selected edge of
TRIG2 is received, the board will acquire a fixed number of scans and the
acquisition will stop. This mode acquires data both before and after
receiving TRIG2.
As an output, the TRIG2 signal reflects the posttrigger in a pretriggered
acquisition sequence. This is true even if the acquisition is being externally
triggered by another PFI. The TRIG2 signal 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 tri-state at startup.
National Instruments Corporation4-35PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Rising-edge
polarity
Falling-edge
polarity
Figures 4-23 and 4-24 show the input and output timing requirements for
the TRIG2 signal.
t
w
t
= 10 ns minimum
w
Figure 4-23. TRIG2 Input Signal Timing
t
w
t
= 50-100 ns
w
Figure 4-24. TRIG2 Output Signal Timing
STARTSCAN Signal
Any PFI pin can externally input the STARTSCAN signal, which is
available as an output on the PFI7/STARTSCAN pin. Refer to Figures 4-17
and 4-18 for the relationship of STARTSCAN to the DAQ sequence.
As an input, the STARTSCAN signal 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 the STARTSCAN signal initiates a scan. The sample
interval counter starts if you select internally triggered CONVERT*.
As an output, the STARTSCAN signal reflects the actual start pulse that
initiates a scan. This is true 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.
initiated. This output is set to tri-state at startup.
Figures 4-25 and 4-26 show the input and output timing requirements for
the STARTSCAN signal.
t
w
t
= 10 ns minimum
w
Figure 4-25. STARTSCAN Input Signal Timing
t
w
tw = 50-100 ns
a. Start of Scan
Start Pulse
CONVERT*
STARTSCAN
t
= 10 ns minimum
off
t
off
b. Scan in Progress, Two Conversions per Scan
Figure 4-26. STARTSCAN Output Signal Timing
The CONVERT* pulses are masked off until the board generates the
ST AR TSCAN signal. If you are using internally generated con versions, the
first CONVERT* appears when the onboard sample interval counter
reaches zero. If you select an external CONVER T*, the first e xternal pulse
after STARTSCAN generates a conversion. The STARTSCAN pulses
should be separated by at least one scan period.
National Instruments Corporation4-37PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
A counter on your board internally generates the STAR TSCAN signal
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 DA Q sequence. Scans occurring within
a DAQ sequence may be gated by either the hardware (AIGATE) signal or
software command register gate.
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-17 and 4-18 for the relationship of CONVERT* to the
DAQ sequence.
As an input, the CONVERT* signal 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 the CONVERT* signal 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, the CONVERT* signal reflects the actual convert pulse that
is connected to the ADC. This is true even if the conversions are being
externally generated by another PFI. The output is an activ e lo w pulse with
a pulse width of 50 to 150 ns. This output is set to tri-state at startup.
Figures 4-27 and 4-28 show the input and output timing requirements for
the CONVERT* signal.
The sample interval counter on the board normally generates the
CONVERT* signal unless you select some e xternal source. The counter is
started by the ST AR TSCAN signal and continues to count do wn 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. The AIGATE signal can
mask off scans in a DAQ sequence. You can configure the PFI pin you
select as the source for the AIGATE signal in either the level-detection or
edge-detection mode. You can configure the polarity selection for the
PFI pin for either active high or active low.
In the level-detection mode if AIGATE is active, the STARTSCAN signal
is masked off and no scans can occur. In the edge-detection mode, the first
active edge disables the STARTSCAN signal, and the second active edge
enables STARTSCAN.
The AIGATE signal 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.
National Instruments Corporation4-39PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
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
counter uses the SISOURCE signal as a clock to time the generation of the
STARTSCAN signal. You must configure the PFI pin you select as the
source for the SISOURCE signal 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 the SISOURCE
signal unless you select some external source. Figure 4-29 shows the
timing requirements for the SISOURCE signal.
t
p
t
t
w
w
t
= 50 ns minimum
p
t
= 23 ns minimum
w
Figure 4-29.
Waveform Generation Timing Connections
The analog group defined for your board 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, the WFTRIG signal 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 the
WFTRIG signal starts the waveform generation for the DACs. The update
interval (UI) counter is started if you select internally generated UPDATE*.
As an output, the WFTRIG signal reflects the trigger that initiates
waveform generation. This is true ev en 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 tri-state at startup.
Figures 4-30 and 4-31 show the input and output timing requirements for
the WFTRIG signal.
t
w
t
= 10 ns minimum
w
Figure 4-30. WFTRIG Input Signal Timing
t
w
t
= 50-100 ns
w
Figure 4-31. WFTRIG Output Signal Timing
UPDATE* Signal
Any PFI pin can externally input the UPDATE* signal, which is available
as an output on the PFI5/UPDATE* pin.
As an input, the UPDA TE* signal is conf igured 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 the
UPDATE* signal updates the outputs of the DACs. In order to use
UPDATE*, you must set the DACs to posted-update mode.
As an output, the UPDATE* signal reflects the actual update pulse that is
connected to the DACs. This is true 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 tri-state at startup.
National Instruments Corporation4-41PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
Rising-edge
polarity
Falling-edge
polarity
Figures 4-32 and 4-33 show the input and output timing requirements for
the UPDATE* signal.
t
w
t
= 10 ns minimum
w
Figure 4-32. UPDATE* Input Signal Timing
t
w
t
= 300-350 ns
w
Figure 4-33. 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 board 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.
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 the
UISOURCE signal as a clock to time the generation of the UPDATE*
signal. You must configure the PFI pin you select as the source for the
UISOURCE signal in the level-detection mode. You can configure the
polarity selection for the PFI pin for either active high or active low.
Figure 4-34 shows the timing requirements for the UISOURCE signal.
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 the
UISOURCE signal 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, the GPCTR0_SOURCE signal 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, the GPCTR0_SOURCE signal reflects the actual clock
connected to general-purpose counter 0. This is true even if another PFI
is externally inputting the source clock. This output is set to tri-state at
startup.
Figure 4-35 shows the timing requirements for the GPCTR0_SOURCE
signal.
National Instruments Corporation4-43PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
t
p
t
t
w
w
t
= 50 ns minimum
p
t
= 23 ns minimum
w
Figure 4-35. GPCTR0_SOURCE Signal Timing
The maximum allowed frequency is 20 MHz, with a minimum pulse width
of 23 ns high or low. There is no minimum frequency limitation.
The 20 MHz or 100 kHz timebase normally generates the
GPCTR0_SOURCE signal unless you select some external source.
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, the GPCTR0_GA TE signal is conf igured 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. Y ou 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, the GPCTR0_GATE signal reflects the actual gate signal
connected to general-purpose counter 0. This is true even if the gate is
being externally generated by another PFI. This output is set to tri-state at
startup.
Figure 4-36 shows the timing requirements for the GPCTR0_GA TE signal.
t
w
t
= 10 ns minimum
w
Figure 4-36. GPCTR0_GATE Signal Timing in Edge-Detection Mode
GPCTR0_OUT Signal
This signal is available only as an output on the GPCTR0_OUT pin. The
GPCTR0_OUT signal 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 tri-state at startup. Figure 4-37 shows
the timing of the GPCTR0_OUT signal.
TC
GPCTR0_SOURCE
GPCTR0_OUT
(Pulse on TC)
GPCTR0_OUT
(Toggle output on TC)
Figure 4-37. GPCTR0_OUT Signal Timing
GPCTR0_UP_DOWN Signal
This signal can be externally input on the DIO6 pin and is not available as
an output on the I/O connector. The general-purpose counter 0 will count
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.
National Instruments Corporation4-45PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
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, the GPCTR1_SOURCE signal 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, the GPCTR1_SOURCE monitors the actual clock connected
to general-purpose counter 1. This is true even if the source clock is being
externally generated by another PFI. This output is set to tri-state at startup.
Figure 4-38 shows the timing requirements for the GPCTR1_SOURCE
signal.
t
p
t
Figure 4-38.
t
w
w
t
= 50 ns minimum
p
t
= 23 ns minimum
w
GPCTR1_SOURCE Signal Timing
The maximum allowed frequency is 20 MHz, with a minimum pulse width
of 23 ns high or low. There is no minimum frequency limitation.
The 20 MHz or 100 kHz timebase normally generates the
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, the GPCTR1_GATE signal 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. Y ou 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, the GPCTR1_GATE signal monitors the actual gate signal
connected to general-purpose counter 1. This is true even if the gate is
being externally generated by another PFI. This output is set to tri-state at
startup.
Figure 4-39 shows the timing requirements for the GPCTR1_GA TE signal.
t
w
t
= 10 ns minimum
w
Figure 4-39. GPCTR1_GATE Signal Timing in Edge-Detection Mode
GPCTR1_OUT Signal
This signal is available only as an output on the GPCTR1_OUT pin.
The GPCTR1_OUT signal monitors the TC board 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 tri-state at startup. Figure 4-40 shows
the timing requirements for the GPCTR1_OUT signal.
TC
GPCTR1_SOURCE
GPCTR1_OUT
(Pulse on TC)
GPCTR1_OUT
(Toggle output on TC)
Figure 4-40. 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
National Instruments Corporation4-47PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
leave the DIO7 pin free for general use. Figure 4-41 shows the timing
requirements for the GATE and SOURCE input signals and the timing
specifications for the OUT output signals of your board.
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 GA TE and OUT signal transitions shown in Figure 4-41 are referenced
to the rising edge of the SOURCE signal. This timing diagram assumes 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 your board.
Figure 4-41 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
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
boards. Figure 4-41 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
board’s 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 tri-state at
startup.
Field Wiring Considerations
Environmental noise can seriously affect the accuracy of measurements
made with your board if you do not take proper care when running signal
wires between signal sources and the board. The following
recommendations apply mainly to analog input signal routing to the board,
although they also apply to signal routing in general.
Chapter 4Signal Connections
Minimize noise pickup and maximize measurement accuracy by taking the
following precautions:
•Use differential analog input connections to reject common-mode
noise.
•Use individually shielded, twisted-pair wires to connect analog input
signals to the board. 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 board carefully. Keep cabling away from noise
sources. The most common noise source in a PCI data acquisition
system is the video monitor. Separate the monitor from the analog
signals as much as possible.
National Instruments Corporation4-49PCI-6023E/6024E/6025E User Manual
Chapter 4Signal Connections
The following recommendations apply for all signal connections to your
board:
•Separate board signal lines from high-current or high-voltage lines.
These lines can induce currents in or voltages on the board signal lines
if they run in parallel paths at a close distance. T o 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.
•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 application note, Field Wiring and Noise Consideration for Analog Signals, available from National Instruments.
This chapter discusses the calibration procedures for your board. If you are
using the NI-DAQ device driver, that software 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. For these boards, these
adjustments take the form of writing values to onboard calibration DACs
(CalDACs).
Some form of board calibration is required for all but the most forgiving
applications. If you do not calibrate your board, your signals and
measurements could have very large offset, gain, and linearity errors.
Three levels of calibration are av ailable 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
Your board 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 board is unpowered.
Loading calibration constants refers to the process of loading the CalDACs
with the values stored in the EEPROM. NI-DAQ software determines
when this 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. This means that you can load the
CalDA Cs with v alues either from the original f actory 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 board measurement and output voltage errors can
National Instruments Corporation5-1PCI-6023E/6024E/6025E User Manual
Chapter 5Calibration
vary with time and temperature. It is better to self-calibrate when the board
is installed in the environment in which it will be used.
Self-Calibration
Your board can measure and correct for almost all of its calibration-related
errors without any external signal connections. Your National Instruments
software provides a self-calibration method. This self-calibration process,
which generally takes less than a minute, is the preferred method of
assuring accuracy in your application. Initiate self-calibration to minimize
the effects of any offset, gain, and linearity 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
Your board 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 your board at an extreme temperature or
if the onboard reference has not been measured for a year or more, you may
wish to externally calibrate your board.
An external calibration refers to calibrating your board 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 EEPR OM, so you should not have to perform
an external calibration very often. You can externally calibrate your board
by calling the NI-DAQ calibration function.
To externally calibrate your board, be sure to use a very accurate external
reference. The reference should be several times more accurate than the
board itself.
The CalDACs adjust the gain error of each analog output channel by
adjusting the value of the reference voltage supplied to that channel. This
calibration mechanism is designed to work only with the internal 10 V
reference. Thus, in general, it is not possible to calibrate the analog output
gain error when using an external reference. In this case, it is advisable to
account for the nominal gain error of the analog output channel either in
software or with external hardware. See Appendix A, Specifications, for
analog output gain error information.
National Instruments Corporation5-3PCI-6023E/6024E/6025E User Manual
Specifications
This appendix lists the specifications of PCI-6023E, PCI-6024E, and
PCI-6025E boards. 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 ..............................................12 bits, 1 in 4,096
of 100 single-channel readings. Measurement accuracies are listed for operational temperatures within ± 1 °C of internal calibration
temperature and ± 10 °C of external or factory calibration temperature.
FS
Accuracies are valid for measurements following an internal E Series Calibration. Averaged numbers assume dithering and averaging
National Instruments CorporationA-9PCI-6023E/6024E/6025E User Manual
Custom Cabling and Optional
Connectors
This appendix describes the various cabling and connector options for the
boards.
Custom Cabling
National Instruments offers cables and accessories for you to prototype
your application or to use if you frequently change board interconnections.
If you want to develop your own cable, however, the following guidelines
may be useful:
•For the analog input signals, shielded twisted-pair wires for each
analog input pair yield the best results, assuming that you use
differential inputs. Tie the shield for each signal pair to the ground
reference at the source.
•You should 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
The following list gives recommended part numbers for connectors that
mate to the I/O connector on your board.
Mating connectors and a backshell kit for making custom 68-pin cables are
available from National Instruments (part number 776832-01)
♦PCI-6023E and PCI-6024E
Honda 68-position, solder cup, female connector
(part number PCS-E68FS)
National Instruments CorporationB-1PCI-6023E/6024E/6025E User Manual
Appendix BCustom Cabling and Optional Connectors
♦PCI-6025E
AMP 100-position IDC male connector (part number 1-750913-9)
AMP backshell, 0.50 max O.D. cable (part number 749081-1)
AMP backshell, 0.55 max O.D. cable, (part number 749854-1)
Optional Connectors
Figure B-1 shows the pin assignments for the 68-pin E Series connector.
This connector is available when you use the SH6868 or R6868 cable
assemblies with the PCI-6023E and PCI-6024E. It is also the MIO-16
68-pin connector available when you use the SH1006868 cable assembly
with the PCI-6025E.
National Instruments CorporationB-3PCI-6023E/6024E/6025E User Manual
Appendix BCustom Cabling and Optional Connectors
Figure B-2 shows the pin assignments for the 68-pin extended digital input
connector. This is the other 68-pin connector available when you use the
SH1006868 cable assembly with the PCI-6025E.
Figure B-3 shows the pin assignments for the 50-pin E Series connector.
This connector is available when you use the SH6850 or R6850 cable
assemblies with the PCI-6023E and PCI-6024E. It is also one of the two
50-pin connectors available when you use the RI005050 cable assembly
with the PCI-6025E.
National Instruments CorporationB-5PCI-6023E/6024E/6025E User Manual
Appendix BCustom Cabling and Optional Connectors
Figure B-4 shows the pin assignments for the 50-pin extended digital input
connector. This is the other 50-pin connector available when you use the
R1005050 cable assembly with the PCI-6025E.
This appendix contains a list of commonly asked questions and their
answers relating to usage and special features of your board.
General Information
What is the DAQ-STC?
The DAQ-STC is the System Timing Control application-specific
integrated circuit (ASIC) designed by National Instruments and is the
backbone of the PCI E Series boards. The DA Q-STC contains se ven 24-bit
counters and three 16-bit counters. The counters are divided into the
following three groups:
•Analog input—two 24-bit, two 16-bit counters
•Analog output—three 24-bit, one 16-bit counters
•General-purpose counter/timer functions—two 24-bit counters
The groups can be configured independently with timing resolutions of
50 ns or 10 µs. With the DA Q-STC, you can interconnect a wide variety of
internal timing signals to other internal blocks. The interconnection scheme
is quite flexible and completely software configurable. New capabilities
such as buffered pulse generation, equiv alent time sampling, and seamless
changing of the sampling rate are possible.
C
What does sampling rate mean to me?
It means that this is the fastest you can acquire data on your board and
still achieve accurate results. For example, these boards 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 do the boards have?
The boards have 5 V lines equipped with a self-resetting 1 A fuse.
National Instruments CorporationC-1PCI-6023E/6024E/6025E User Manual
Appendix CCommon Questions
Installation and Configuration
How do I set the base address for a my board?
The base address of your board is assigned automatically through the PCI
bus protocol. This assignment is completely transparent to you.
What jumpers should I be aware of when conf iguring my PCI E Series
board?
The PCI E Series boards are jumperless and switchless.
Which National Instruments document should I read first to get
started using DAQ software?
Your NI-DAQ or application software release notes documentation is
always the best starting place.
Analog Input and Output
I’m using my board in differential analog input mode and I have
connected a differential input signal, but my r eadings ar e random and
drift rapidly. What’ s wrong?
Check your ground reference connections. Your signal may be referenced
to a level that is considered floating with reference to the board ground
reference. Even if you are in differential mode, the signal must still be
referenced to the same ground level as the board reference. There are
various methods of achieving this while maintaining a high common-mode
rejection ratio (CMRR). These methods are outlined in Chapter 4, Signal
Connections.
I’m 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, an y 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 your output signal.
Can I synchronize a one-channel analog input data acquisition with a
one-channel analog output waveform generation on my PCI E Series
board?
Yes. One way to accomplish this is to use the waveform generation timing
pulses to control the analog input data acquisition. To do this, follo w steps
1 through 4 below, in addition to the usual steps for data acquisition and
waveform generation configuration.
•If you are using LabVIEW, in voke AI Clock Config VI with clock
source code set to PFI pin, high to low , and clock source string set
to 5.
3.Initiate analog input data acquisition, which will start only when the
analog output waveform generation starts.
4.Initiate analog output waveform generation.
Timing and Digital I/O
What types of triggering can be hardware-implemented on my board?
Digital triggering is hardware-supported on every board.
Will the counter/timer applications that I wrote previously work with
the DAQ-STC?
If you are using NI-DA Q with LabVIEW, some of your applications drawn
using the CTR VIs will still run. However , there are many differences in the
counters between the PCI E Series and other boards; the counter numbers
are different, timebase selections are different, and the D AQ-STC counters