9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310,
45
76
31
30, Italy 02/48301892,
Sweden 08-730 49
Japan
70,
Switzerland 056/20
26
00,
Finland
(03)
3788-1921, Netherlands 03480-33466,
51
(90)
51,
527
2321, France (1) 48
U.K.
0635
523545
14
24
24,
Norway
32-848400,
Limited
Warranty
The NB-MI0-16X is warranted against defects in materials and workmanship
of
shipment,
replace equipment that proves
The media on which you receive National Instruments software are warranted not to fail
instructions, due
evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software
media that
the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted
or error
A Return Material Authorization
outside of the package before
shipping costs
National Instruments believes that
reviewed for technical accuracy.
reserves the right
edition. The reader should consult National Instruments
Instruments be liable for
EXCEPT
AND
SPECIFICALLY
PURPOSE.
OF
NATIONAL
NATIONAL
USE
OF
THEREOF.
whether in contract or tort, including negligence.
one year after the cause of action accrues. National Instruments shall not be liable for
to
causes beyond its reasonable control. The warranty provided herein does not cover damages, defects,
malfunctions, or service failures caused by owner's failure
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.
as
evidenced by receipts or other documentation. National Instruments will,
to
be defective during
to
defects in materials and workmanship, for a period of 90
do
not execute programming instructions
free.
(RMA)
any
of
returning
to
AS
SPECIFIED
CUSTOMER'S
INSTRUMENTS
INSTRUMENTS
PRODUCTS,
This limitation of the liability of National Instruments will apply regardless of the
to
the owner parts which are covered by warranty.
make changes
any
damages arising out of or related
HEREIN,
DISCLAIMS
RIGHT
SHALL
WILL
OR
INCIDENT
In
NATIONAL
TO
number must be obtained
equipment
the
the event that technical or typographical errors exist, National Instruments
to
subsequent editions of this document without prior notice
ANY
RECOVER
NOT
AL
will
information
WARRANTY
BE
LlMITED
BE
LlABLE
OR
CONSEQUENTIAL
the
warranty period. This warranty includes parts and labor.
if
National Instruments receives notice of such defects during
be
accepted for warranty
in
this manual
if
errors are suspected.
INSTRUMENTS
OF
MERCHANT
DAMAGES
FOR
Any
CAUSED
TO
THE
AMOUNT
DAMAGES
action against National Instruments must be brought within
to
follow the National Instruments installation, operation,
from
is
accurate. The document has been carefully
to
this document or
MAKES
DAMAGES,
NOW
ABILITY
BY
RESULTING
for
a period of one year
at
its option, repair or
to
execute programming
days
from date of shipment,
the factory and clearly marked on the
work.
National Instruments will pay
In
no
event shall National
the
information contained in
ARRANTIES,
OR
FITNESS
FAULT
THERETOFORE
EVEN
OR
FROM
IF
EXPRESS
FOR
NEGLlGENCE
PAID
BY
LOSS
OF
ADVISED
OF
form
any
delay in performance
from
as
to
holders of this
OR
IMPLlED,
AP
ARTICULAR
ON
THE
THE
CUSTOMER.
DATA,
PRoms.
THE
POSSIBILITY
of
action,
the date
the
it
PART
due
Copyright
Under
the
copyright laws, this publication
mechanical, including photocopying, recording, storing
the
in part, without
prior written consent of National Instruments Corporation.
may
not be reproduced or transmitted
in
an
information retrieval system, or translating, in whole or
Trademarks
Lab
VIEW®,
Product and company names listed are trademarks or trade names
NI-DAQ®.
and
RTSI®
are trademarks of National Instruments Corporation.
in
any
form,
of
their respective companies.
electronic or
Warning Regarding Medical and Clinical Use
of
National Instruments Products
National Instruments products are
for
use
suitable
medical
part of
the
medical
traditional medical safeguards, equipment, and procedures that are appropriate in the particular situation
serious injury or death should always continue
National Instruments products are
equipment used
in treatment and diagnosis of
or
clinical treatment can create a potential
user or application designer.
or
clinical treatment must
to
monitor or safeguard human health
not
designed
Any
be
performed
NOT
intended to be a substitute for
with
components
humans.
use
to be
Applications of National Instruments products involving
for
accidental injury caused
or application of National Instruments products
by
properly trained
used
and
and
testing intended
and
qualified medical personnel,
when
National Instruments products are being
any
form
safety
in
medical
or
to
ensure
by
product failure, or
of established process, procedure,
clinical treatment
a level of reliability
by
for
or involving
and
errors
all
to
prevent
used.
on
the
or
Preface
This manual describes the mechanical and electrical aspects
information concerning its operation and programming. The NB-MI0-16X is a high-performance
multifunction analog, digital, and timing input/output
NB-MI0-16X
The
two 12-bit digital-to-analog converters (DACs) with voltage outputs, eight lines
I/0,
digital
required, you can use the AMUX-64T multiplexer board.
and three 16-bit counter/timer channels for timing
contains a 16-bit analog-to-digital converter (ADC) with up to
of
the NB-MI0-16X and contains
(I/0)
board for Macintosh NuBus computers.
16
analog inputs,
of
TIL-compatible
I/0.
If
additional analog inputs are
Organization of This Manual
TheNB-MI0-16X
" Chapter
kit, the optional software, and the optional equipment; and explains how to unpack the
NB-MI0-16X.
" Chapter 2, Configuration and Installation, explains board configuration, installation
NB-MI0-16X
and cable wiring.
" Chapter 3, Theory
explains the operation
1,
User Manual is organized as follows:
Introduction, describes the NB-MI0-16X; lists the contents
in the Macintosh NuBus computer, signal connections to the NB-MI0-16X,
of
Operation, contains a functional overview
of
each functional unit making up the NB-MI0-16X.
of
of
your NB-MI0-16X
the NB-MI0-16X and
of
the
" Chapter 4, Programming, describes in detail the address and function
NB-MI0-16X
NB-MI0-16X.
the
" Chapter 5, Calibration Procedures, discusses the calibration procedures for the NB-MI0-16X
analog input and analog output circuitry.
" Appendix A, Specifications, lists the specifications
" Appendix
I/0
connector.
" Appendix C,
AmZ8073A System Controller (Advanced Micro Devices, Inc.) integrated circuit. This circuit
is used on the NB-MI0-16X.
" Appendix D, Customer Communication, contains forms for you
communication with National Instruments concerning our products.
" The Index contains an alphabetical list
the page where each one can
registers. This chapter also includes important information about programming
of
the NB-MI0-16X.
B,
I/0
Connector, contains the pinout and signal names for the NB-MI0-16X 50-pin
AMD
Data Sheet, contains the manufacturer data sheet for the Am9513Af
of
key terms and topics used in this manual, including
Consult the following National Instruments manuals
if
you plan to program
DMA
operations with
this board:
0
The
NB-DMA-8-G User Manual (part number 320097-01)
0
The
NB-DMA2800 User Manual (part number 320240-01)
Customer Communication
National Instruments wants to receive your comments on our products and manuals.
interested in the applications you develop with our products, and we want to help
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
NB-MI0-16X, with its multifunction analog, digital, and timing
automation
of
machine and process control, level monitoring and control, instrumentation,
electronic test, and many other functions. The multichannel analog input can
I/0,
can be used for
be used for signal
and transient analysis, data logging, and chromatography. The two analog output channels can be
used for machine and process control, analog function generation, 12-bit resolution voltage source,
I/0
and programmable signal attenuation. The eight TTL-compatible digital
machine and process control, intermachine communication, and relay switching control. The
16-bit counter/timers can be used for pulse and clock generation, timed control
lines can be used for
three
of
laboratory
equipment, and frequency, event, and pulse-width measurement. With all these functions on one
board, laboratory processes can be automatically monitored and controlled.
If
additional analog
inputs are required, you can use the AMUX-64T multiplexer board. This four-to-one multiplexer
can process
64
single-ended inputs.
Up
to
four AMUX-64T boards can be cascaded to obtain 256
single-ended inputs.
The
NB-MI0-16X has an interface to the National Instruments RTSI bus. This bus sends timing
signals between National Instruments NB Series boards. The NB-MI0-16X can send signals
from the onboard counter/timer to another board, or another board can control single and multiple
AID conversions on the NB-MI0-16X.
The
NB-MI0-16X is available in two conversion speeds and two gain ranges, for a total
The
analog input signals. The NB-MI0-16XH
and 8 for high-level analog input signals. The
µsec
capable
I
NB-MI0-16XL
conversion rate, which is about 24 kbytes/sec. The NB-MI0-16X(L/H)-18 has an ADC
of
an 18
has software-programmable gain settings
has software programmable gain settings
NB-MI0-16X(LJH)-42 has an ADC capable
µsec
conversion rate, which is about 55 kbytes/sec.
of
1, 10, 100, and 500 for low-level
Introduction
of
1, 2, 4,
of
a 42
Detailed specifications for the NB-MI0-16X are included
What
Each version
follows.
Kit
Your
of
Name
Kit Should Contain
the NB-MI0-16X board has a different part number and kit part number, listed as
Kit
Part
Number
in
Appendix A, Specifications.
Kit
Component
Board
Part
Number
NB-MI0-16XL-18
NB-MI0-16XL-42 776259-02
NB-MI0-16XH-18
NB-MI0-16XH-42
The board part number is printed on your board along the top edge on the component side. You
can identify which version
the preceding table.
776259-01 NB-MI0-16XL-18 board 180675-01
NB-MI0-16XL-42 board 180675-02
776259-11
776259-12 NB-MI0-16XH-42 board
of
the NB-MI0-16X board you have by looking up the part number in
NB-MI0-16XH-18 board
180675-11
180675-12
In addition to the board, each version
Kit
NB-MI0-16X
NI-DAQ software for Macintosh, with manuals 776181-01
NI-DAQfor Macintosh Software Reference Manual 320103-01
If
your kit is missing any
Instruments.
Your
NB-MI0-16X
of
functions that can be called from your application programming environment These functions
include routines for analog input
conversion), analog output (D/A conversion), waveform generation, digital
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 MPW C,
QuickBASIC. Any language that uses Device Manager Toolbox calls can access NI-DAQ.
User Manual 320157-01
of
the components or
is shipped with the NI-DAQ software for Macintosh. NI-DAQ has a library
of
the NB-MI0-16X kit contains the following components.
Component
if
you received the wrong version, contact National
(ND
conversion), buffered data acquisition (high-speed
This manual contains complete instructions for directly programming the NB-MI0-16X.
to
Normally, however, you should not need
manual because the NI-DAQ software package for controlling the NB-MI0-16X is included with
the board. Using NI-DAQ is quicker and easier than and
programming described in Chapter 4,
read the low-level programming details in the user
as
flexible as using the low-level
Programming.
1
The NB-MI0-16X can also
be
used with Lab VIEW (part number 776141-01), a software system
that features interactive graphics, a state-of-the-art user interface, and a powerful graphical
programming language. The Lab VIEW Data Acquisition VI Library, a series of VIs
for
using
Lab VIEW with the NB-MI0-16X and other National Instruments boards, is included with
Lab
This chapter explains board configuration, installation
NuBus computer, signal connections to the NB-MI0-16X,
and
Installation
of
the NB-MI0-16X in the Macintosh
and
cable wiring.
Board Configuration
The NB-MI0-16X has 10 jumpers that determine the analog input and analog output
configurations
Jumpers W3, W5, and
W9, and WlO configure the analog output circuitry.
of
the board. The jumpers are shown in the parts locator diagram in Figure 2-1.
W8
configure the analog input circuitry. Jumpers
Wl,
W2, W4, W6, W7,
Jumper Settings
The NB-MI0-16X is shipped from the factory with the following configuration:
• Differential analog input
•
10
V input range
• ±10 V output range with internal 10 V reference selected
(8
channels)
" Two's complement
Table 2-1 lists all the available jumper configurations for the NB-MI0-16X with the factory
settings noted.
Considerations for using the
this chapter. Figure 2-18 shows a schematic diagram
NRSE
NRSE input means that all input signals are referenced to the same common mode voltage but that
this common mode voltage
NB-MI0-16X board.
instrumentation amplifier.
sources. See
NB-MI0-16X can measure 16 different analog input signals having the same ground reference.
You select the NRSE input configuration by setting jumpers W3 and W5 as follows:
Input
Types
(16 Channels)
of
RSE
is allowed to float with respect to the analog ground
Tiris common mode voltage is subsequently subtracted out by the input
Tiris· configuration is useful when measuring ground-referenced signal
Signal Sources later in this chapter. With this input configuration, the
C
configuration are discussed under Signal Connections later
of
this configuration.
of
the
in
W3:
A-B
C-E
G-H
W5:
B-C
Tiris configuration is shown
AI SENSE is tied to the negative (-) input
Jumper is placed in standby position. (C and E are always connected
together inside the board.)
Multiplexer outputs are tied together into the positive (
instrumentation amplifier.
Multiplexer control is configured for 16 input channels.
Considerations for using the NRSE configuration are discussed under Signal Connections later in
of
this chapter. Figure 2-19 shows a schematic diagram
this configuration.
Configuration
and
Installation
Input
The
input range by setting jumper
Chapter 4,
If
you are using NI-DAQ, the BP*/UP bit is automatically set to the correct value when you
specify the input range and polarity in the AI_ Config call.
Figures 2-5 and 2-6 show the jumper positions for the 5 V
+ 10 V or -10 V to + 10 V) input range configurations, respectively.
Polarity
NB-MI0-16X
Programming), as follows:
Bipolar
Unipolar
and
Input
has four different input ranges. You select the
Range
W8
and the BP*/UP bit
5VRange
SetW8
BP*/UP Cleared BP*/UP Cleared
SetW8
BP*/UP Set BP*/UP Set
to A-B
to A-B
W8
in
Command Register 1 (described in
lOVRange
SetW8
SetW8
(0 to +5 V or -5 to +5 V) and 10 V (0
NB-MI0-16X
toB-C
toB-C
input polarity and
to
I·
--
c B A
Figure 2-5. 5 V Input Configuration
W8
C B A
Figure 2-6. 10 V Input Configuration (Factory Setting)
Considerations
Input polarity/range selection depends on the expected input range
input range can accommodate a large signal variation but sacrifices voltage resolution. Choosing a
smaller input range increases voltage resolution but may result in the input signal going out
range. For best results, the input range should be matched as closely as possible to the expected
Software-programmable gain on the NB-MI0-16X increases overall flexibility by matching input
signal ranges to those accommodated by the NB-MI0-16X ADC. The NB-MI0-16XH board has
of
1,
gains
2, 4, and 8 and is suited for high-level signals near the range
NB-MI0-16XL board is designed to measure low-level signals and has gains
500. With the proper gain setting, the
signal. Table
2-3 shows the overall input range and precision according to the input range
full resolution
of
the ADC can be used to measure the input
of
the ADC. The
of
l,
10, 100, and
configuration and gain used.
Table 2-3. Actual Range and Measurement Precision Versus Input Range Selection and Gain
Range Configuration Gain Actual Input Range Precision*
Oto+SV 1
2 0
4
8
10
100 0 to +o.05 V
500
Oto+lOV
1
2
4
8 0 to
10
100
500
-5
to +SY
1
2 -2.5 to +2.5 V 76.3
4
8 -0.625 to +o.625 V 19.1
10 -0.5 to +o.5 V 15.3
500
-10 to +lOV
1
2 -5 to
4 -2.5 to +2.5 V 76.3 µV
8 -1.25 to + 1.25 V
10
100 -0.1 to
500 -20 mV to +20
Oto+S
0 to
V
to
+2.5 V 38.1
+l.25
V
76.3
19.1
0 to +o.625 V 9.54
0 to +o.5 V 7.63
763nV
Oto+lOmV
Oto+lOV
0
to+S
V 76.3
153nV
153µV
0 to +2.5 V 38.1
+l.25
Oto+l
Oto+o.l
V
V 15.3
V 1.53
Oto+20mV
-5 to +5 V
19.1 µV
305nV
153µV
-1.25 to + 1.25 V 38.1
-lOmVto+lOmV
-lOto+lOV
+5
V
305nV
305µV
153µV
38.1
-1
to+l
V 30.5
+o.l
V 3.05
mV
610nV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
µV
* The value
NB-MI0-16X
of
l least significant bit
(1
LSB)
of
voltage increment corresponding to a change
count.
You can select different analog output configurations by using the jumper settings shown in
Table 2-1. The following paragraphs describe each
Output
Configuration
of
the analog output configurations in detail.
External and Internal Reference
Each analog output channel can be connected to the NB-MI0-16X internal reference
the external reference signal connected to the EXTREF pin (pin 22) on the
channels need not be configured the same way, although only one
10
V) can be used at a time. (You cannot, for example, use the internal
of
I/0
the internal references
10
V reference on Channel
0 and the internal 5 V reference on Channel 1.)
External Reference Selection
You select the external reference signal for each analog output channel by setting the following
jumpers:
Analog Output Channel
Analog Output Channel
0:
W2 A - B External reference signal connected
reference input.
1:
Wl
A - B External reference signal connected to DAC 1
reference input.
of
10 V or
connector. Both
(5
to
DAC 0
to
V or
This configuration is shown
in
Figure 2-7.
W2
-·I
A B C
Channel 0
Figure 2-7. External Reference Configuration
Wl
-. I
A B C
Channel 1
Internal Reference Selection (Factory Setting)
You select the onboard reference for each analog output channel by setting the following jumpers:
0:
Analog Output Channel
Analog Output Channel
This configuration is shown in Figure 2-8.
W2 B - C Onboard reference connected to DAC O reference
input.
1:
Wl
B - C Onboard reference connected to DAC 1 reference