National Instruments AT-MIO-64F-5 User manual

© Copyright 1992, 1994 National Instruments Corporation.
All Rights Reserved.
AT-MIO-64F-5
User Manual
Multifunction I/O Board for the PC AT/EISA
July 1994 Edition
Part Number 320487-01

National Instruments Corporate Headquarters
6504 Bridge Point Parkway
Austin, TX 78730-5039
(512) 794-0100
Technical support fax: (800) 328-2203
(512) 794-5678
Branch Offices:
Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310,
Canada (QuŽbec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24,
Germany 089/741 31 30, Italy 02/48301892, Japan (03) 3788-1921, Netherlands 03480-33466, Norway 32-848400,
Spain (91) 640 0085, Sweden 08-730 49 70, Switzerland 056/27 00 20, U.K. 0635 523545

Limited Warranty
The AT-MIO-64F-5 is warranted against defects in materials and workmanship for a period of one year from the
date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or
replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as
evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software
media that do not execute programming instructions if National Instruments receives notice of such defects during
the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted
or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the
outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the
shipping costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments
reserves the right to make changes to subsequent editions of this document without prior notice to holders of this
edition. The reader should consult National Instruments if errors are suspected. In no event shall National
Instruments be liable for any damages arising out of or related to this document or the information contained in it.
EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. CUSTOMER'S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART
OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER.
NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS,
USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY
THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action,
whether in contract or tort, including negligence. Any action against National Instruments must be brought within
one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due
to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects,
malfunctions, or service failures caused by owner's failure to follow the National Instruments installation, operation,
or maintenance instructions; owner's modification of the product; owner's abuse, misuse, or negligent acts; and
power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
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
LabVIEW¨, NI-DAQ¨, and RTSI¨are trademarks of National Instruments Corporation.
Product and company names listed are trademarks or trade names of their respective companies.

Warning Regarding Medical and Clinical Use
of National Instruments Products
National Instruments products are not designed with components and testing intended to ensure a level of reliability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving
medical 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 Instruments products 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.

© National Instruments Corporation v AT-MIO-64F-5 User Manual
Preface
This manual describes the mechanical and electrical aspects of the AT-MIO-64F-5 board and
contains information concerning its operation and programming. The AT-MIO-64F-5 is a high-
performance, multifunction analog, digital, and timing I/O board for the IBM PC AT and
compatible computers and EISA personal computers (PCs).
Organization of This Manual
The AT-MIO-64F-5 User Manual is organized as follows:
¥ Chapter 1, Introduction, describes the AT-MIO-64F-5, lists the contents of your
AT-MIO-64F-5 kit, the optional software, and the optional equipment, and explains how to
unpack the AT-MIO-64F-5.
¥ Chapter 2, Configuration and Installation, explains the board configuration, installation of
the AT-MIO-64F-5 into the PC, signal connections to the AT-MIO-64F-5, and cable
considerations.
¥ Chapter 3, Theory of Operation, contains a functional overview of the AT-MIO-64F-5 and
explains the operation of each functional unit making up the AT-MIO-64F-5.
¥ Chapter 4, Register Map and Descriptions, describes in detail the address and function of
each of the AT-MIO-64F-5 control and status registers.
¥ Chapter 5, Programming, contains programming instructions for operating the circuitry on
the AT-MIO-64F-5.
¥ Chapter 6, Calibration Procedures, discusses the calibration resources and procedures for the
AT-MIO-64F-5 analog input and analog output circuitry.
¥ Appendix A, Specifications, lists the specifications of the AT-MIO-64F-5.
¥ Appendix B, AT-MIO-64F-5 I/O Connector, describes the pinout and signal names for the
AT-MIO-64F-5 100-pin I/O connector.
¥ Appendix C, MIO SubConnector, describes the pinout and signal names for the
AT-MIO-64F-5 50-pin MIO subconnector.
¥ Appendix D, Extended Analog Input SubConnector, describes the pinout and signal names
for the 50-pin extended analog input subconnector of the AT-MIO-64F-5.
¥ Appendix E, AMD Am9513A Data Sheet, contains the manufacturer data sheet for the AMD
Am9513A System Timing Controller integrated circuit (Advanced Micro Devices, Inc.).
This controller is used on the AT-MIO-64F-5.
¥ Appendix F, Customer Communication, contains forms you can use to request help from
National Instruments or to comment on our products and manuals.
¥ The Index contains an alphabetical list of key terms and topics in this manual, including the
page where each one can be found.

Preface
AT-MIO-64F-5 User Manual vi © National Instruments Corporation
Conventions Used in This Manual
The following conventions are used in this manual.
italic Italic text denotes emphasis, a cross reference, or an introduction to a key
concept.
NI-DAQ NI-DAQ is used throughout this manual to refer to the NI-DAQ software
for DOS/Windows/LabWindows unless otherwise noted.
PC PC refers to the IBM PC AT and compatible computers, and to EISA
personal computers.
Abbreviations
The following metric system prefixes are used with abbreviations for units of measure in this
manual:
Prefix Meaning Value
p- pico- 10-12
n- nano- 10-9
µ- micro- 10-6
m- milli- 10-3
k- kilo- 103
M- mega- 106
G- giga- 109
The following abbreviations are used in this manual:
A amperes
dB decibels
ft feet
F farads
hex hexadecimal
Hz hertz
ksamples 1,000 samples
M megabytes of memory
m meters
Wohms
% percent
ppm parts per million
rms root mean square
sec seconds
V volts
Vref reference voltage
Vrms volts, root mean square

Preface
© National Instruments Corporation vii AT-MIO-64F-5 User Manual
Acronyms
The following acronyms are used in this manual:
AC alternating current
A/D analog-to-digital
ADC analog-to-digital converter
AWG American Wire Gauge
BCD binary-coded decimal
CPU central processing unit
D/A digital-to-analog
DAC digital-to-analog converter
DC direct current
DIFF differential
DIO digital input/output
DIP dual inline package
DMA direct memory access
DNL differential nonlinearity
EEPROM electrically erased programmable read-only memory
EISA Extended Industry Standard Architecture
FIFO first-in-first-out
HCT high-speed CMOS TTL-compatible
INL integral nonlinearity
I/O input/output
LED light-emitting diode
LSB least significant bit
MSB most significant bit
NRSE nonreferenced single-ended
PGIA programmable gain instrumentation amplifier
RSE referenced single-ended
RTSI Real-Time System Integration
SCXI Signal Conditioning eXtension Interface
SDK Software Developers kit
TTL transistor-transistor logic
VDC volts direct current
Related Documentation
The following document contains information that you may find helpful as you read this manual:
¥IBM Personal Computer AT Technical Reference manual
You may also want to consult the following Advanced Micro Devices manual if you plan to
program the Am9513A Counter/Timer used on the AT-MIO-64F-5:
¥Am9513A/Am9513 System Timing Controller technical manual
For more information on the effects of dither, see the following article:
¥ "Dither in Digital Audio" by John Vanderkooy and Stanley P. Lipshitz, Journal of the Audio
Engineering Society, Vol. 35, No. 12, Dec, 1987.

Preface
AT-MIO-64F-5 User Manual viii © National Instruments Corporation
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 F, Customer
Communication, at the end of this manual.

© National Instruments Corporation ixAT-MIO-64F-5 User Manual
Contents
Chapter 1
Introduction..........................................................................................................................1-1
Board Description..........................................................................................................1-1
Analog Input......................................................................................................1-1
Analog Output....................................................................................................1-1
Digital and Timing I/O.......................................................................................1-2
What Your Kit Should Contain..........................................................................1-3
Optional Software..............................................................................................1-3
Optional Equipment...........................................................................................1-4
Custom Cables...................................................................................................1-5
Unpacking..........................................................................................................1-6
Chapter 2
Configuration and Installation.......................................................................................2-1
Board Configuration......................................................................................................2-1
AT Bus Interface................................................................................................2-3
Base I/O Address Selection................................................................................2-3
Interrupt and DMA Channel Selection..............................................................2-5
Analog Input Configuration...........................................................................................2-6
Input Mode.........................................................................................................2-6
DIFF Input (32 Channels)......................................................................2-6
RSE Input (64 Channels).......................................................................2-7
NRSE Input (64 Channels)....................................................................2-7
Input Polarity and Input Range..........................................................................2-8
Considerations for Selecting Input Ranges............................................2-8
Analog Output Configuration........................................................................................2-9
Analog Output Reference Selection...................................................................2-9
Analog Output Polarity Selection......................................................................2-9
Digital I/O Configuration...............................................................................................2-10
Board and RTSI Clock Configuration...........................................................................2-10
Hardware Installation.....................................................................................................2-10
Signal Connections........................................................................................................2-11
MIO Subconnector Signal Connection Descriptions.........................................2-14
Extended Analog Input Subconnector Signal Descriptions..............................2-18
Types of Signal Sources.....................................................................................2-20
Floating Signal Sources.........................................................................2-20
Ground-Referenced Signal Sources.......................................................2-20
Input Configurations..........................................................................................2-20
Differential Connection Considerations (DIFF Input Configuration)...2-21
Differential Connections for Ground-Referenced Signal Sources.........2-22
Differential Connections for Nonreferenced or Floating Signal
Sources...................................................................................................2-23
Single-Ended Connection Considerations.............................................2-24
Single-Ended Connections for Floating Signal Sources (RSE
Configuration)........................................................................................2-25

Contents
AT-MIO-64F-5 User Manual x© National Instruments Corporation
Single-Ended Connections for Grounded Signal Sources (NRSE
Configuration)........................................................................................2-26
Common-Mode Signal Rejection Considerations..................................2-26
Analog Output Signal Connections....................................................................2-27
Digital I/O Signal Connections..........................................................................2-28
Power Connections............................................................................................2-30
Timing Connections...........................................................................................2-30
Data Acquisition and Analog Output Timing Connections...................2-30
General-Purpose Timing Signal Connections........................................2-33
Field Wiring Considerations..........................................................................................2-37
Cabling Considerations..................................................................................................2-38
Chapter 3
Theory of Operation..........................................................................................................3-1
Functional Overview......................................................................................................3-1
PC I/O Channel Interface Circuitry...............................................................................3-2
Analog Input and Data Acquisition Circuitry................................................................3-4
Analog Input Circuitry.......................................................................................3-6
A/D Converter........................................................................................3-6
Analog Input Multiplexers.....................................................................3-6
Analog Input Configuration...................................................................3-6
PGIA......................................................................................................3-6
ADC FIFO Buffer..................................................................................3-7
Analog Input Calibration.......................................................................3-7
Data Acquisition Timing Circuitry....................................................................3-8
Single-Read Timing...............................................................................3-8
Single-Channel Data Acquisition Timing..............................................3-8
Multiple-Channel Data Acquisition...................................................................3-10
Continuous Scanning Data Acquisition Timing....................................3-11
Interval Scanning Data Acquisition Timing..........................................3-12
Data Acquisition Rates...........................................................................3-12
Analog Output and Timing Circuitry.............................................................................3-12
Analog Output Circuitry........................................................................3-13
Analog Output Configuration................................................................3-14
Analog Output Calibration.....................................................................3-14
DAC Waveform Generation Timing and Circuitry...........................................3-14
DAC Waveform Circuitry......................................................................3-15
DAC Waveform Timing Circuitry.........................................................3-16
FIFO Continuous Cyclic Waveform Generation...................................3-17
FIFO Programmed Cyclic Waveform Generation.................................3-18
FIFO Pulsed Waveform Generation......................................................3-18
Digital I/O Circuitry.......................................................................................................3-19
Timing I/O Circuitry......................................................................................................3-20
RTSI Bus Interface Circuitry.........................................................................................3-23
Chapter 4
Register Map and Descriptions......................................................................................4-1
Register Map..................................................................................................................4-1
Register Sizes.....................................................................................................4-2

Contents
© National Instruments Corporation xi AT-MIO-64F-5 User Manual
Register Description Format..............................................................................4-3
Configuration and Status Register Group..........................................................4-4
Command Register 1..............................................................................4-5
Command Register 2..............................................................................4-8
Command Register 3..............................................................................4-11
Command Register 4..............................................................................4-16
Status Register 1.....................................................................................4-19
Status Register 2.....................................................................................4-22
Analog Input Register Group.............................................................................4-23
ADC FIFO Register...............................................................................4-24
CONFIGMEM Register.........................................................................4-26
Analog Output Register Group..........................................................................4-31
DAC0 Register.......................................................................................4-33
DAC1 Register.......................................................................................4-34
ADC Event Strobe Register Group....................................................................4-35
CONFIGMEMCLR Register.................................................................4-36
CONFIGMEMLD Register....................................................................4-37
DAQ Clear Register...............................................................................4-38
DAQ Start Register................................................................................4-39
Single Conversion Register....................................................................4-40
DAC Event Strobe Register Group....................................................................4-41
TMRREQ Clear Register.......................................................................4-42
DAC Update Register............................................................................4-43
DAC Clear Register...............................................................................4-44
General Event Strobe Register Group................................................................4-45
DMA Channel Clear Register................................................................4-46
DMATCA Clear Register......................................................................4-47
DMATCB Clear Register.......................................................................4-48
External Strobe Register........................................................................4-49
Calibration DAC 0 Load Register..........................................................4-50
Am9513A Counter/Timer Register Group ........................................................4-51
Am9513A Data Register........................................................................4-52
Am9513A Command Register...............................................................4-53
Am9513A Status Register......................................................................4-54
Digital I/O Register Group.................................................................................4-55
Digital Input Register.............................................................................4-56
Digital Output Register..........................................................................4-57
RTSI Switch Register Group.............................................................................4-58
RTSI Switch Shift Register....................................................................4-59
RTSI Switch Strobe Register.................................................................4-60
Chapter 5
Programming........................................................................................................................5-1
Register Programming Considerations..........................................................................5-1
Resource Allocation Considerations..............................................................................5-1
Initializing the AT-MIO-64F-5......................................................................................5-2
Initializing the Am9513A..................................................................................5-2
Programming the Analog Input Circuitry......................................................................5-4
Single Conversions Using the SCONVERT or EXTCONV* Signal................5-4

Contents
AT-MIO-64F-5 User Manual xii© National Instruments Corporation
Generating a Single Conversion........................................................................5-5
Reading a Single Conversion Result..................................................................5-5
Programming a Single-Channel Data Acquisition Sequence............................5-5
Programming Data Acquisition Sequences with Channel Scanning.............................5-7
Continuous Channel-Scanning Data Acquisition..............................................5-7
Interval Channel-Scanning Data Acquisition....................................................5-8
Data Acquisition Programming Functions.....................................................................5-10
Clearing the Analog Input Circuitry..................................................................5-10
Programming Single Analog Input Channel Configurations.............................5-10
Programming Multiple Analog Input Channel Configurations.........................5-11
Programming the Sample-Interval Counter.......................................................5-11
Programming the Sample Counter(s).................................................................5-12
Programming the Scan-Interval Counter...........................................................5-14
Applying a Trigger.............................................................................................5-15
Servicing the Data Acquisition Operation.........................................................5-16
Resetting the Hardware after a Data Acquisition Operation..............................5-16
Resetting a Single Am9513A Counter/Timer........................................5-16
Programming the Analog Output Circuitry.......................................................5-18
Cyclic Waveform Generation............................................................................5-18
Programmed Cycle Waveform Generation........................................................5-19
Pulsed Cyclic Waveform Generation.................................................................5-21
Waveform Generation Programming Functions................................................5-23
Clearing the Analog Output Circuitry....................................................5-23
Selecting the Internal Update Counter...................................................5-23
Programming the Update-Interval Counter............................................5-23
Programming the Waveform Cycle Counter.........................................5-24
Programming the Waveform Cycle Interval Counter............................5-25
Servicing Update Requests....................................................................5-26
Programming the Digital I/O Circuitry..........................................................................5-26
Programming the Am9513A Counter/Timer.................................................................5-27
RTSI Bus Trigger Line Programming Considerations..................................................5-27
RTSI Switch Signal Connection Considerations...........................................................5-28
Programming the RTSI Switch......................................................................................5-29
Programming DMA Operations.........................................................................5-30
Interrupt Programming.......................................................................................5-31
Chapter 6
Calibration Procedures.....................................................................................................6-1
Calibration Equipment Requirements............................................................................6-5
Calibration DACs...........................................................................................................6-5
Calibration Channels......................................................................................................6-6
Reference Calibration....................................................................................................6-6
Analog Input Calibration...............................................................................................6-6
Analog Output Calibration.............................................................................................6-7
Appendix A
Specifications........................................................................................................................A-1
Analog Input..................................................................................................................A-1
Explanation of Analog Input Specifications......................................................A-2

Contents
AT-MIO-64F-5 User Manual xiv© National Instruments Corporation
Figures
Figure1-1. AT-MIO-64F-5 Board........................................................................................1-2
Figure2-1. AT-MIO-64F-5 Parts Locator Diagram.............................................................2-2
Figure2-2. Example Base I/O Address Switch Settings......................................................2-3
Figure2-3. AT-MIO-64F-5 I/O Connector..........................................................................2-12
Figure2-4. 50-Pin MIO Subconnector.................................................................................2-13
Figure2-5. Extended Analog Input Subconnector...............................................................2-17
Figure2-6. AT-MIO-64F-5 PGIA........................................................................................2-19
Figure2-7. Differential Input Connections for Ground-Referenced Signals.......................2-22
Figure2-8. Differential Input Connections for Nonreferenced Signals...............................2-23
Figure2-9. Single-Ended Input Connections for Nonreferenced or Floating Signals..........2-25
Figure2-10.Single-Ended Input Connections for Ground-Referenced Signals....................2-26
Figure2-11 Analog Output Connections...............................................................................2-28
Figure2-12.Digital I/O Connections.....................................................................................2-29
Figure2-13.EXTSTROBE* Signal Timing...........................................................................2-30
Figure2-14.EXTCONV* Signal Timing...............................................................................2-31
Figure2-15.EXTTRIG* Signal Timing.................................................................................2-32
Figure2-16.EXTTMRTRIG* Signal Timing........................................................................2-33
Figure2-17.Event-Counting Application with External Switch Gating................................2-34
Figure2-18.Frequency Measurement Application................................................................2-35
Figure2-19.General-Purpose Timing Signals.......................................................................2-36
Figure3-1. AT-MIO-64F-5 Block Diagram.........................................................................3-1
Figure3-2. PC I/O Channel Interface Circuitry Block Diagram..........................................3-3
Figure3-3. Analog Input and Data Acquisition Circuitry Block Diagram..........................3-5
Figure3-4. ADC Conversion Timing...................................................................................3-8
Figure3-5. Single-Channel Posttrigger Data Acquisition Timing.......................................3-9
Figure3-6. Single-Channel Pretrigger Data Acquisition Timing.........................................3-10
Figure3-7. Scanning Posttrigger Data Acquisition Timing.................................................3-11
Figure3-8. Interval Scanning Posttrigger Data Acquisition Timing....................................3-12
Figure3-9. Analog Output Circuitry Block Diagram...........................................................3-13
Figure3-10.Analog Output Waveform Circuitry..................................................................3-15
Figure3-11.Posted DAC Update Timing..............................................................................3-16
Figure3-12.Analog Output Waveform Circuitry..................................................................3-17
Figure3-13.FIFO Cyclic Waveform Generation with Disable.............................................3-17
Figure3-14.FIFO Programmed Cyclic Waveform Timing...................................................3-18
Figure3-15.FIFO Pulsed Waveform Generation Timing......................................................3-18
Figure3-16.Digital I/O Circuitry Block Diagram.................................................................3-19
Figure3-17.Timing I/O Circuitry Block Diagram.................................................................3-20
Figure3-18.Counter Block Diagram.....................................................................................3-21
Figure3-19.RTSI Bus Interface Circuitry Block Diagram....................................................3-23
Figure5-1. Initializing the Am9513A Counter/Timer..........................................................5-3
Figure5-2 Single Conversion Programming.......................................................................5-4
Figure5-3. Single-Channel Data Acquisition Programming................................................5-6
Figure5-4. Continuous Scanning Data Acquisition Programming......................................5-8
Figure5-5. Interval Scanning Data Acquisition Programming............................................5-9

Contents
© National Instruments Corporation xvAT-MIO-64F-5 User Manual
Figure5-6. Resetting an Am9513A Counter/Timer.............................................................5-17
Figure5-7. Cyclic Waveform Programming........................................................................5-19
Figure5-8. Programmed Cycle Waveform Programming....................................................5-20
Figure5-9. Pulsed Cyclic Waveform Programming............................................................5-22
Figure5-10.RTSI Switch Control Pattern.............................................................................5-29
Figure6-1. AT-MIO-64F-5 EEPROM Map.........................................................................6-1
Figure6-2. Revision and Subrevision Field.........................................................................6-3
Figure6-3. Configuration Memory Depth Field..................................................................6-3
Figure6-4. ADC and DAC FIFO Depth Field.....................................................................6-4
Figure6-5. Area Information Field.......................................................................................6-4
FigureB-1. AT-MIO-64F-5 I/O Connector..........................................................................B-2
FigureC-1. 50-Pin MIO Subconnector.................................................................................C-1
FigureD-1. Extended Analog Input Subconnector...............................................................D-1
Tables
Table1-1. Optional Equipment...........................................................................................1-4
Table2-1. Default Settings of National Instruments Products for the PC..........................2-4
Table2-2. Switch Settings with Corresponding Base I/O Address and Base I/O
Address Space....................................................................................................2-5
Table2-3. Available Input Configurations for the AT-MIO-64F-5....................................2-6
Table2-4. Actual Range and Measurement Precision Versus Input Range Selection
and Gain.............................................................................................................2-9
Table2-5. Recommended Input Configurations for Ground-Referenced and
Floating Signal Sources.....................................................................................2-21
Table4-1. AT-MIO-64F-5 Register Map............................................................................4-1
Table4-2. DMA Channel Selection....................................................................................4-10
Table4-3. DMA and Interrupt Modes.................................................................................4-13
Table4-4. Interrupt Level Selection....................................................................................4-15
Table4-5. Board and RTSI Clock Selection.......................................................................4-16
Table4-6. Analog Output Waveform Modes......................................................................4-17
Table4-7. Straight Binary Mode A/D Conversion Values.................................................4-25
Table4-8. Two’s Complement Mode A/D Conversion Values..........................................4-25
Table4-9. Input Configuration............................................................................................4-26
Table4-10.Calibration Channels ........................................................................................4-27
Table4-11.Extended Analog Input Connections ................................................................4-30
Table4-12.Analog Output Voltage Versus Digital Code (Unipolar Mode)........................4-31
Table4-13.Analog Output Voltage Versus Digital Code (Bipolar Mode)..........................4-32
Table5-1. Am9513A Counter/Timer Allocations...............................................................5-1
Table5-2. RTSI Switch Signal Connections.......................................................................5-28

© National Instruments Corporation 1-1 AT-MIO-64F-5 User Manual
Chapter 1
Introduction
This chapter describes the AT-MIO-64F-5, lists the contents of your AT-MIO-64F-5 kit, the
optional software and optional equipment, and explains how to unpack the AT-MIO-64F-5.
Board Description
Analog Input
The AT-MIO-64F-5 is a high-performance multifunction analog, digital, and timing I/O board
for the PC. The AT-MIO-64F-5 has a 5 µsec, 12-bit sampling ADC that can monitor a single
input channel, or scan through the 64 single-ended or 32 differential channels (expandable with
National Instruments multiplexing products) at a programmable gain of 0.5, 1, 2, 5, 10, 20, 50, or
100 for unipolar or bipolar input ranges. A 512-word ADC FIFO buffer can perform seamless
data acquisition at the maximum rate without data loss. Internal or external triggering and
sampling are supported. If signal conditioning or additional analog inputs are required, you can
use the SCXI signal conditioning modules, SCXI multiplexer products, or the AMUX-64T
multiplexer board.
You can use the NI-DAQ software included with the AT-MIO-64F-5 to calibrate the analog
input circuitry. This software adjusts the offset and gain errors to zero by means of board-level
calibration DACs. You can store calibration DAC constants resulting from the calibration
procedure in the onboard EEPROM for later use. See Chapter 6, Calibration Procedures, for
additional information on calibration procedures for the AT-MIO-64F-5.
Analog Output
The AT-MIO-64F-5 also has two double-buffered multiplying 12-bit DACs that may be
configured for a unipolar or bipolar voltage output range. An onboard +10 V reference is the
internal reference to the circuitry of the DAC. A 2,048-word DAC FIFO buffer allows seamless
waveform generation at the maximum rate without data loss. The DAC FIFO can perform cyclic
waveform generation directly from the FIFO, independent of the PC interface. You can use the
analog output circuitry for internal timer and external signal update capability for waveform
generation.
You calibrate the analog output circuitry through the NI-DAQ software provided with the board.
This software adjusts the DAC offset and gain errors of each channel to zero by means of board-
level calibration DACs. Calibration DAC constants resulting from the calibration procedure may
be stored in the onboard EEPROM for later use. See Chapter 6, Calibration Procedures, for
additional information on calibration procedures for the AT-MIO-64F-5.

Introduction Chapter 1
AT-MIO-64F-5 User Manual 1-2 © National Instruments Corporation
Digital and Timing I/O
In addition to the analog input and analog output capabilities of the AT-MIO-64F-5, the
AT-MIO-64F-5 also has eight digital I/O lines that can sink up to 24 mA of current, and three
independent 16-bit counter/timers for frequency counting, event counting, and pulse output
applications. The AT-MIO-64F-5 has timer-generated interrupts, a high-performance RTSI bus
interface, and four triggers for system-level timing.
Figure 1-1 shows the AT-MIO-64F-5 board.
Figure 1-1. AT-MIO-64F-5 Board
You can use the AT-MIO-64F-5 with its multifunction analog, digital, and timing I/O in many
applications, including machine and process control automation, level monitoring and control,
instrumentation, electronic testing, and many others. You can use the multichannel analog input
for signal and transient analysis, data logging, and chromatography. The two analog output
channels are useful for machine and process control, analog function generation, 12-bit
resolution voltage source, and programmable signal attenuation. You can use the eight
TTL-compatible digital I/O lines for machine and process control, intermachine communication,
and relay switching control. The three 16-bit counter/timers are useful for such functions as
pulse and clock generation, timed control of laboratory equipment, and frequency, event, and
pulse width measurement. With all these functions on one board, you can automatically monitor
and control laboratory processes.
The AT-MIO-64F-5 is interfaced to the National Instruments RTSI bus. With this bus, National
Instruments AT Series boards can send timing signals to each other. The AT-MIO-64F-5 can
send signals from the onboard counter/timer to another board, or another board can control single
and multiple A/D conversions on the AT-MIO-64F-5.
Detailed specifications for the AT-MIO-64F-5 are listed in Appendix A, Specifications.
This art not available in PDF version of this document.

Chapter 1 Introduction
© National Instruments Corporation 1-3 AT-MIO-64F-5 User Manual
What Your Kit Should Contain
The contents of the AT-MIO-64F-5 kit (part number 776655-01) are listed as follows.
Kit Component Part Number
AT-MIO-64F-5 board
AT-MIO-64F-5 User Manual
NI-DAQ software for DOS/Windows/LabWindows, with manuals
NI-DAQ Software Reference Manual for DOS/Windows/LabWindows
NI-DAQ Function Reference Manual for DOS/Windows/LabWindows
181395-01
320487-01
776250-01
320498-01
320499-01
If your kit is missing any of the components, contact National Instruments.
Your AT-MIO-64F-5 is shipped with the NI-DAQ software for DOS/Windows/LabWindows.
NI-DAQ has a library of functions that can be called 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,
digital I/O, counter/timer, SCXI, RTSI, and self-calibration. NI-DAQ maintains a consistent
software interface among its different versions so you can switch between platforms with
minimal modifications to your code. NI-DAQ comes with language interfaces for Professional
BASIC, Turbo Pascal, Turbo C, Turbo C++, Borland C++, and Microsoft C for DOS; and Visual
Basic, Turbo Pascal, Microsoft C with SDK, and Borland C++ for Windows. NI-DAQ software
is on high-density 5.25 in. and 3.5 in. diskettes.
Optional Software
This manual contains complete instructions for directly programming the AT-MIO-64F-5.
Normally, however, you should not need to read the low-level programming details in the user
manual because the NI-DAQ software package for controlling the AT-MIO-64F-5 is included
with the board. Using NI-DAQ is quicker and easier than and as flexible as using the low-level
programming described in Chapter 5, Programming.
You can use the AT-MIO-64F-5 with LabVIEW for Windows or LabWindows for DOS.
LabVIEW and LabWindows are innovative program development software packages for data
acquisition and control applications. LabVIEW uses graphical programming, whereas
LabWindows enhances Microsoft C and QuickBASIC. Both packages include extensive
libraries for data acquisition, instrument control, data analysis, and graphical data presentation.
Part numbers for these software packages are listed in the following table.

Introduction Chapter 1
AT-MIO-64F-5 User Manual 1-4 © National Instruments Corporation
Software Part Number
LabVIEW for Windows
LabWindows
Standard package
Advanced Analysis Library
Standard package with the Advanced Analysis Library
776670-01
776473-01
776474-01
776475-01
Optional Equipment
Table 1-2. Optional Equipment
Equipment Part Number
CB-100 I/O connector block
0.5-m cable
1.0-m cable
Type NB5 100-conductor ribbon cable
0.5-m cable
1.0-m cable
SCXI signal conditioning chassis
SCXI-1000 4-slot chassis
SCXI-1001 12-slot chassis
SCXI signal conditioning modules
SCXI-1100 32-channel differential multiplexer/amplifier
SCXI-1120 8-channel isolated analog input
SCXI-1121 4-channel isolated transducer amplifier with excitation
SCXI-1140 8-channel simultaneously sampling differential amplifier
SCXI-1180 feedthrough panel
SCXI-1181 breadboard
AMUX-64T analog multiplexer board without cable
with 0.2-m ribbon cable
with 0.5-m ribbon cable
with 1.0-m ribbon cable
with 2.0-m ribbon cable
AT Series RTSI bus cables for
2 boards
3 boards
4 boards
5 boards
776455-01
776455-02
181304-05
181304-10
776570-XX
776571-XX
776572-00
776572-20
776572-21
776572-40
776572-80
776572-81
776366-90
776366-02
776366-05
776366-10
776366-20
776249-02
776249-03
776249-04
776249-05
(continues)
Table of contents
Other National Instruments Motherboard manuals