E-mail: info@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 5 9
Fax-on-Demand Support
(512) 418-1111
Telephone Support (U.S.)
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,
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 5734815, Ital y 02 413091, Jap an 03 5472 2970,
Korea 02 596 7456, Mexico 5 520 2635, Nethe rlands 034 8 433466, Nor way 32 84 84 00,
Singapore 2265886, Spain 91 640 0085, Swede n 08 730 49 70, Switzerland 056 200 51 51,
Taiwan 02 377 1200, United Kingdom 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkw ayAustin, TX 78730-503 9Tel: (512) 794-0100
Important Information
Warranty
The AT-MIO-16X 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 Instru ments software ar e warranted not to fail to execute pro grammi ng
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 soft ware media that do
not execute programming instructions if National Instruments receives notice of such defects during the warranty
period. National Instrument s does not war rant that the oper ation of the softwar e shall be un interr upted 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 par ts whi ch are cov ered by w arranty .
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 ch anges to subsequent editions of this document without prior not ice to holders of th is 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 docum ent or the in format ion contai ned in it.
E
XCEPT AS SPECIFIED HEREIN
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
C
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL
I
NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
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
Instruments will apply regardles s of the fo rm of acti on, whether i n contract or tort, incl uding neg lig ence. Any acti on
against National Instruments must be brought wit hin one year after the cause of action accrues. Nat ion al Instrument s
shall not be liable for any delay in performan ce due to causes beyo nd it s reasonable cont rol. The warranty pr ovided
herein does not cover damages, defects, malf unctio ns, or s ervice fai lures caused by owne r’s fail ure to fol low the
National Instruments in sta llat ion, o perat ion, or ma inte na nce instr uct ions; owner ’s modif icat ion of the p roduct;
owner’s abuse, misuse, or neglige nt acts; and power failur e or surges , fire, floo d, acciden t, actions of third part ies,
or other events outside reasonable cont rol.
, N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND
.
. N
ATIONAL INSTRUMENTS
. This limitation of the liability of National
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, reco rding, storin g in an in format ion retr iev al system , or tra nslati ng, in wh ole or in par t,
without the prior written consent of Nation al Inst rument s Corpo ration .
Trademarks
ComponentWorks™, LabVIEW™, Meas ur e™, NI-DAQ™, RTSI™, and VirtualB ench™ are trademarks of National
Instruments C orporation.
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 design ed with comp onents and testing in tend ed to ensure a level o f reliabi lity
suitable for use in treatment and diag nosi s of humans . Appli cations of Nation al Instru men ts product s invol vin g
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 us e or applicat ion of Nat ional Ins trum ent s products for or involvi ng
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 prod ucts ar e being used. National Instruments
products are NOT intended to be a substitute f or any for m of establ ished pr ocess, proce dure, or equi pmen t used to
monitor or safegua rd huma n he alth and sa fety in med ical or clin ical t reat ment .
About This Manual
Organization of This Manual........................................................................................xv
Conventions Used in This Manual................................................................................ xvi
Related Documentation.................................................................................................xvii
National Instruments CorporationxiiiAT-MIO-16X User Manual
This manual describes the mechanical and electrical aspects of the
AT-MIO-16X board and contains information concerning its operation
and programming. Th e A T-M IO -16X is a high-pe rf orman ce,
multifunction analog, digital, and timing I/O board for the IBM PC AT
and compatibles and EISA perso nal comp uters (PCs).
Organization of This Manual
The AT-MIO-16X Us er Man ual is orga nized a s fo llows:
•Chapter 1, Introduction, describes the AT-MIO-16X, lists the
contents of your AT -M IO-1 6X kit, the o ptiona l so ftware, and
optional equipment, and explains how to unpack the AT-MIO-16X.
•Chapter 2, Configuration and Installation, ex plains bo ar d
configuration, installation of the AT-MIO-16X into the PC, signal
connections to the AT -MIO -1 6X, an d ca ble c onsid eration s.
•Chapter 3, Theory of Operation, contains a functional overvie w of
the AT-MIO-16X and explains the operation of each functional unit
making up the AT-MIO - 16X.
•Chapter 4, Register Map a nd D escriptions , describes in detail the
address and function of each of the AT-MIO-16X control and status
registers.
•Chapter 5, Programming, contains program ming instruc tions f or
operating the circuitry on the AT-MIO-1 6X.
•Chapter 6, Calibration Procedures, discusses the calibration
resources and proc edur es fo r the A T-MI O-16 X an alog in put a nd
analog output circuitry.
•Appendix A, Specifications, lists the specifications of the
AT-MIO-16X.
•Appendix B, I/O Connector, describes the pinout and signal names
for the AT-MIO-16X 50-pin I/O conn ector and the 68 -pin I/O
connector.
National Instruments CorporationxvAT-MIO-16X User Manual
About This Manual
•Appendix C, AMD Am9513A Data Sheet, contains the
manufacturer data shee t f or the AM D Am95 13A System T iming
Controller integrated circuit (Advanced Micro Devices, Inc.). This
controller i s use d on the A T-M IO -1 6X.
•Appendix D, Customer Communication, contains forms you can
use to request help from National Instruments or to comment on our
products.
•The Glossary contains an alphabetical list and description of terms
used in this manual, including abbreviations, acronym s, metric
prefixes, mnemonics, and symbols.
•The Index cont ains an alphabet ical li st of key terms and topics used
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 containing numbers separated by an ellipsis represent a
range of values associated with a bit or signal name (for exam ple,
DBIO<3..0>).
This icon to the left of bold italicized text denotes a note, which alerts
you to important information.
!
bold italicBold italic text denotes a note, caution, or warning.
italicItalic text denotes emphasis, a cross reference, or an introduction to a
NI-DAQNI-DAQ is used throughout this manual to refer to the NI-DAQ
PCPC refers to the IBM PC AT and compatibles, and to EISA personal
AT-MIO-16X User Manualxvi
This icon to the left of bold italicized text denotes a caution, which
advises you of precau tions to take to av oid injury , d ata lo ss, or a
system crash.
key concept.
software for DOS/Windows/LabWindo ws unless otherwise no ted.
computers.
The Glossary lists abbreviations, acronyms, metric prefixes,
The following document contains information that you may find helpful
as you read this manual:
•IBM Personal Computer AT Technical Reference
You may also want to consult the following Advanced Micro D evices
information if you plan to prog ram the Am9 513 A Coun ter/Ti mer u sed
on the AT-MIO-16X:
•Am9513A/Am9513 System Timing Controller
Customer Communication
National Instruments want to receive your co mments on ou r 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 for ms are in
Appendix D, Customer Communication, at the end of this manual.
National Instruments CorporationxviiAT-MIO-16X User Manual
Chapter
Introduction
This chapter describes the AT-MIO-16X, lists the contents of your
AT-MIO-16X kit, the optional sof tware, an d optional equi pment, and
explains how to unpack the AT-MI O-16 X.
About the AT-MIO-16X
Congratulations on your p urcha se of the Na tional I nstrume nts
AT-MIO-16X. The AT -MIO-1 6X is a high-perf ormance ,
software-configurable 16-bit DAQ board for laboratory, test and
measurement, and data ac quisition and contro l a pplication s. The
board performs high-accu racy measurements with self-calibration,
high-speed settling to 16 bits, noise as low as 0.8 LSBrms, and a
maximum DNL of ±0.5 LSB . Because of its large FIFO s and
dual-channel DMA, the AT-MIO-16X can achieve high performance,
even when used in environments that may have long interrupt latencies,
such as Windows.
Because off-the-shelf instrumentation amplifiers require 500 µsec and
more to settle to 16-bit accuracy at high gains when sampling multiple
channels , Na t i o nal Instruments devel o pe d the NI-PGIA. The NI-PGIA,
which is used on the AT-MIO-16X, is an instrumentation amplifier that
settles to 16 bits in 40 µs, even when the board is used at its high est gain
of 100.
1
A common problem with DAQ boards is that you cannot easily
synchronize several mea sur em ent fu nctio ns to a c ommon trig ger o r
timing event. The AT -MI O- 1 6X has the Real-Time System Integ rat io n
(RTSI) bus to solve this pr oble m. T he RT SIbus co nsists of our custom
RTSI bus interface chip and a ribbon cable to route timing and trigger
signals between several functions on one or more DAQ boa rds in
your PC.
The AT-MIO-16X can interface to the Signal Conditioning eXtensions
for Instrumentation (SCXI) system so that you can acquire over 3,000
analog signals from therm oco uples, RT Ds , strain ga ug es, v oltag e
sources, and curr en t sou rc es . You c a n also ac qu ire or ge nera te dig ital
National Instruments Corporation1-1AT-MIO-16X User Manual
Chapter 1Introduction
Analog Input
signals for communication and control. SCXI is the instrumentation
front end for plug-in DA Q b oards .
The AT-MIO-16X is a high-performance multifunction analog, digital,
and timing I/O boar d for the PC. The AT-M IO- 16X has a 10 µsec,
16-bit, sampling ADC that can monitor a single input channel, or scan
through the 16 single-ended or 8 differential channels (expandable with
National Instruments multiplexing products) at a programmable gain of
1, 2, 5, 10, 20, 50, o r 100 fo r unipo lar or bip olar inp ut r ange s. 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-16X 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-16X.
Analog Output
The AT-MIO-16X also has two deglitched, double-buffered,
multiplying, 16-bit DACs that may be configured for a unipolar or
bipolar voltage output range . An o nbo ar d, + 10-V refe renc e is th e
internal reference to the circuitry of the DAC. A 2,048-word DAC FIFO
buffer allows seamless wavefo rm genera tion at the maximum ra te
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 an d external
signal update capability for waveform generation.
You calibrate the analog output circuitry through the NI-DAQ software
provided with the boar d. Th is soft ware a djusts th e 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 additio nal info rmati on on
calibration pro ce du res f or t he AT -M IO-1 6X .
In addition to the analog input and analog output capabilities of the
AT-MIO-16X, the AT-MIO -16X al so ha s ei ght digital I/O lines th at
can sink up to 24 mA of current, and three independe nt 16-bit
counter/timers for frequency counting, event counting, and pulse
output applications. The AT-MIO-16X has timer-generated inte rrupts,
a high-performance RTSI bus interface, and four triggers for
system-level timing.
You can use the AT-MIO-16X, 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 tw o ana log outp ut cha nnels a re use ful for
machine and process co ntro l, a nalog fu nc tion g en eration, 16- bit
resolution voltage source, and pro grammab le signal attenu ation. You
can use the eight TTL-compatible digital I/O lines for machine and
process control, intermac hine co mmunic ation, and r elay switching
control. The three 16-bit counter/timers are useful for such functions
as pulse and clock gener ation , time d con trol o f labo ratory equipm e nt,
and frequency, event, and pulse-width measurement. With all these
functions on one bo ard, yo u ca n au to matica lly m onitor and co ntro l
laboratory processes.
Chapter 1Introduction
The AT-MIO-16X is interfaced to the National Instruments RTSI bus.
With this bus, National Instru ments A T Se ries b oa rds ca n se nd timing
signals to each other. T he A T-M IO-16 X can send sign als from th e
onboard counter/timer to another board, or another board can control
single and multiple A/D con version s on the AT -MIO -16X .
Detailed specifications for the AT-MIO-16X are listed in Appendix A,
Specifications.
What You Need to Get Started
To set up and use y our AT -MIO -16X Serie s b oa rd, y ou will nee d the
following:
National Instruments Corporation1-3AT-MIO-16X User Manual
Chapter 1Introduction
AT-MIO-16X User Man ual
❑
❑ One of the following software packages and documentation:
ComponentWorks
LabVIEW for Windows
LabWindows/CVI fo r W indo ws
Measure
NI-DAQ for PC Compatibles
VirtualBen ch
❑ Your comp uter
Software Programming Choices
You have several options to choose from w hen progra mming you r
National Instruments DAQ and SCXI hardware. You can use National
Instruments application software, NI-DAQ, or register-level
programming.
National Instruments Application Software
ComponentWorks con tains tools for data acq uisition and instr ument
control built on NI-DAQ driver softw are. Component Works provide s 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 po werf ul g raphic al progr am ming langua ge. The
LabVIEW Data Acquisition VI L ibra r y, a se ries of V Is fo r using
LabVIEW with National Instruments DAQ hardware, is included with
LabVIEW. The LabVIEW D ata A cquisitio n VI Libr ar y is functiona lly
equivalent to NI-DAQ software.
LabWindows/CVI features interactive graphics, state-of-the-art user
interface, and uses th e ANSI standa rd C pr ogr am ming la nguage . The
LabWindows/CVI Data Ac quisition Lib rary, a se ries of fun ctions f or
using LabWindows/CVI with National Instruments DAQ hardware, is
included with the NI-DAQ software kit. The LabWindow s/CVI Data
Acquisition Library is functionally equivalent to the NI-D AQ sof twar e.
VirtualBench features virtual instruments that combine DAQ products,
software, and your co mputer to creat e a stand-alone in strument with the
added benefit of the processing, display, and storage capabilities of
your computer. VirtualBench instruments load and save waveform data
to disk in th e s ame form s th at ca n be u sed i n pop ular sp re ad she et
programs and w ord proc e ssors.
Using ComponentWork s, LabVIE W, LabWindo ws /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 sof tware is included at no ch ar ge with all National
Instruments DAQ hardware. NI-DAQ is not packaged with SCXI or
accessory products, except for the SCXI-1200. NI-DAQ has an
extensive library of functions that you can call from your ap plicatio n
programmin g enviro nment. These func tions in clude r outines for anal og
input (A/D conversion), buffered data acquisition (high-sp eed A/D
conversion), analog outp ut ( D/A con version ), wavef orm g eneration
(timed D/A conversion), digital I/O, counter/timer operations, SCXI,
RTSI, self-calibration, messaging, and acquiring data to extended
memory.
Chapter 1Introduction
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. Ex am ples of h igh- leve l func tions are stre aming data to
disk or acquiring a certain number of data po ints. An examp le 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-DAQ also internal ly addr esses many of the co mplex i ssues bet wee n
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 lan guages o r Na tional I nstrum ents
application software, your ap plication use s the NI-DAQ driv er
software, as illustrated in Figure 1-1.
National Instruments Corporation1-5AT-MIO-16X User Manual
Chapter 1Introduction
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 t o wr it e r eg iste r- lev el softw are . Writ ing re gist er-l ev el
programming software can be very time-c on sum ing and ine ffi cient,
and is not recomm en de d f or mo st u s ers .
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 applica tion sof tware to pro gram you r Nation al Inst rume nts
DAQ hardware is ea sier than, and as flexib le as, regi ster- lev el
programming, and can sa ve w ee ks of deve lopment time.
National Instruments offers a var iety of pr odu cts to use w ith yo ur
AT-MIO-16X board, inclu ding cables, c onnector bloc ks, and other
accessories, as follows:
•Cables and cable assemblies, shielded and ribb on
•Connector blocks, shield ed and uns hielde d 50 a nd 68-pin scr ew
terminals
•Real Time System Integration (RTSI) 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 signa l con ditioning module s, bo ards, and
accessories, including co nditionin g for strain ga uges a nd RT Ds,
simultaneous sample and ho ld, and re lays
For more specific information about these products, refer to your
National Instruments catalogue or call the office nearest you.
Chapter 1Introduction
Unpacking
Your AT-MIO-16X board is shipped in an antistatic package to prevent
electrostatic damage to the board. Electrostatic discharge can damage
several com ponents on the board. To avoid such damage in handling the
board, take the following pre cautions:
•Ground yourself via a ground ing strap or by hold ing 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 fro m the package and in spect the board for loose
components or an y o ther sig n o f dama ge. No tif y Nationa l
Instruments if the board appears da maged in any way. Do not
install a damaged board into your computer.
Figure 2-2. AT-MIO-16X with 68-Pin I/O Connector Parts Locator Diagram
Board Configuration
The AT-MIO-16X contain s one DIP switch to conf igure the base
address selection for the AT bus interface. The remaining resource
selections, such as DMA and interrupt channel selections, are
determined by programming the individual reg isters in the
AT-MIO-16X register set. The general location of the registers in the
I/O space of the PC is determined by the base address selection, whereas
the specific location of the registers within the register set is determined
by the AT-MIO-16X dec ode c irc uitry.
AT Bus Interface
Operation of the AT-MIO-16X multifunction I/O board is controlled
through accesses to registers within the board register set. Some of th e
registers in the register set retain data written to them to determine
board operation. Other registers in the register set contain impo rtant
status information necessary for proper sequencing of events. Still other
registers perform functions by accessing them either by reading from or
writing to their location. However, these registers do not retain
pertinent data when written to, nor do they provide pertinent status
information when read.
The PC defines accesses to plug- in boa rds to be I/O mappe d acc esses
within the I/O space of the computer. Locations are either written to or
read from as bytes or words. Each register in the register set is mapped
to a certain offset from the base address selection of the board as read
or write, and as a word or byte location as defined by the decode
circuitry.
Base I/O Address Selection
The AT-MIO-16X is conf igur ed a t the f actor y to a ba se I /O addre ss
of 220 hex. This base address setting is suitable for most systems.
However, if your sy stem has othe r har dw are at this ba se I/O a ddre ss,
you must change either the AT-MIO-16X base address DIP switch or
the other hardware base address to avoid a conflict. Figure 2-3 shows a
graphical representation of the b ase add ress se lection D IP switc h, a nd
also shows how to reconfigure the selected base address.
Switch up for 1
Switch down for 0
Chapter 2Configuration and Installation
U112
12345
O
N
O
F
F
A7
A9
A8
A6
A5
A. Switches Set to Base I/O Address of Hex 000
U112
12345
Switch up for 1
Switch down for 0
O
N
O
F
F
A9
A8
A7
A6
A5
B. Switches Set to Base I/O Address of Hex 220 (Factory Setting)
National Instruments Corporation2-3AT-MIO-16X User Manual
Example Base I/O Address Switch Settings
Chapter 2Configuration and Installation
The base address DIP switch is arranged so that a logical 1 or true state
for the associated address selection bit is selected by pushing the toggle
switch up, or toward the top of the board. A lternate ly, a logical 0 or
false state is selected by pushing the toggle switch down, or toward the
bottom of the board. In Figur e 2-3B, A 9 is up (tr ue), A8 thro ugh A6
are low (false), and A5 is up (true). This repres ents a binary value of
10001XXXXX, or hex 220. The Xs indicate don’t care bits and are the
five least significant bits (LSBs) of the a ddre ss (A 4 throu gh A0 ) use d
by the AT-MIO-16X circuitry to decode the individual register
selections. The don’t care bits indicate the size of the register space. In
this case, the AT-MIO-16X u ses I/O a ddress he x 2 20 th rough h ex 23 F
in the factory-default setting.
Note:If you change the AT-MIO-16X base I/O addres s, yo u must make a
corresponding change to any so ftware pac kage s you use with the
AT-MIO-16X. Table 2-1 lists the default settings of other National
Instruments products for the PC. Table 2-2 lists the possible switch
settings, the corresponding base I/O address, and the base I/O address
space used for that setting. For more information about the I/O address
of your PC, refer to the technical reference manual for your computer.
Table 2-1. Default Settings of National Instruments Products for the PC
The base I/O address selection is the only resource on the AT-MIO-16X
board that must be set manually before the board is placed into the PC.
The interrupt level and DMA channels used by the AT-MIO-16X are
selected via registers in the AT-MIO-16X register set. The
AT-MIO-16X powers up with all interrupt and DMA requests disabled.
To use the interrupt capability of the AT-MIO-16X, an interrupt level
must first be selected via register programming, then the specific
interrupt mode must be enabled. The same method holds for DMA
channel selection. To use the DMA capability of the board, one or two
DMA channels must be selected through the appropriate register, then
the specific DMA mode must be enabled. It is possible to have interrupt
and DMA resourc es con cur rently en ab led.
The interrupt lines supported by the AT-MIO-16X hardware are IRQ3,
IRQ4, IRQ5, IRQ7, IRQ10, IRQ11, IRQ12, and IRQ15. The DMA
channels supported are Channe ls 0 through 3, and Channe ls 5
through 7. If you use the AT-MIO-16X in an AT-ty pe compute r, you
should only use DMA Channels 5 through 7 beca use these are the only
16-bit channels available. If you use the board in an EISA computer, all
channels are capable of 16- bit transfers an d you can use them . The
AT-MIO-16X does not use and cannot be configured to use th e 8-b it
DMA Channels 0 throug h 3 o n the PC I /O chan ne l fo r 16-bit tra nsf ers.
Chapter 2Configuration and Installation
Analog Input Configuration
The analog input section of the AT-MIO-16X is software configurable.
You can select different analog in put config urations by progr amming
the appropriate register in the AT-MIO-16X register set. The following
paragraphs describe in detail each of the analog input categories.
Input Mode
The AT-MIO-16X offer s th ree diff er ent inpu t m odesSE) inp ut,
referenced single-en de d (RSE ) in put, and diff eren tial (DI FF) input.
The single-ended input conf igura tions use u p to 16 cha nnels. T he
DIFF input configuration uses up to eight channels. Input modes are
programmed on a per chann el basis for multimode scanning. For
example, the circuitry can be conf igured to effectively sca n
12 channels, four diffe rentia lly c onfigur ed cha nne ls and ei ght
single-ended channels. The in put configura tions are de scribe d in
Table 2-3.
input of the PGIA tied to AI SENSE and not
connected to ground.
While reading the following paragraphs, you may find it helpful to refer
to the Analog Input Signal Connections section later in this chapter,
which contains diagrams showing the signal paths for the three
configurations.
DIFF Input (Eight Channels)
DIFF input means that each input signal has its own reference, an d the
difference bet ween each sign al and its re ference is me asured. The signa l
and its reference are assigned an input channel. This is the
recommended con figura tion. With this inpu t c onfigur ation , th e
AT-MIO-16X can monitor up to eigh t different ana log input signals.
This configuration is se lect ed v ia softwa re. See th e co nfig uration
memory register a nd T abl e 4-9 i n Cha pt er 4, Register Map and Descriptions. The results of this configuration are as follows:
•One of Channels 0 thro ugh 7 is tied to the p ositive (+) inpu t of
the PGIA.
•One of Channe ls 8 thro ugh 15 is tied to the neg ative (–) inp ut o f
the PGIA.
•Multiplexer control is configured to control up to eight input
channels.
•AI SENSE may be driven by the board analog input ground or left
unconnected.
Considerations for using the DIFF input configuration are discussed in
the Signal Connections section later in this chapter. Figure 2-8 shows a
schematic diagram of this configuration.