National Instruments PCI-6024E, PCI-6025E, PCI-6023E User Manual

DAQ
PCI-6023E/6024E/6025E User Manual
Multifunction I/O Boards for PCI Bus Computers
PCI-6023E/6024E/6025E User Manual
October 1998 Edition
Part Number 322072A-01
Internet Support
E-mail: support@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com
Bulletin Board Support
BBS United States: 512 794 5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59
Fax-on-Demand Support
512 418 1111
Telephone Support (USA)
Tel: 512 795 8248 Fax: 512 794 5678

International Offices

Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 288 3336, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186, Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635, Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, United Kingdom 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkway Austin, Texas 78730-5039 USA Tel: 512 794 0100
© Copyright 1998 National Instruments Corporation. All rights reserved.

Important Information

Warranty
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.
Trademarks
ComponentWorks™, CVI™, DAQ-STC™, LabVIEW™, Measure™, Mite™, NI-DAQ™, NI-PGIA™, RTSI™, SCXI™, and VirtualBench
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
Customer Communication.............................................................................................xiv
Chapter 1 Introduction
Features of the PCI-6023E, PCI-6024E, and PCI-6025E..............................................1-1
What You Need to Get Started...................................................................................... 1-2
Unpacking......................................................................................................................1-2
Software Programming Choices....................................................................................1-3
National Instruments Application Software....................................................1-3
NI-DAQ Driver Software................................................................................1-3
Register-Level Programming ..........................................................................1-5
Optional Equipment.......................................................................................................1-6
Chapter 2 Installation and Configuration
Software Installation...................................................................................................... 2-1
Hardware Configuration ................................................................................................2-1
Hardware Installation.....................................................................................................2-2
Chapter 3 Hardware Overview
Analog Input ..................................................................................................................3-2
Input Mode ......................................................................................................3-2
Input Range .....................................................................................................3-2
Dither...............................................................................................................3-3
Multichannel Scanning Considerations........................................................... 3-4
Analog Output................................................................................................................3-5
Analog Output Glitch......................................................................................3-5
Digital I/O......................................................................................................................3-6
Timing Signal Routing...................................................................................................3-6
Programmable Function Inputs .......................................................................3-7
Board and RTSI Clocks...................................................................................3-8
©
National Instruments Corporation v PCI-6023E/6024E/6025E User Manual
Contents
RTSI Triggers ..................................... ............................................................3-8
Chapter 4 Signal Connections
I/O Connector................................................................................................................4-1
Analog Input Signal Overview......................................................................................4-8
Types of Signal Sources..................................................................................4-8
Analog Input Modes........................................................................................4-9
Analog Input Signal Connections..................................................................................4-11
Differential Connection Considerations (DIFF Input Configuration) ............ 4-13
Single-Ended Connection Considerations ......................................................4-17
Common-Mode Signal Rejection Considerations...........................................4-19
Analog Output Signal Connections...............................................................................4-20
Digital I/O Signal Connections .....................................................................................4-21
All Boards ................................................. ......................................................4-21
PCI-6025E Only.............................................................................................. 4-22
Port C Pin Assignments.................................................................................................4-23
Digital I/O Power-up State............................................................................................4-24
Changing DIO Power-up State to Pulled Low................................................4-24
Timing Specifications....................................................................................................4-25
Mode 1 Input Timing...................................................................................... 4-27
Mode 1 Output Timing ...................................................................................4-28
Mode 2 Bidirectional Timing..........................................................................4-29
Power Connections........................................................................................................4-30
Timing Connections ......................................................................................................4-30
Programmable Function Input Connections ...................................................4-31
DAQ Timing Connections..............................................................................4-32
Floating Signal Sources....................................................................4-9
Ground-Referenced Signal Sources.................................................. 4-9
Differential Connections for Ground-Referenced Signal Sources ... 4-14 Differential Connections for Nonreferenced or
Floating Signal Sources.................................................................4-15
Single-Ended Connections for Floating Signal Sources
(RSE Configuration)......................................................................4-18
Single-Ended Connections for Grounded Signal Sources
(NRSE Configuration)...................................................................4-18
SCANCLK Signal ............................................................................4-33
EXTSTROBE* Signal............................................... .......................4-33
TRIG1 Signal....................................................................................4-34
TRIG2 Signal....................................................................................4-35
STARTSCAN Signal.................................................... ....................4-36
CONVERT* Signal........................................ ..................................4-38
PCI-6023E/6024E/6025E User Manual vi
©
National Instruments Corporation
Field Wiring Considerations.......................................................................................... 4-49
Chapter 5 Calibration
Loading Calibration Constants ......................................................................................5-1
Self-Calibration..............................................................................................................5-2
External Calibration.......................................................................................................5-2
Other Considerations .....................................................................................................5-3
Contents
AIGATE Signal.......................................................................... .......4-39
SISOURCE Signal............................................................................4-40
Waveform Generation Timing Connections ...................................................4-40
WFTRIG Signal................................................................................4-40
UPDATE* Signal..............................................................................4-41
UISOURCE Signal ...........................................................................4-42
General-Purpose Timing Signal Connections.................................................4-43
GPCTR0_SOURCE Signal...............................................................4-43
GPCTR0_GATE Signal....................................................................4-44
GPCTR0_OUT Signal ......................................................................4-45
GPCTR0_UP_DOWN Signal...........................................................4-45
GPCTR1_SOURCE Signal...............................................................4-46
GPCTR1_GATE Signal....................................................................4-46
GPCTR1_OUT Signal ......................................................................4-47
GPCTR1_UP_DOWN Signal...........................................................4-47
FREQ_OUT Signal...........................................................................4-49
Appendix A Specifications
Appendix B Custom Cabling and Optional Connectors
Appendix C Common Questions
Appendix D Customer Communication
©
National Instruments Corporation vii PCI-6023E/6024E/6025E User Manual
Contents
Glossary
Index

Figures

Figure 1-1. The Relationship between the Programming Environment,
Figure 3-1. PCI-6023E, PCI-6024E, and PCI-6025E Block Diagram .................... 3-1
Figure 3-2. Dither ............................. .......................................................................3-4
Figure 3-3. CONVERT* Signal Routing.................................................................3-7
Figure 3-4. RTSI Bus Signal Connection................................................................3-9
Figure 4-1. I/O Connector Pin Assignment for the PCI-6023E/PCI-6024E ........... 4-2
Figure 4-2. I/O Connector Pin Assignment for the PCI-6025E...............................4-3
Figure 4-3. Programmable Gain Instrumentation Amplifier (PGIA)......................4-10
Figure 4-4. Summary of Analog Input Connections ...............................................4-12
Figure 4-5. Differential Input Connections for Ground-Referenced Signals .......... 4-14
Figure 4-6. Differential Input Connections for Nonreferenced Signals .................. 4-15
Figure 4-7. Single-Ended Input Connections for Nonreferenced or
Figure 4-8. Single-Ended Input Connections for Ground-Referenced Signals ....... 4-19
Figure 4-9. Analog Output Connections..................................................................4-20
Figure 4-10. Digital I/O Connections........................................................................4-21
Figure 4-11. Digital I/O Connections Block Diagram...............................................4-22
Figure 4-12. DIO Channel Configured for High DIO Power-up State
Figure 4-13. Timing Specifications for Mode 1 Input Transfer................................4-27
Figure 4-14. Timing Specifications for Mode 1 Output Transfer .............................4-28
Figure 4-15. Timing Specifications for Mode 2 Bidirectional Transfer.................... 4-29
Figure 4-16. Timing I/O Connections .......................................................................4-31
Figure 4-17. Typical Posttriggered Acquisition ........................................................4-32
Figure 4-18. Typical Pretriggered Acquisition..........................................................4-33
Figure 4-19. SCANCLK Signal Timing....................................................................4-33
Figure 4-20. EXTSTROBE* Signal Timing .............................................................4-34
Figure 4-21. TRIG1 Input Signal Timing..................................................................4-34
Figure 4-22. TRIG1 Output Signal Timing...............................................................4-35
Figure 4-23. TRIG2 Input Signal Timing..................................................................4-36
Figure 4-24. TRIG2 Output Signal Timing...............................................................4-36
Figure 4-25. STARTSCAN Input Signal Timing......................................................4-37
Figure 4-26. STARTSCAN Output Signal Timing...................................................4-37
Figure 4-27. CONVERT* Input Signal Timing........................................................4-38
NI-DAQ, and Your Hardware...............................................................1-5
Floating Signals ....................................................................................4-18
with External Load........................................................ .......................4-24
PCI-6023E/6024E/6025E User Manual viii
©
National Instruments Corporation

Tables

Contents
Figure 4-28. CONVERT* Output Signal Timing......................................................4-39
Figure 4-29. SISOURCE Signal Timing....................................................................4-40
Figure 4-30. WFTRIG Input Signal Timing.............................................................. 4-41
Figure 4-31. WFTRIG Output Signal Timing............................................................4-41
Figure 4-32. UPDATE* Input Signal Timing............................................................4-42
Figure 4-33. UPDATE* Output Signal Timing.........................................................4-42
Figure 4-34. UISOURCE Signal Timing...................................................................4-43
Figure 4-35. GPCTR0_SOURCE Signal Timing ......................................................4-44
Figure 4-36. GPCTR0_GATE Signal Timing in Edge-Detection Mode...................4-45
Figure 4-37. GPCTR0_OUT Signal Timing..............................................................4-45
Figure 4-38. GPCTR1_SOURCE Signal Timing ......................................................4-46
Figure 4-39. GPCTR1_GATE Signal Timing in Edge-Detection Mode...................4-47
Figure 4-40. GPCTR1_OUT Signal Timing..............................................................4-47
Figure 4-41. GPCTR Timing Summary.....................................................................4-48
Figure B-1. 68-Pin E Series Connector Pin Assignments ........................................B-3
Figure B-2. 68-Pin Extended Digital Input Connector Pin Assignments................. B-4
Figure B-3. 50-Pin E Series Connector Pin Assignments ........................................B-5
Figure B-4. 50-Pin Extended Digital Input Connector Pin Assignments................. B-6
Table 3-1. Available Input Configurations.............................................................3-2
Table 3-2. Measurement Precision .........................................................................3-3
Table 4-1. I/O Connector Signal Descriptions .......................................................4-4
Table 4-2. I/O Signal Summary .............................................................................4-7
Table 4-3. Port C Signal Assignments ...................................................................4-23
Table 4-4. Signal Names Used in Timing Diagrams .............................................4-25
©
National Instruments Corporation ix PCI-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
calibration procedures for your
©
National Instruments Corporation xi PCI-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.
!
bold Bold text denotes the names of menus, menu items, parameters, dialog
bold italic Bold italic text denotes an activity objective, note, caution, or warning.
italic Italic text denotes variables, emphasis, a cross reference, or an introduction
monospace Text in this font denotes text or characters that you should literally enter
NI-DAQ NI-DAQ refers to the NI-DAQ driver software for PC compatible
PC Refers 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.
computers unless otherwise noted.
PCI-6023E/6024E/6025E User Manual xii
©
National Instruments Corporation
About This Manual
SCXI SCXI 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 Corporation xiii PCI-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
Communication, at the end of this manual.
PCI-6023E/6024E/6025E User Manual xiv
©
National Instruments Corporation
1
Introduction
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 Corporation 1-1 PCI-6023E/6024E/6025E User Manual
Chapter 1 Introduction

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 ManualOne 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.
Never touch the exposed pins of connectors.
PCI-6023E/6024E/6025E User Manual 1-2
©
National Instruments Corporation

Software Programming Choices

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 1 Introduction
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 Corporation 1-3 PCI-6023E/6024E/6025E User Manual
Chapter 1 Introduction
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.
PCI-6023E/6024E/6025E User Manual 1-4
©
National Instruments Corporation
Chapter 1 Introduction
Programming Environment
SCXI Hardware
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 Corporation 1-5 PCI-6023E/6024E/6025E User Manual
Chapter 1 Introduction

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.
PCI-6023E/6024E/6025E User Manual 1-6
©
National Instruments Corporation
Installation and Configuration
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 Corporation 2-1 PCI-6023E/6024E/6025E User Manual
Chapter 2 Installation 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.
PCI-6023E/6024E/6025E User Manual 2-2
©
National Instruments Corporation
Hardware Overview
This chapter presents an overview of the hardware functions on your board. Figure 3-1 shows a block diagram for the PCI-6023E, PCI-6024E, and
PCI-6025E.
3
Voltage
REF
(8)
Analog Input Muxes
(8)
Calibration
Mux
PFI / Trigger
Timing
I/O Connector
Digital I/O
NOT ON 6023E Analog Output
DIO (24)
DAC0
DAC1
Analog Mode Multiplexer
AO Control
Generator
82C55A
Calibration
Dither
Calibration DACs
6025E Only
DACs
PGIA
Trigger Interface
Counter/
Timing I/O
Digital I/O
DIO Control
Converter
Configuration
Memory
Analog Input
Timing/Control
DAQ - STC
Analog Output Timing/Control
A/D
ADC
FIFO
AI Control
DMA/ Interrupt Request
Bus
Interface
RTSI Bus
Interface
RTSI Connector
IRQ DMA
EEPROM
Data
Analog
Input
Control
DAQ-STC
Bus
Interface
Generic
Bus
Interface
EEPROM
EEPROM
Control
DAQ­APE
MINI­MITE
Interface
DMA
Interface
I/O Bus
Interface
PCI Bus
Control
Address/Data
Address
PCI Connector
Figure 3-1.
©
National Instruments Corporation 3-1 PCI-6023E/6024E/6025E User Manual
PCI-6023E, PCI-6024E, and PCI-6025E Block Diagram
Chapter 3 Hardware 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.
Configuration Description
DIFF A 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.
RSE A 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).
NRSE A 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
Available Input Configurations
PCI-6023E/6024E/6025E User Manual 3-2
©
National Instruments Corporation
Chapter 3 Hardware Overview
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.
Gain Input Range Precision
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 Corporation 3-3 PCI-6023E/6024E/6025E User Manual
Chapter 3 Hardware 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 100 200 300 4000 500
100 200 300 4000 500
a. Dither disabled; no averaging b. Dither disabled; average of 50 acquisitions
a. Dither disabled; no averaging b. 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 100 200 300 4000 500
100 200 300 4000 500
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
100 200 300 4000 500
100 200 300 4000 500
100 200 300 4000 500
100 200 300 4000 500

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
PCI-6023E/6024E/6025E User Manual 3-4

Figure 3-2. Dither

©
National Instruments Corporation
Chapter 3 Hardware Overview
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 Corporation 3-5 PCI-6023E/6024E/6025E User Manual
Chapter 3 Hardware 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.
PCI-6023E/6024E/6025E User Manual 3-6
©
National Instruments Corporation
RTSI Trigger <0..6>
PFI<0..9>
Sample Interval Counter TC
GPCTR0_OUT
Chapter 3 Hardware Overview
CONVERT*

Figure 3-3. CONVERT* Signal Routing

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 Corporation 3-7 PCI-6023E/6024E/6025E User Manual
Chapter 3 Hardware 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.
PCI-6023E/6024E/6025E User Manual 3-8
©
National Instruments Corporation
Trigger
7
RTSI Bus Connector
Clock
RTSI Switch
switch
Chapter 3 Hardware Overview
DAQ-STC TRIG1 TRIG2 CONVERT* UPDATE* WFTRIG GPCTR0_SOURCE GPCTR0_GATE GPCTR0_OUT STARTSCAN AIGATE SISOURCE UISOURCE GPCTR1_SOURCE GPCTR1_GATE RTSI_OSC (20 MHz)

Figure 3-4. RTSI Bus Signal Connection

Refer to the Timing Connections section of Chapter 4, Signal Connections, for a description of the signals shown in Figure 3-4.
©
National Instruments Corporation 3-9 PCI-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.
4
Caution
!
©
National Instruments Corporation 4-1 PCI-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.
Chapter 4 Signal Connections
ACH8
ACH1 AIGND ACH10
ACH3 AIGND
ACH4 AIGND ACH13
ACH6 AIGND
ACH15
DAC0OUT DAC1OUT RESERVED
DIO4 DGND DIO1
DIO6 DGND
+5 V DGND DGND
PFI0/TRIG1 PFI1/TRIG2
DGND
+5 V DGND
PFI5/UPDATE*
PFI6/WFTRIG
DGND
PFI9/GPCTR0_GATE
GPCTR0_OUT
FREQ_OUT
1 1
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44
943 842 741 640 539 438 337 236 135
ACH0 AIGND ACH9 ACH2 AIGND ACH11 AISENSE ACH12 ACH5 AIGND ACH14 ACH7 AIGND AOGND AOGND DGND DIO0
DIO5 DGND
DIO2 DIO7 DIO3 SCANCLK EXTSTROBE* DGND PFI2/CONVERT* PFI3/GPCTR1_SOURCE PFI4/GPCTR1_GATE GPCTR1_OUT DGND PFI7/STARTSCAN PFI8/GPCTR0_SOURCE DGND DGND
1
Not available on the PCI-6023E
Figure 4-1. I/O Connector Pin Assignment for the PCI-6023E/PCI-6024E
PCI-6023E/6024E/6025E User Manual 4-2
©
National Instruments Corporation
Chapter 4 Signal Connections
AIGND PC7 AIGND GND
ACH10 GND
ACH11 GND
ACH12 GND
ACH13 GND
ACH14 GND
ACH15 GND
AISENSE PB6 DAC0OUT GND DAC1OUT PB5
RESERVED GND
AOGND PB4
DGND GND
DGND PA7
SCANCLK GND
EXTSTROBE* PA5
PFI0/TRIG1 GND PFI1/TRIG2 PA4
PFI2/CONVERT* GND
PFI3/GPCTR1_SOURCE PA3
PFI4/GPCTR1_GATE GND
GPCTR1_OUT PA2 PFI5/UPDA TE* GND
PFI6/WFTRIG PA1
PFI7/STARTSCAN GND
PFI8/GPCTR0_SOURCE PA0
PFI9/GPCTR0_GATE GND
GPCTR0_OUT +5 V
FREQ_OUT GND
151 252
ACH0 PC6
353
ACH8 GND
454
ACH1 PC5
555
ACH9 GND
656
ACH2 PC4
757 858
ACH3 PC3
959
10 60
ACH4 PC2
11 61 12 62
ACH5 PC1
13 63 14 64
ACH6 PC0
15 65 16 66
ACH7 PB7
17 67 18 68 19 69 20 70 21 71 22 72 23 73 24 74
DIO0 PB3
25 75
DIO4 GND
26 76
DIO1 PB2
27 77
DIO5 GND
28 78
DIO2 PB1
29 79
DIO6 GND
30 80
DIO3 PB0
31 81
DIO7 GND
32 82 33 83
+5 V GND
34 84
+5 V PA6
35 85 36 86 37 87 38 88 39 89 40 90 41 91 42 92 43 93 44 94 45 95 46 96 47 97 48 98 49 99 50 100

Figure 4-2. I/O Connector Pin Assignment for the PCI-6025E

©
National Instruments Corporation 4-3 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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 Name Reference Direction Description
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> AIGND Input Analog 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.
AISENSE AIG ND Input Analog Input Sense—This pin serves as the reference node
for any of channels ACH <0..15> in NRSE configuration.
DAC0OUT
1
AOGND Output Analog Channel 0 Output—This pin supplies the voltage
output of analog output channel 0.
DAC1OUT
1
AOGND Output Analog 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> DGND Input or
Output
2
PA<0..7>
DGND Input 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
DGND Input 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
DGND Input 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 V DGND Output +5 VDC Source—These pins are fused for up to 1 A of
+5 V supply. The fuse is self-resetting.
PCI-6023E/6024E/6025E User Manual 4-4
©
National Instruments Corporation
Chapter 4 Signal Connections
Table 4-1. I/O Connector Signal Descriptions (Continued)
Signal Name Reference Direction Description
SCANCLK DGND Output Scan 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* DGND Output External Strobe—This output can be toggled under software
PFI0/TRIG1 DGND Input
Output
PFI1/TRIG2 DGND Input
Output
PFI2/CONVERT* DGND Input
Output
PFI3/GPCTR1_SOURCE DGND Input
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_GATE DGND Input
Output
GPCTR1_OUT DGND Output Counter 1 Output—This output is from the general-purpose
©
National Instruments Corporation 4-5 PCI-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 4 Signal Connections
Table 4-1. I/O Connector Signal Descriptions (Continued)
Signal Name Reference Direction Description
PFI5/UPDATE* DGND Input
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/WFTRIG DGND Input
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/STARTSCAN DGND Input
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_SOURCE DGND Input
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_GATE DGND Input
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_OUT DGND Output Counter 0 Output—This output is from the general-purpose
counter 0 output.
FREQ_OUT DGND Output Frequency Output—This output is from the frequency
generator output.
*
Indicates that the signal is active low
1
Not available on the PCI-6023E
2
Not available on the PCI-6023E or PCI-6024E
PCI-6023E/6024E/6025E User Manual 4-6
©
National Instruments Corporation
Chapter 4 Signal Connections
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> AI 100 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
AISENSE AI 100 GΩ
40/25 ±200 pA
in
parallel
with
100 pF AIGND AO — DAC0OUT
(6024E and 6025E only) DA C1OUT
(6024E and 6025E only)
AO 0.1
AO 0.1
Short-circuit
to ground
Short-circuit
to ground
5 at 10 5 at -10 8
V/µs
5 at 10 5 at -10 8
V/µs
AOGND AO — DGND DO — VCC DO 0.1
Short-circuit
1A fused
to ground
DIO<0..7> DIO Vcc +0.5 13 at (Vcc -0.4) 24 at
1.1 50 kΩ pu
0.4
PA<0..7> (6025E only)
PB<0..7> (6025E only)
PC<0..7> (6025E only)
DIO Vcc +0.5 2.5 at 3.7min 2.5 at
0.4
DIO Vcc +0.5 2.5 at 3.7min 2.5 at
0.4
DIO Vcc +0.5 2.5 at 3.7min 2.5 at
0.4
5 100 kΩ
pu
5 100 kΩ
pu
5 100 kΩ
pu SCANCLK DO 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu EXTSTROBE* DO 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI0/TRIG1 DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI1/TRIG2 DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI2/CONVERT* DIO V
©
National Instruments Corporation 4-7 PCI-6023E/6024E/6025E User Manual
+0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu
cc
Chapter 4 Signal Connections
Table 4-2.
Signal
Signal Name
PFI3/GPCTR1_SOURCE DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI4/GPCTR1_GATE DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu GPCTR1_OUT DO 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI5/UPDATE* DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI6/WFTRIG DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI7/STARTSCAN DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI8/GPCTR0_SOURCE DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu PFI9/GPCTR0_GATE DIO Vcc +0.5 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu GPCTR0_OUT DO 3.5 at (Vcc -0.4) 5 at 0.4 1.5 50 kΩ pu FREQ_OUT DO 3.5 at (Vcc-0.4) 5 at 0.4 1.5 50 kΩ pu
AI = Analog Input DIO = Digital Input/Output pu = pullup AO = Analog Output DO = 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.
PCI-6023E/6024E/6025E User Manual 4-8
©
National Instruments Corporation
Chapter 4 Signal Connections
Floating Signal Sources
A floating signal source is not connected in any way to the building ground system but, rather, has an isolated ground-reference point. Some examples of floating signal sources are outputs of transformers, thermocouples, battery-powered devices, optical 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 Corporation 4-9 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
Caution Exceeding 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
PCI-6023E/6024E/6025E User Manual 4-10
©
National Instruments Corporation
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.
Chapter 4 Signal Connections
©
National Instruments Corporation 4-11 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal Connections
Signal Source Type
Input
Differential
(DIFF)
Single-Ended —
Ground
Referenced
(RSE)
Floating Signal Source
(Not Connected to Building Ground)
Examples
• Ungrounded Thermocouples
• Signal conditioning with isolated outputs
• Battery devices
+
V
1
-
ACH(+)
ACH (-)
R
+
-
AIGND
See text for information on bias resistors.
+
V
1
-
ACH
AIGND
+
-
Grounded Signal Source
Examples
• Plug-in instruments with nonisolated outputs
+
V
1
-
NOT RECOMMENDED
+
V
1
-
+ Vg -
ACH(+)
ACH (-)
ACH
+
-
AIGND
+
-
Single-Ended —
Nonreferenced
(NRSE)
+
V
1
-
ACH
AISENSE
R
See text for information on bias resistors.

Figure 4-4. Summary of Analog Input Connections

PCI-6023E/6024E/6025E User Manual 4-12
Ground-loop losses, Vg, are added to measured signal
+
-
AIGND
+
V
1
-
ACH
AISENSE
©
National Instruments Corporation
+
-
AIGND
Chapter 4 Signal Connections

Differential Connection Considerations (DIFF Input Configuration)

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 Corporation 4-13 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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
in Figure 4-5.
cm
PCI-6023E/6024E/6025E User Manual 4-14
©
National Instruments Corporation
Floating
Signal
Source
Chapter 4 Signal Connections
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 Corporation 4-15 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-16
©
National Instruments Corporation
Single-Ended Connection Considerations
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 4 Signal 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 Corporation 4-17 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-18
©
National Instruments Corporation
Ground-
Referenced
Signal
Source
Chapter 4 Signal Connections
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.
and V–in (input signals) are both
in
-
PGIA
+
Measured
V
m
Voltage
-
©
National Instruments Corporation 4-19 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal Connections

Analog Output Signal Connections

PCI-6024E and PCI-6025E
The analog output signals are DAC0OUT, DAC1OUT, and AOGND. DAC0OUT and DAC1OUT are not available on the PCI-6023E.
DAC0OUT is the voltage output signal for analog output channel 0. DAC1OUT is the voltage output signal for analog output channel 1.
AOGND is the ground reference signal for both analog output channels and the external reference signal.
Figure 4-9 shows how to make analog output connections to your board.
DAC0OUT
+
Channel 0
Load
Load
I/O Connector
VOUT 0
VOUT 1
-
-
+
AOGND
DAC1OUT
Figure 4-9.
PCI-6023E/6024E/6025E User Manual 4-20
Channel 1
Analog Output Channels
Analog Output Connections
©
National Instruments Corporation

Digital I/O Signal Connections

All Boards

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 4 Signal 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 Corporation 4-21 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
Port A
PA<3..0>
TTL Signal
+5 V
Switch
I/O Connector
Figure 4-11.
PCI-6023E/6024E/6025E User Manual 4-22
Port B
PB<7..4>
GND
DIO Board
Digital I/O Connections Block Diagram
©
National Instruments Corporation
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 4 Signal 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 Terminology Signal 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
Software
No Handshaking
Handshaking
Handshaking
Handshaking
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
I/O I/O I/O I/O I/O I/O I/O I/O
I/O I/O IBF
OBFA* ACKA* I/O I/O INTRAACKB* OBFB* INTR
OBFA* ACKA* IBF
Port C Signal Assignments
STBA* INTRASTBB* IBFBBINTR
A
STBA* INTR
A
I/O I/O I/O
A
B
B
©
National Instruments Corporation 4-23 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-24
100 k
+5 V
Digital I/O Line
R
L
GND
©
National Instruments Corporation
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 4 Signal 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
Name Type Description
STB* Input Strobe Input—A low signal on this handshaking line loads data into
the input latch.
IBF Output Input 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 Corporation 4-25 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal Connections
Table 4-4. Signal Names Used in Timing Diagrams (Continued)
Name Type Description
ACK* Input Acknowledge 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* Output Output Buffer Full—A low signal on this handshaking line
indicates that data has been written to the port.
INTR Output Interrupt 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* Internal Read—This signal is the read signal generated from the control
lines of the computer I/O expansion bus.
WR* Internal Write—This signal is the write signal generated from the control
lines of the computer I/O expansion bus.
DA T A Bidirectional Data 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.
PCI-6023E/6024E/6025E User Manual 4-26
©
National Instruments Corporation

Mode 1 Input Timing

Timing specifications for an input transfer in mode 1 are as follows:
Chapter 4 Signal Connections
T1
T2
STB *
IBF
INTR
RD *
T3
DATA
T4
T7
T6
T5
Name Description Minimum Maximum
T1 T2 T3 T4 T5 T6 T7
STB* Pulse Width STB* = 0 to IBF = 1 Data before STB* = 1 STB* = 1 to INTR = 1 Data after STB* = 1 RD* = 0 to INTR = 0 RD* = 1 to IBF = 0
100
—150 20 — —150 50 — —200 —150
All timing values are in nanoseconds.
Figure 4-13.
©
National Instruments Corporation 4-27 PCI-6023E/6024E/6025E User Manual
Timing Specifications for Mode 1 Input Transfer
Chapter 4 Signal Connections

Mode 1 Output Timing

Timing specifications for an output transfer in mode 1 are as follows:
WR*
OBF*
INTR
ACK*
DATA
T3
T4
T1
T5
T2
T6
Name Description Minimum Maximum
T1 T2 T3 T4 T5 T6
WR* = 0 to INTR = 0 WR* = 1 to Output WR* = 1 to OBF* = 0 ACK* = 0 to OBF* = 1 ACK* Pulse Width ACK* = 1 to INTR = 1
—250 —200 —150 —150
100
—150
All timing values are in nanoseconds.
Figure 4-14.
PCI-6023E/6024E/6025E User Manual 4-28
Timing Specifications for Mode 1 Output Transfer
©
National Instruments Corporation

Mode 2 Bidirectional Timing

Timing specifications for a bidirectional transfer in mode 2 are as follows:
T1
Chapter 4 Signal Connections
WR *
OBF *
INTR
ACK *
STB *
IBF
RD *
DATA
T3
T4
T2
T5
T6
T7
T8
T9
Name Description Minimum Maximum
T1 T2 T3 T4 T5 T6 T7 T8 T9
T10
WR* = 1 to OBF* = 0 Data before STB* = 1 STB* Pulse Width STB* = 0 to IBF = 1 Data after STB* = 1 ACK* = 0 to OBF* = 1 ACK* Pulse Width ACK* = 0 to Output ACK* = 1 to Output Float RD* = 1 to IBF = 0
—150 20
100
—150 50 — —150
100
—150 20 250 —150
All timing values are in nanoseconds.
T10
Figure 4-15.
©
National Instruments Corporation 4-29 PCI-6023E/6024E/6025E User Manual
Timing Specifications for Mode 2 Bidirectional Transfer
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-30
©
National Instruments Corporation
Chapter 4 Signal Connections
PFI0/TRIG1
PFI2/CONVERT*
TRIG1
Source
CONVERT*
Source
I/O Connector

Figure 4-16. Timing I/O Connections

Programmable Function Input Connections

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 Corporation 4-31 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
TRIG1
STARTSCAN
CONVERT*
Scan Counter
Figure 4-17.
PCI-6023E/6024E/6025E User Manual 4-32
13042
Typical Posttriggered Acquisition
©
National Instruments Corporation
TRIG1
Chapter 4 Signal Connections
TRIG2
STARTSCAN
CONVERT*
Scan Counter
Don't Care
01231 0222

Figure 4-18. Typical Pretriggered Acquisition

SCANCLK Signal
SCANCLK is an output-only signal that generates a pulse with the leading edge occurring approximately 50 to 100 ns after an A/D conversion begins. The polarity of this output is software-selectable but is typically configured so that a low-to-high leading edge can clock external 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 Corporation 4-33 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
Figures 4-21 and 4-22
show the input and output timing requirements for
the TRIG1 signal.
Rising-edge
polarity
Falling-edge
polarity

Figure 4-21. TRIG1 Input Signal Timing

PCI-6023E/6024E/6025E User Manual 4-34
t
w
t
= 10 ns minimum
w
©
National Instruments Corporation
Chapter 4 Signal Connections
t
w
t
= 50-100 ns
w

Figure 4-22. TRIG1 Output Signal Timing

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 Corporation 4-35 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-36
©
National Instruments Corporation
Chapter 4 Signal Connections
Rising-edge
polarity
Falling-edge
polarity
STARTSCAN
STARTSCAN will be deasserted t
after the last conversion in the scan is
off
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 Corporation 4-37 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
Rising-edge
polarity
Falling-edge
polarity
Figure 4-27.
PCI-6023E/6024E/6025E User Manual 4-38
t
w
t
= 10 ns minimum
w
CONVERT* Input Signal Timing
©
National Instruments Corporation
Chapter 4 Signal Connections
t
w
t
= 50-150 ns
w

Figure 4-28. CONVERT* Output Signal Timing

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 Corporation 4-39 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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
SISOURCE Signal Timing
PCI-6023E/6024E/6025E User Manual 4-40
©
National Instruments Corporation
Rising-edge
polarity
Falling-edge
polarity
Chapter 4 Signal Connections
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 Corporation 4-41 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-42
©
National Instruments Corporation
Chapter 4 Signal Connections
t
p
t
t
w
w
t
= 50 ns minimum
p
t
= 23 ns minimum
w

Figure 4-34. UISOURCE 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.
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 Corporation 4-43 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-44
©
National Instruments Corporation
Rising-edge
polarity
Falling-edge
polarity
Chapter 4 Signal Connections
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 Corporation 4-45 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-46
©
National Instruments Corporation
Rising-edge
polarity
Falling-edge
polarity
Chapter 4 Signal Connections
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 Corporation 4-47 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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
t
gw
t
out
t 50 ns minimum
sc
t
sp
t
gsu
t
gh
t
gw
t
out
t
sp
t
gh
23 ns minimum 10 ns minimum 0 ns minimum 10 ns minimum 80 ns maximum
t
sp

Figure 4-41. GPCTR Timing Summary

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
PCI-6023E/6024E/6025E User Manual 4-48
and tgh in Figure 4-41. The gate signal
gsu
©
National Instruments Corporation
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 4 Signal 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 Corporation 4-49 PCI-6023E/6024E/6025E User Manual
Chapter 4 Signal 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.
PCI-6023E/6024E/6025E User Manual 4-50
©
National Instruments Corporation
Calibration
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 Corporation 5-1 PCI-6023E/6024E/6025E User Manual
Chapter 5 Calibration
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.
PCI-6023E/6024E/6025E User Manual 5-2
©
National Instruments Corporation

Other Considerations

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.
Chapter 5 Calibration
©
National Instruments Corporation 5-3 PCI-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
Sampling rate ........................................200 kS/s guaranteed
Input signal ranges ................................Bipolar only
Board Gain
(Software-Selectable)
A
(software-selectable per channel)
Range
0.5 ±10 V 1 ±5 V 10 ±500 mV 100 ±50 mV
Input coupling........................................DC
Max working voltage
(signal + common mode) ....................... Each input should remain within
±11 V of ground
©
National Instruments Corporation A-1 PCI-6023E/6024E/6025E User Manual
Appendix A Specifications
Overvoltage protection
Powered On Powered Off
ACH<0..15> ± 42 ± 35 AISENSE ± 40 ± 25
FIFO buffer size......................................512 S
Data transfers..........................................DMA, interrupts,
programmed I/O
DMA modes ...........................................Scatter-gather
(Single transfer, demand transfer)
Configuration memory size ....................512 words
Accuracy Information
PCI-6025E Accuracy Information
Absolute Accuracy Relative Accuracy
Noise + Quantization
Nominal Range (V)
Positive FSNegative
10 –10 0.0722 0.0742 0.0764 ± 6.385 ± 3.906 ± 0.975 0.0010 4.883 1.284
5 –5 0.0272 0.0292 0.0314 ± 3.203 ± 1.953 ± 0.488 0.0005 2.441 0.642
0.5 –0.5 0.0722 0.0742 0.0764 ± 0.340 ± 0.195 ± 0.049 0.0010 0.244 0.064
0.05 –0.05 0.0722 0.0742 0.0764 ± 0.054 ± 0.063 ± 0.006 0.0010 0.024 0.008
Note:
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
% of Reading Offset
24 Hours 90 Days 1 Year (mV) Single Pt. Averaged (%/° C) Theoretical Averaged
(mV)
Temp
Drift
Resolution (mV)
PCI-6023E/6024E/6025E User Manual A-2
©
National Instruments Corporation
Appendix A Specifications
Transfer Characteristics
Relative accuracy...................................±0.5 LSB typ dithered,
±1.5 LSB max undithered
DNL .......................................................±0.5 LSB typ, ±1.0 LSB max
No missing codes...................................12 bits, guaranteed
Offset error
Pregain error after calibration......... ±12 µV max
Pregain error before calibration ...... ±28 mV max
Postgain error after calibration ....... ±0.5 mV max
Postgain error before calibration..... ±100 mV max
Gain error (relative to calibration reference)
After calibration (gain = 1).............±0.02% of reading max
Before calibration ...........................±2.75% of reading max
Gain 1 with gain error
adjusted to 0 at gain = 1.................±0.05% of reading max
Amplifier Characteristics
Input impedance
Normal powered on ........................100 G in parallel with 100 pF
Powered off .....................................4 k min
Overload..........................................4 k min
Input bias current ...................................±200 pA
Input offset current.................................±100 pA
CMRR (DC to 60 Hz)
Gain 0.5, 1.0....................................85 dB
Gain 10, 100....................................90 dB
©
National Instruments Corporation A-3 PCI-6023E/6024E/6025E User Manual
Appendix A Specifications
Dynamic Characteristics
Bandwidth
Signal Bandwidth
Small (–3 dB) 500 kHz Large (1% THD) 225 kHz
Settling time for full scale step...............5 µs max to ±1.0 LSB accuracy
System noise (LSBrms, not including quantization)
Gain Dither Off Dither On
0.5 to 10 0.1 0.6 100 0.7 0.8
Crosstalk.................................................–60 dB, DC to 100 kHz
Stability
Recommended warm-up time.................15 min.
Offset temperature coefficient
Pregain.............................................±15 µV/°C
Postgain ...........................................±240 µV/°C
Gain temperature coefficient ..................±20 ppm/°C
Analog Output
(PCI-6024E and PCI-6025E only)
Output Characteristics
Number of channels................................2 voltage
Resolution...............................................12 bits, 1 in 4,096
Max update rate .....................................100 kHz, system dependent
PCI-6023E/6024E/6025E User Manual A-4
©
National Instruments Corporation
Appendix A Specifications
Type of DAC..........................................Double buffered, multiplying
FIFO buffer size ....................................none
Data transfers .........................................DMA, interrupts, programmed
I/O
DMA modes...........................................Scatter-gather
(Single transfer, demand transfer)
Accuracy Information
Absolute Accuracy
Nominal Range (V)
Positive
FS
10 –10 0.0177 0.0197 0.0219 ± 5.933 0.0005
Negative
FS
24 Hours 90 Days 1 Year (mV) (%/° C)
% of Reading Offset
Temp
Drift
Transfer Characteristics
Relative accuracy (INL)
After calibration..............................± 0.3 LSB typ, ± 0.5 LSB max
Before calibration ...........................± 4 LSB max
DNL
After calibration..............................± 0.3 LSB typ, ± 1.0 LSB max
Before calibration ...........................±3 LSB max
Monotonicity..........................................12 bits, guaranteed after
calibration Offset error
After calibration..............................± 1.0 mV max
Before calibration ........................... ± 200 mV max
Gain error (relative to internal reference)
After calibration..............................± 0.01% of output max
Before calibration ...........................± 0.75% of output max
©
National Instruments Corporation A-5 PCI-6023E/6024E/6025E User Manual
Appendix A Specifications
Voltage Output
Range......................................................± 10 V
Output coupling......................................DC
Output impedance...................................0.1 max
Current drive...........................................±5 mA max
Protection................................................Short-circuit to ground
Power-on state ........................................0 V
Dynamic Characteristics
Settling time for full-scale step...............10 µs to ±0.5 LSB accuracy
Slew rate .................................................10 V/µs
Noise.......................................................200 µVrms, DC to 1 MHz
Glitch energy (at midscal transition)
Magnitude..............................................
Duration........................................... 2.0 µs
± 12 mV
Stability
Offset temperature coefficient................± 50 µV/°C
Gain temperature coefficient ..................±25 ppm /°C
Digital I/O
Number of channels
PCI-6025E.......................................32 input/output
PCI-6023E and PCI-6024E .............8 input/output
Compatibility..........................................TTL/CMOS
PCI-6023E/6024E/6025E User Manual A-6
©
National Instruments Corporation
DIO<0..7>
Digital logic levels
Appendix A Specifications
Level Min Max
Input low voltage Input high voltage Input low current (V Input high current (V
Output low voltage (I Output high voltage (I
= 0 V)
in
= 5 V)
in
= 24 mA)
OL
= 13 mA)
OH
Power-on state........................................Input (High-Z),
50 k pull up to
Data transfers .........................................Programmed I/O
PA<0..7>,PB<0..7>,PC<0..7>
PCI-6025E only
Digital logic levels
Level Min Max
Input low voltage
0 V 2 V
— —
4.35 V
+
0 V
5V
0.8 V 5 V
–320 µ
A
10 µA
0.4 V
DC
0.8 V Input high voltage Input low current (V Input high current (V Output low voltage (I Output high voltage (I
= 0 V, 100 k pull up)
in
= 5 V, 100 k pull up)
in
= 2.5 mA)
OL
= 2.5 mA)
OH
2.2 V — — —
3.7 V
5 V
–75 µA
10 µA
0.4 V —
Handshaking...........................................2-wire
Power-on state
PA<0..7>................................................Input (High-Z),
+
100 k pull up to
©
National Instruments Corporation A-7 PCI-6023E/6024E/6025E User Manual
5V
DC
Appendix A Specifications
Timing I/O
PB<0..7>........................................... ......Input (High-Z),
+
100 k pull up to
5V
DC
PC<0..7>........................................... ......Input (High-Z),
+
100 k pull up to
5V
DC
Data transfers..........................................Interrupts, programmed I/O
Number of channels................................2 up/down counter/timers, 1
frequency scaler
Resolution...............................................
Counter/timers........................... ......24 bits
Frequency scalers ............................4 bits
Compatibility..........................................TTL/CMOS
Base clocks available
Counter/timers.................................20 MHz, 100 kHz
Frequency scalers ............................10 MHz, 100 kHz
Base clock accuracy................................±0.01%
Max source frequency.............................20 MHz
Min source pulse duration ......................10 ns in edge-detect mode
Min gate pulse duration..........................10 ns in edge-detect mode
Data transfers..........................................DMA, interrupts, programmed
DMA modes ...........................................Scatter-gather
Triggers
Digital Trigger
Compatibility..........................................TTL
Response.................................................Rising or falling edge
PCI-6023E/6024E/6025E User Manual A-8
I/O
(Single transfer, demand transfer)
©
National Instruments Corporation
Calibration
Power Requirement
Appendix A Specifications
Pulse width.............................................10 ns min
RTSI
Trigger lines...........................................7
Interval...................................................1 year
Onboard calibration reference
Level ...............................................5.000 V (±3.5 mV) (actual
value stored in EEPROM)
Temperature coefficient..................±5 ppm/°C max
Long-term stability .........................±15 ppm/
+5 VDC (±5%).......................................0.7 A
Power available at I/O connector...........+4.65 VDC to +5.25 VDC at 1 A
1 000 h,
Physical
Dimensions (not including
connectors).............................................17.5 by 10.6 cm (6.9 by 4.2 in.)
I/O connector
PCI-6023E/6024E........................... 68-pin male SCSI-II type
PCI-6025E ...................................... 100-pin female 0.05D type
Operating Environment
Ambient temperature..............................0° to 55° C
Relative humidity...................................10% to 90% noncondensing
Storage Environment
Ambient temperature..............................-20° to 70° C
Relative humidity...................................5% to 95% noncondensing
©
National Instruments Corporation A-9 PCI-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)
Honda backshell (part number PCS-E68LKPA)
©
National Instruments Corporation B-1 PCI-6023E/6024E/6025E User Manual
Appendix B Custom 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.
PCI-6023E/6024E/6025E User Manual B-2
©
National Instruments Corporation
Appendix B Custom Cabling and Optional Connectors
ACH8
ACH1
AIGND
ACH10
ACH3
AIGND
ACH4
AIGND
ACH13
ACH6
AIGND
ACH15
DAC0OUT DAC1OUT RESERVED
DIO4
DGND
DIO1
DIO6
DGND
+5 V DGND DGND
PFI0/TRIG1 PFI1/TRIG2
DGND
+5 V DGND
PFI5/UPDATE*
PFI6/WFTRIG
DGND
PFI9/GPCTR0_GATE
GPCTR0_OUT
FREQ_OUT
1 1
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44
943 842 741 640 539 438 337 236 135
ACH0 AIGND ACH9 ACH2 AIGND ACH11 AISENSE ACH12 ACH5 AIGND ACH14 ACH7 AIGND AOGND AOGND DGND DIO0
DIO5 DGND
DIO2 DIO7 DIO3 SCANCLK EXTSTROBE* DGND PFI2/CONVERT* PFI3/GPCTR1_SOURCE PFI4/GPCTR1_GATE GPCTR1_OUT DGND PFI7/STARTSCAN PFI8/GPCTR0_SOURCE DGND DGND
1
Not available on the PCI-6023E
Figure B-1. 68-Pin E Series Connector Pin Assignments
©
National Instruments Corporation B-3 PCI-6023E/6024E/6025E User Manual
Appendix B Custom 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.
GND
PC6 PC5
GND
PC3 PC2
GND
PC0
PB7
GND
PB5 PB4
GND GND
PB1 PB0
GND
PA6 PA5
GND
PA3 PA2
GND
PA0
+5 V
N/C N/C
N/C N/C N/C N/C N/C N/C N/C
34 68 33 67 32 66 31 65 30 64 29 63 28 62 27 61 26 60 25 59 24 58 23 57 22 56 21 55 20 54 19 53 18 52 17 51 16 50 15 49 14 48 13 47 12 46 11 45 10 44
943 842 741 640 539 438 337 236 135
PC7 GND GND PC4 GND GND PC1 GND GND PB6 GND GND PB3 PB2 GND GND PA7
GND GND
PA4 GND GND PA1 GND GND N/C N/C N/C N/C N/C N/C N/C N/C N/C
Figure B-2. 68-Pin Extended Digital Input Connector Pin Assignments
PCI-6023E/6024E/6025E User Manual B-4
©
National Instruments Corporation
Appendix B Custom Cabling and Optional Connectors
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.
AIGND
ACH0 ACH1
ACH2
ACH3
ACH4 ACH5 ACH6
ACH7
AISENSE
DAC1OUT
EXTSTROBE*
PFI1/TRIG2
PFI3/GPCTR1_SOURCE
GPCTR1_OUT
PFI6/WFTRIG
PFI8/GPCTR0_SOURCE
GPCTR0_OUT
1
Not available on the PCI-6023E
1
AOGND
DIO0 DIO1 DIO2 DIO3
DGND
+5 V
12 34 56 78
910 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
AIGND
ACH8 ACH9 ACH10 ACH11 ACH12 ACH13 ACH14 ACH15
DAC0OUT RESERVED
DGND DIO4 DIO5 DIO6 DIO7 +5 V SCANCLK PFI0/TRIG1 PFI2/CONVERT* PFI4/GPCTR1_GATE PFI5/UPDATE* PFI7/STARTSCAN
PFI9/GPCTR0_GATE
FREQ_OUT
1
Figure B-3. 50-Pin E Series Connector Pin Assignments
©
National Instruments Corporation B-5 PCI-6023E/6024E/6025E User Manual
Appendix B Custom 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.
PC7 PC6
PC5 PC4
PC3
PC2 PC1 PC0
PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0
+5 V
12 34 56 78
910 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
GND GND GND GND GND GND GND GND
GND GND
GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND

Figure B-4. 50-Pin Extended Digital Input Connector Pin Assignments

PCI-6023E/6024E/6025E User Manual B-6
©
National Instruments Corporation
Common Questions
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 Corporation C-1 PCI-6023E/6024E/6025E User Manual
Appendix C Common 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.
PCI-6023E/6024E/6025E User Manual C-2
©
National Instruments Corporation
Appendix C Common Questions
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.
1. Enable the PFI5 line for output, as follows:
If you are using NI-DAQ, call
Select_Signal(deviceNumber, ND_PFI_5, ND_OUT_UPDATE,
ND_HIGH_TO_LOW)
.
If you are using LabVIEW, invoke Route Signal VI with signal name set to PFI5 and signal source set to AO Update.
2. Set up data acquisition timing so that the timing signal for A/D conversion comes from PFI5, as follows:
If you are using NI-DAQ, call
Select_Signal(deviceNumber, ND_IN_CONVERT, ND_PFI_5,
ND_HIGH_TO_LOW)
.
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
©
National Instruments Corporation C-3 PCI-6023E/6024E/6025E User Manual
Loading...