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
reconfigure your software to reflect any changes in
or
Lab
jumper
VIEW
or
2, you may need to
switch settings.
Installation
Within the manual shipped with your Macintosh computer, read the instructions for installing the
unit
video card in the main
Read the entire installation procedure before installing the
can install the
noise performance, you should leave as much room as possible between the
other boards and hardware.
the only other board in the computer, you should install it in Slot 3
NB-MI0-16X
These instructions can be used as a universal board installation guide.
in
For
any
of
the Macintosh NuBus slots. However, to achieve best
instance,
NB-MI0-16X
if
the video board is in Slot 1 and the
into the Macintosh. You
NB-MI0-16X
NB-MI0-16X
or
4.
and
is
Signal Connections
This section describes input and output signal connections to the
NB-MI0-16X
specifications for the signals provided on the
Warning:
I/0
connector. This section includes connection instructions and some
NB-MI0-16X
Connections that exceed any
NB-MI0-16X
computer. Maximum input ratings for each signal are given
discussion
from any such signal connections.
The signals on the connector can be classified as analog input signals, analog output signals, digital
I/0
signals, digital power connections, and timing
connection guidelines for each
Analog
Pins 1 through 19
Input
Signal Connections
of
the
I/0
of
these groups.
connector are analog input signal pins. Pins 1 and 2 are AI GND
I/0
signals. The following sections have signal
signal pins. AI GND is an analog input common signal that is routed directly to the ground tie
point on the NB-MI0-16X. These pins can be used for a general analog power ground tie point to
the
NB-MI0-16X
connected internally to the negative (-) input of the NB-MI0-16X instrumentation amplifier.
DIFF mode, this signal
signals connected to ACH<7
instrumentation amplifier, and signals connected
input
of
the NB-MI0-16X instrumentation amplifier.
The following input ranges and maximum ratings apply to inputs ACH<15
Differential Input Range
Common Mode Input Range
Input Range
Maximum Input Voltage Rating
Warning:
18
are ACH<15
of
the NB-MI0-16X.
the positive(+) input
..
0>
signal pins. These pins are tied to the 16 analog input
In
single-ended mode, signals connected to
of
the NB-MI0-16X instrumentation amplifier.
..
0> are routed to the positive(+) input
to
ACH<15
..
±lOV
±7 V with respect to NB-MI0-16X AGND
±12 V with respect to
±20 V for
±35 V for
NB-MI0-16X
NB-MI0-16X
Exceeding the differential and common mode input ranges
of
ACH<l5
the
NB-MI0-16X
..
0> are
In
DIFF mode,
8> are routed to the negative(-)
..
0>:
NB-MI0-16X
AGND
board powered off
board powered on
will
result in distorted
input signals. Exceeding the maximum input voltage rating may result in damage
the
NB-MI0-16X
board and to the Macintosh computer. National Instruments is
not liable for any damages resulting from any such signal connections.
of
Connection
analog input signals to the NB-MI0-16X depends on the configuration
NB-MI0-16X analog input circuitry and the type
of
input signal source. The different
of
the
NB-MI0-16X configurations allow the NB-MI0-16X instrumentation amplifier to be used in
of
the
different ways. Figure 2-15 shows a diagram
NB-MI0-16X
instrumentation amplifier.
to
VIN +
o------1
+
V M
Measured
Voltage
Figure 2-15. NB-MI0-16X Instrumentation Amplifier
The NB-MI0-16X instrumentation amplifier applies gain, common-mode voltage rejection, and
high-input impedance to the analog input signals connected to the NB-MI0-16X board. Signals
of
are routed to the positive ( +) and negative (-) inputs
the instrumentation amplifier through input
multiplexers on the NB-MI0-16X. The instrumentation amplifier converts two input signals to a
of
signal that is the difference between the two input signals multiplied by the gain setting
amplifier. The amplifier output voltage is referenced to the
NB-MI0-16X
All signals must
NB-MI0-16X.
at the NB-MI0-16X.
connection at the NB-MI0-16X.
The following sections have connection guidelines for single-ended and differential configurations
and for grounded and floating signal sources.
ADC
measures this output voltage when
be
referenced
If
you have a floating source, you must use a ground-referenced input connection
If
to
ground somewhere, either at the source device or at the
you have a grounded source,
NB-MI0-16X
it
performs
you
must use a non-referenced input
ND
ground. The
conversions.
Types of Signal Sources
When configuring the input mode
first determine whether the signal source is floating or ground-referenced. These two types
signals are described in the following sections.
Floating
A floating signal source is one that is not connected in any way to the building ground system but
rather has an isolated ground reference point. Some examples
outputs
isolation amplifiers. The ground reference
analog input ground in order to establish a local or onboard reference for the signal. Otherwise,
the measured input signal varies or appears to float.
isolated output falls into the floating signal source category.
Signal Sources
of
transformers, thermocouples, battery-powered devices, optical isolator outputs, and
of
the NB-MI0-16X and making signal connections, you must
of
floating signal sources are
of
a floating signal must be tied to the NB-MI0-16X
An
instrument or device that provides an
of
Ground-Referenced
A ground-referenced signal source is one that is connected in some way to the building system
ground and is therefore already connected to a common ground point with respect to the
NB-MI0-16X
isolated outputs
category.
The
difference
system is typically between 1 m V and 100 m V, but can
circuits are not properly connected.
difference may show up as an error in the measurement. The following connection instructions for
grounded signal sources are designed to eliminate this ground potential difference from the
measured signal.
Input
The
NB-MI0-16X
following sections discuss the use
considerations for measuring both floating and ground-referenced signal sources. Table 2-4
summarizes the recommended input configuration for both types
board, assuming that the Macintosh is plugged into the same power system. Non-
of
in
ground potential between two instruments connected
Configurations
Signal
instruments and devices that plug into the building power system fall into this
can
be
configured for one
Sources
to
the same building power
be
much higher
If
a grounded signal source is measured improperly, this
Table 2-4. Recommended Input Configurations for Ground-Referenced
and Floating Signal Sources
Configuration
and
Installation
Type
of
Signal
Recommended
Input
Configuration
Ground-Referenced DIFF
(non-isolated outputs,
NRSE
plug-in instruments)
Floating
(batteries, thermocouples,
DIFF with bias resistors
RSE
isolated outputs)
Differential
Connection
Considerations
(DIFF
Configuration)
Differential connections are those in which each NB-MI0-16X analog input signals has its own
reference signal or signal return path. These connections are available when the
configured in the DIFF mode. Each input signal is tied to the positive(+) input
instrumentation amplifier, and its reference signal, or return, is tied to the negative (-) input
NB-MI0-16X
of
the
of
the
instrumentation amplifier.
When the NB-MI0-16X is configured for DIFF input, each signal uses two
of
the multiplexer
inputs-one for the signal and one for its reference signal. Therefore, only eight analog input
The
channels are available when using the DIFF configuration.
be
used when any
of
the following conditions are present:
DIFF input configuration should
is
• Input signals are low-level (less than 1 V).
• Leads connecting the signals
• Any
of
the input signals requires a separate ground reference point or return signal.
to
the NB-MI0-16X are greater than 15
ft
• The signal leads travel through noisy environments.
Differential signal connections reduce induced noise and increase common mode signal and noise
rejection. They also permit input signals to float within the common mode limits
of
the input
instrumentation amplifier.
Differential Connections for
Figure 2-16 shows how to connect a ground-referenced signal source to an
configured for DIFF input. Configuration instructions are included under
Figure 2-17. Differential Input Connections for Floating Sources
The
100
kQ
resistors shown in Figure 2-17 create a return path to ground for the bias currents
the instrumentation amplifier.
If
a return path is not provided, the instrumentation amplifier bias
of
currents charge up stray capacitances, resulting in uncontrollable drift and possible saturation in the
amplifier. Typically, values from 10
to 100
kQ
are used.
kQ
A resistor from each input to ground, as shown in Figure 2-17, provides bias current return paths
for an AC-coupled input signal. This solution, although necessary for AC-coupled signals, lowers
of
the input impedance
the analog input channel. In addition, the input offset current
instrumentation amplifier contributes a
of
±15
maximum input offset current
by
the 100
offset voltage drift
kQ
resistor,
of
this
current contributes a maximum offset voltage
2 µV/°C at the input. Keep this in mind when you observe DC offsets with
nA
DC
offset voltage at the
input
and a typical offset current drift
The
amplifier has a
of
±20
of
1.5 mV and a typical
of
pN°C.
the
Multiplied
AC-coupled inputs.
If
the input signal is DC-coupled, then only the resistor connecting the negative (-) signal input to
ground is needed.
or
cause an offset at the
This connection does not lower the input impedance
Single-ended connections are those in which all NB-MI0-16X analog input signals are referenced
to
one common ground. The input signals are tied to the positive ( +) input
of
the instrumentation
amplifier, and their common ground point is tied to its negative (-) input.
When the
NB-MI0-16X
is configured for single-ended input (NRSE or RSE), 16 analog input
channels are available. Single-ended input connections can be used when the following criteria are
met by all input signals:
..
Input signals are high-level (greater than 1 V).
..
Leads connecting the signals
..
All input signals share a common reference signal (at the source).
If
any
of
the above criteria is not met, using DIFF input configuration is recommended.
The NB-MI0-16X can be jumper configured for two different types
RSE configuration and NRSE configuration. The RSE configuration
to
the NB-MI0-16X are less than 15 ft.
of
single-ended connections-
is
used for floating signal
sources. In this case, the NB-MI0-16X provides the reference ground point for the external
signal. The NRSE configuration is used for ground-referenced signal sources. In this case, the
external signal supplies its own reference ground point and the NB-MI0-16X should not supply
one.
Single-Ended Connections for Floating Signal Sources (RSE Configuration)
Figure 2-18 shows how to connect a floating signal source
for single-ended
input
input to make these types
Input Configuration
The NB-MI0-16X analog input circuitry must be configured for RSE
of
connections. Configuration instructions are included under Analog
earlier in this chapter.
to
an NB-MI0-16X board configured
Floating
Signal
Source
NB-MI0-16X
ACH<0
..
15>
..
1,2
I/0
Connector
Figure 2-18. Single-Ended Input Connections for Floating Signal Sources
Single-Ended Connections for Grounded Signal Sources (NRSE Configuration)
If
a grounded signal source is to
NB-MI0-16X
positive (
reference
ground point
difference between the
must be configured
+) input
is
of
the
NB-MI0-16X
connected to the negative(-) input
of
the signal should therefore be connected to the AI SENSE pin.
NB-MI0-16X
signal at both the positive ( +) and negative (-) inputs
difference
NB-MI0-16X
potentials appears as
is rejected
by
the amplifier. On the other hand,
is referenced to ground, such as
an
error
be
measured with a single-ended configuration, then the
in
the NRSE input configuration.
The
signal
instrumentation amplifier and the signal local ground
of
the
NB-MI0-16X
instrumentation amplifier. The
ground and the signal ground appears as a common mode
of
the instrumentation amplifier, and this
if
the input circuitry
in
the RSE configuration, this difference in ground
in
the measured voltage.
is
connected to the
Any
potential
of
the
Figure 2-19 shows how to connect a grounded signal source to an
in
the NRSE configuration. Configuration instructions are included under Analog Input
Configuration
Grmmd-
earlier
in
this chapter.
•
ACH<0
..
15>
NB-MI0-16X
board configured
•
Input Multiplexer
+
Measured
Voltage
I/0
Connector
NB-MI0-16X Board
Figure 2-19. Single-Ended Input Connections
in NRSE Input Configuration
for
Grounded Signal Sources
Common Mode Signal Rejection Considerations
Figures 2-16 and 2-19 show connections for signal sources that are already referenced to some
ground point with respect to the
reject any voltage due to ground potential differences between the signal source and the
NB-MI0-16X.
In addition, with differential input connections, the instrumentation amplifier can
The minimum allowed pulse width is
low-to-high edge. There is no maximum pulse width limitation. EXTCONV* should be high for
at least 50 nsec before going low. The EXTCONV* signal is one LS
+5 V through a 4.7
2
ill
ND
conversion starts within
100 nsec from this point
Figure 2-23. EXTCONV* Signal Timing
50
nsec.
An
AID conversion starts within 100 nsec
resistor.
Configuration
lw 50 nsec minimum
TTL
load and is pulled up to
and
Installation
of
the
Note:
Any data acquisition sequence controlled
be initiated by an external trigger applied to the STARTTRIG* pin.
by the EXTCONV* signal,
counters are initialized and armed, applying a falling edge to the
counters, thereby initiating a data acquisition sequence.
The data acquisition operation is initiated by the high-to-low edge
2-25 shows the timing requirements for the STARTTRIG* signal.
EXTCONV* is also driven by the output
This counter is also referred to as the sample-interval counter. The output
must be disabled to a high-impedance state
pulses applied to the EXTCONV* pin.
output signal can be monitored at the EXTCONV* pin.
by
STARTIRIG*
vlli-~-0;;:.~
V
1L
-=--tw-=--~i
[ tw 50 nsec minimum
of
Counter 3
if
AID conversions are to be controlled
If
Counter 3 is used to control AID conversions, its
the onboard sample-interval and sample counters can
does not affect the acquisition timing. Once the two
~
of
the Am9513A Counterffimer.
STARTIRIG*
}----
of
Counter 3
If
conversions are generated
pin starts the
of
the applied pulse. Figure
by
First
ND
conversion starts within
1 sample interval from this point
Figure 2-24. STARTTRIG* Signal Timing
The
first
AID
The minimum allowed pulse width is 50 nsec.
interval from the high-to-low edge. The sample interval is controlled
There is no maximum pulse width limitation; however,
50
nsec before going low. The STARTIRIG* signal is one LS TTL load and is pulled up to +5 V
kO
through a 4.7
The STOPTRIG pin
resistor.
is used during NB-MI0-16X pretriggered data acquisition operations. In
STARTIRIG*
should be high for at least
pretriggered mode, the data acquisition operation is started but no sample counting occurs until a
rising edge is applied to the STOPTRIG pin. The acquisition then completes when the sample
counter decrements
to
0. This mode acquires data both before and after a hardware trigger is
received. Figure 2-25 shows the timing requirements for the STOPTRIG signal.
Figure 2-25. STOPTRIG Signal Timing
The STOPTRIG signal is pulled up to +5 V through a 4.7
kQ
resistor.
General-Purpose
Timing
Signal Connections
The general-purpose timing signals include the GATE, SOURCE, and OUT signals for the
Arn9513A Counters
and 5
of
the Arn9513A Counterffimer can be used for general-purpose applications such as pulse
1,
2, and 5, and the FOUT signal generated
by
the Arn9513A. Counters
1,
2,
and square wave generation, event counting, and pulse-width, time-lapse, and frequency
measurements. For these applications, SOURCE and GATE signals can be directly applied to the
counters from the
The Arn9513A Counterffimer
programming information, consult the Arn9513A data sheet
I/0
connector, and the counters are programmed for various operations.
is described briefly in Chapter 3, Theory
in
Appendix C,
of
Operation. For detailed
AMD
Data Sheet. For detailed applications information, consult the technical manual The Am9513A/Am9513 System
Timing Controller published by Advanced Micro Devices, Inc.
Pulses and square waves can be produced by programming Counter 1, 2, or 5 to generate a pulse
signal at its OUT output pin or to toggle the OUT signal each time the counter reaches the terminal
count.
For event counting, one
any
of
the Arn9513A SOURCE inputs. The counter value can then be read to determine the
of
the counters is programmed to count rising or falling edges applied to
number of edges that have occurred. Counter operation can be gated on and off during event
counting. Figure 2-26 shows connections for a typical event-counting operation where a switch is
used to gate the counter on and off.
Figure 2-26. Event-Counting Application with External Switch Gating
To
perform pulse-width measurement, a counter is programmed to be level gated. The pulse to
measured is applied
signal at the GATE input is either high
timebase, then the pulse width is equal
For
time-lapse measurement, a counter
counter GATE input to start the counter. The counter can
receiving either a high-to-low edge or a low-to-high edge.
an internal timebase, then the time lapse since receiving the edge
to
the counter GATE input.
or
to
is
The
low.
counter
If
the counter is programmed
is
programmed to count while the
to
count an internal
the counter value multiplied by the timebase period.
programmed to be edge gated. An edge is applied to the
be
programmed to start counting after
If
the counter is programmed
is equal to the counter value
multiplied by the timebase period.
to
be
count
To
measure frequency, a counter is programmed to
counted in a signal applied to a SOURCE input.
of
some known duration. In this case, the counter is programmed to count either rising
is
falling edges at the SOURCE input while the gate is applied.
be
level gated and the rising
The
gate signal applied to the counter GATE input
The
frequency
or
falling edges are
of
the input signal
or
then the count value divided by the known gate period. Figure 2-27 shows the connections for a
be
frequency measurement application. A second counter could also
more counters can be concatenated by tying the OUT signal from one counter
of
SOURCE signal
another counter. The counters can then be treated as one 32-bit or 48-bit
counter for most counting applications.
1,
The GATE, SOURCE, and OUT signals for Counters
2, and 5, and the FOUT output signal are
tied directly from the Am9513A input and output pins to the
and SOURCE pins are pulled up to +5 V through a 4.7
ill
NB-MI0-16X
I/0
connector.
resistor.
Counter
Board
In
to
the
addition, the
GA
TE
The following specifications and ratings apply
to
the Am9513A
I/0
Absolute maximum voltage
input rating:
V to + 7 .0 V with respect to
-0.5
Am9513A Digital Input Specifications (referenced to DIG GND):
Vrn:
input logic high voltage: 2.2 V minimum
VIL input logic low voltage: 0.8 V maximum
Input load current:
±10
µA
maximum
Am9513A Digital Output Specifications (referenced to DIG GND):
In addition to the signals applied to the SOURCE and
internal timebase clocks from the clock signal supplied by the NB-MI0-16X. These clocks can be
used as counting sources, and they have a maximum skew
in
SOURCE signal shown
GA
TE
inputs,
AMD
Data Sheet, for further details.
Specifications for signals at the GATE input are referenced to the signal at the SOURCE input or
of
one
to the rising edge
before the rising or falling edge
shown by
after the rismg
gate high or low period must be at least 145 nsec in duration.
the gate signal cannot be synchronized with the clock.
edge take effect either on that source edge or on the next one.
uncertainty
Signals generated at the OUT output are referenced to the signal at the SOURCE input
the Am9513A internally generated clock signals. Figure 2-28 shows the
the rising edge
source signal rising
the Am9513A internally generated signals. Figure 2-28 shows the
Cabling
inputs,
of
a source signal. The gate must be valid (either high
tgsu
and
!izh
or
falling edge
of
one source clock period with respect to unsynchronized gating sources.
of
a source signal. Any OUT signal state changes occur within 300 nsec after the
or
and
Figure 2-28 represents any
or
internal timebase clocks. See the Am9513A data sheet in Appendix C,
of
a source signal for the gate to take effect at that source edge (as
in Figure 2-28). Similarly, the gate signal must
of
a source signal for the gate to take effect at that source edge. The
falling edge.
Field
Wiring
GATE
of
inputs, the Am9513A generates five
of
7 5 nsec between them. The
the signals applied at the SOURCE
GATE
or
be
held for at least 10 nsec
If
an internal timebase clock is used,
In
this case, gates applied close to a source
signal referenced
low) at least 100 nsec
This arrangement provides an
or
OUT
signal referenced to
to one
of
This section discusses cabling and field wiring guidelines for the
Field
Accuracy
environmental noise
between signal sources and the NB-MI0-16X board. The following recommendations apply
mainly to analog input signal -routing to the
signal routing in general.
Noise pickup can be minimized and measurement accuracy maximized by doing the following:
• Use individually shielded, twisted-pair wires
• Use differential analog input connections to reject common mode noise.
The following recommendations apply for all signal connections to the NB-MI0-16X:
• Physically separate
Wiring
of
measurements made with the NB-MI0-16X can
NB-MI0-16X. With this type
twisted together and then covered with a shield. This shield is then connected at only one point
to the signal source ground. This kind
areas with large magnetic fields or high electromagnetic interference.
lines are capable
run in parallel paths at a close distance. Reduce the magnetic coupling between lines
separating them
angles to each other.
Considerations
if
proper considerations are not taken into account when running signal wires
NB-MI0-16X
to
connect analog input signals to the
of
wire, the signals attached to the
of
connection is required for signals traveling through
NB-MI0-16X
of
inducing currents in or voltages on the
by
a reasonable distance
signal lines from high-current
if
they run in parallel, or by running the lines at right
• Protect
equipment, breakers, or transformers by running the
NB-MI0-16X
NB-MI0-16X
signal lines through conduits that also contain power lines.
signal lines from magnetic fields caused by electric motors, welding
NB-MI0-16X
signal lines through special
metal conduits.
Cabling
Considerations
National Instruments has a cable termination accessory, the CB-50, for use with the NB-MI0-16X
board. This kit includes a terminated 50-conductor flat ribbon cable and a connector block. Signal
I/0
leads can
NB-MI0-16X
be
attached
I/0
to
screw terminals on the connector block and thereby connected to the
connector.
The CB-50 is useful for prototyping an application or in situations where NB-MI0-16X
interconnections are frequently changed. Once a final field wiring scheme has been developed,
to
however, you may wish
guidelines for design
The NB-MI0-16X
I/0
develop your own cable. This section contains information and
of
such a cable.
connector is a 50-pin male ribbon cable header. Recommended
manufacturer part numbers for this header are as follows:
3M Scotchflex
T &B Corporation/ Ansley Electronics Division
part number 3596-5002
part number 609-5007
The mating connector for the NB-MI0-16X is a 50-position, ribbon socket connector, polarized,
with strain relief. National Instruments uses a polarized (keyed) connector to prevent inadvertent
upside down connection to the NB-MI0-16X. Recommended manufacturer part numbers for this
mating connector are as follows:
3M
Scotchflex
T &B Corporation/ Ansley Electronics Division
part number 3425-7650
part number 609-5041CE
A standard ribbon cable (50-conductor, 28 A WG, stranded) can be used with these connectors.
Recommended manufacturer part numbers for this ribbon cable are as follows:
3M Scotchflex
T &B Corporation/ Ansley Electronics Division
In making your own cabling, you may want
to
shield your cables. The following guidelines may
part number 3365/50
part number 171-50
help:
For the analog input signals, shielded twisted-pair wires for each analog input pair yield the
best results, assuming that differential inputs are used. Tie the shield for each signal pair to the
at
ground reference
the source.
The analog lines, pins 1 through 23, should be routed separately from the digital lines, pins 24
through 50.
of
When using a cable shield, use separate shields for the analog and digital halves
the cable.
Failure to do so will result in noise from switching digital signals coupling into the analog
signals.
control and monitor the operation of the NB-MI0-16X multiple
Theory
interrupt
of
Operation
The slot-decoding circuitry on the NB-MI0-16X matches NuBus address lines 24 through
slot
ID
lines provided by the slot in which the board resides. This matching
determine when the slot that it occupies
a unique slot address. The NuBus address lines O through
latches. These address lines
to generate
through
with both the 24-bit and 32-bit
The NB-MI0-16X
NuBus. The NuBus interface timing signals are decoded by the NB-MI0-16X NuBus interface
timing circuitry, which generates
circuitry. The
clock is also buffered onboard, and generates a 1
MHz
The
configuration ROM
NB-MI0-16X board. This
required by the
identify the board.
The NB-MI0-16X
interrupt line.
select
23
are
clocks for running the
signals for
left undecoded
is
a 16-bit interface board and therefore uses only
NuBus
NuBus
is
able
are
decoded
the
onboard configuration ROM and other registers. Address lines
by
the
bus
the
10 MHz clock
ADC.
is
an
8 kilobyte EPROM that contains information pertinent to the
ROM
and
is
used
to
cause interrupts in the Macintosh
is
being addressed. Each slot in the Macintosh
19
are latched by the onboard address
by
the NB-MI0-16X address-decoding circuitry in order
NB-MI0-16X board so that the NB-MI0-16X
modes
is
read
by
used by the Macintosh NuBus.
16
proper read and write signals for the remaining NB-MI0-16X
is
used to clock the NuBus interface timing circuitry. This
MHz
clock for the counter/timer and
by
the Macintosh Slot Manager at system startup. It
the
Macintosh operating system and other software
NuBus
is
used by the board
is
of
the
32 data lines on the
by driving the NuBus
27
to
NuBus
compatible
2,
5,
and
is
to
NMR
to
has
20
10
Analog
The NB-MI0-16X handles
16-bit
automatic timing
triggering, gating, and clocking. Figure
acquisition circuitry.
AID
Input
conversion. In addition,
of
and
multiple
Data Acquisition Circuitry
16
channels of analog input with software-programmable gain and
AID
conversions and includes advanced options
the
NB-MI0-16X contains data acquisition circuitry for
such
as
external
3-3
shows a block diagram of the analog input and data
The analog input circuitry consists
software-programmable gain instrumentation amplifier, a 16-bit ADC, and a 16-bit FIFO.
The input multiplexer consists
channels. Multiplexer MUXO is connected to analog input channels O through 7. Multiplexer
MUXl
overvoltage protection
The multiplexer mode selection jumpers configure the analog input channels as 16 single-ended
inputs
multiplexers are tied together and routed to the positive
The negative(-) input
input
NRSE input.
of
the instrumentation amplifier, and the output
instrumentation amplifier.
The instrumentation amplifier fulfills two purposes
differential input signal into a single-ended signal with respect to the NB-MI0-16X ground for a
minimum input common mode rejection ratio
signal to
converted The instrumentation amplifier also applies gain to the input signal, allowing an input
analog signal to be amplified before being sampled and converted, and thus increasing
measurement resolution and accuracy. The gain
software control. The
100,
and
8.
Input
is connected to analog input channels 8 through 15.
or
8 differential inputs. When single-ended mode is selected, the outputs
or
to the analog return
be extracted from any common mode voltage
and
500.
Circuitry
of
of
When
DIFF mode is selected, the output
NB-MI0-16XL
The
NB-MI0-16XH
of
an input multiplexer, multiplexer mode selection jumpers, a
of
two CMOS analog input multiplexers and has 16 analog input
The
input multiplexers provide input
±35 V powered on and ±20 V powered off.
(+)input
the instrumentation amplifier is tied to the NB-MI0-16X ground for RSE
of
the input signals via the AISENSE input on the
of
MUXO is routed to the positive ( +) input
of
MUXl
on
of75
of
the instrumentation amplifier is selected under
(L
stands for low-level signals) provides gains
(H
stands for high-level signals) provides gains
is
the NB-MI0-16X
dB. This conversion allows the input analog
or
noise before being sampled and
of
the instrumentation amplifier.
routed to the negative(-) input
board
of
the two
I/0
connector for
It converts a
of
of
1,
of
1,
2, 4,
the
10,
Selection
The
multiplexer address bits to the input multiplexers and multiplexer mode selection circuitry that
select the analog input channels. Operation
under
The
converter allows the
provides a 16-bit digital word that represents the value
converter input range. The ADC supports four input ranges that can be selected by setting jumpers
on
the board and setting a software bit: -10
NB-MI0-16X
When an
FIFO is 16 bits wide and 16 words deep. This FIFO serves as a buff
two benefits. Any time an
reading, and the
AID
16
time (16 times the sample interval) to catch up with the hardware.
stored
occurs and
of
the analog input channel and the gain settings is controlled by the mux-gain memory.
mux-gain memory provides two gain control bits to the instrumentation amplifier and four
of
the mux-gain memory is explained in more detail
Data
Acquisition
ADC
is a 16-bit successive approximation sampling ADC. The 16-bit resolution
ADC
AID
conversion is complete, the ADC clocks the result into the
ADC
conversion values before any information is lost, thus allowing software
in
the
AID
AID
conversion information is lost.
Timing
ADC
is available
is free to start a new conversion. Secondly, the
FIFO and the
Circuitry
to resolve its input range into 65536 different steps. This resolution also
FIFO generates a signal that indicates when it contains
this signal can be read from the NB-MI0-16X Status Register. This signal can be used to generate
DMA
a
The
complement numbers. Straight binary numbers range from
numbers range from -32768 to +32767. Two's complement numbers are generated on the board
from straight binary numbers by inverting the most significant bit.
request signal
NB-MI0-16X can be programmed to generate either straight binary numbers
or
to generate an interrupt
AID
conversion data. The state
Oto
65535; two's complement
or
Chapter
of
two's
3
Data
A data acquisition operation refers to the process
sample interval (the time between successive
acquisition timing circuitry consists
acquisition are supported
channel data acquisition with continuous scanning, and multiple-channel data acquisition with
interval scanning.
Scanned data acquisition uses the mux counter and the mux-gain memory to automatically switch
between analog input channels during data acquisition. Continuous scanning cycles through the
mux-gain memory without any delays between cycles. Interval scanning assigns a time interval
called the
the time between starts for each cycle through the mux-gain memory.
Data acquisition timing consists
individual
sources for these signals
connected to the
connected to the RTSI bus.
Single
on
data acquisition, the onboard sample-interval counter (Counter 3
generates pulses that initiate
applying a stream
control over the sample interval and the number
Acquisition Timing Circuitry
of
by
the NB-MI0-16X board: single-channel data acquisition, multiple-
scan
the
interval
AID
conversions, gate the data acquisition operation, and generate scanning clocks. The
NB-MI0-16X
AID
conversions can be initiated by applying an active low pulse to the EXTCONV* input
I/0
connector
to each cycle through the mux-gain memory. The scan interval is basically
of
signals that initiate a data acquisition operation, initiate
can
be supplied by timers
I/0
connector,
or
writing
of
pulses at the EXTCONV*
to
the Start Convert Register
AID
conversions. The sample interval can be controlled externally by
of
taking a sequence
AID
conversions) carefully timed. The data
various clocks and timing signals. Three types
on
the
NB-MI0-16X
or
by signals from other NB Series boards
on
input
of
In
this case, you have complete external
AID
conversions performed.
of
AID
conversions with the
board, by signals
the
NB-MI0-16X
of
the Am9513A Counter/Timer)
board. During
of
data
The sample-interval timer is a 16-bit down counter that can be used with the five internal timebases
of
the Am9513A to generate sample intervals from 2 µsec to 6 sec (see
of
this chapter). The sample-interval timer can also use any
as
Am9513A
given by the internal timebase
generates a pulse and reloads with the programmed sample-interval
continues until data acquisition halts.
Data acquisition can be controlled by the onboard sample counter. This counter is loaded with the
number
16-bit for counts up to 65535
Counter 4
concatenated with Counter 5
decrements its count each time the sample-interval counter generates an
the sample counter stops the data acquisition process when
NB-MI0-16X
a timebase. During data acquisition, the sample interval counts down at the rate
or
external clock. Each time the sample-interval timer reaches 0,
of
samples to be taken during a data acquisition operation. The sample counter can be
or
32-bit for counts up to
of
the Am9513A Counter/Timer is used.
of
the Am9513A to form a 32-bit counter. The sample counter
The sample counter can be triggered externally with the STOPTRIG input on the NB-MI0-16X
connector. The counter does not begin counting
on
signal occurs
before and after a hardware trigger
The data acquisition process can
NB-MI0-16X board or by applying
NB-MI0-16X
sample-interval counter then manages
reaches
0.
Single°Channel
During single-channel data acquisition,
STOPTRIG. With this method,
is
received.
be
initiated by writing
an
active low pulse
I/0
connector. These triggers start the sample-interval
the
data acquisition process until the sample counter
Data
Acquisition
the
the
ND
conversion pulses until a rising edge
ND
conversion samples can be collected both
to
the Start DAQ Register
to
the STARTIRIG* input
mux-gain memory is set
on
and
sample counters. The
up
to
select
the
the
on
gain
the
and
analog
input channel before data acquisition is initiated. These gain and multiplexer settings remain
constant during the entire data acquisition process; therefore, all
conversion data is
read
from
ND
single channel.
Multiple°Channel (Scanned)
Data
Acquisition
Multiple-channel data acquisition is performed by enabling scanning during data acquisition.
the
Multiple-channel scanning-is controlled by
mux counter and
the
mux-gain memory.
I/0
a
The mux-gain memory consists of
(4
multiplexer address
if
indicating
the entry is the last in the scan sequence. The mux-gain memory address is controlled
bits) for input analog channel selection, a gain setting
by the mux counter. Whenever a mux-gain memory address location
and
gain control bits contained in that memory location are applied
16
words of memory. Each word of memory contains a
(2
bits), and a bit
is
selected,
to
the analog input circuitry.
the
multiplexer
For scanning operations, the mux counter steps through successive locations in the mux-gain
memory at a rate determined
arbitrary sequence of channels
the scan clock. The mux-gain memory, therefore, allows
(16
maximum), with a separate gain setting for each channel
an
to
be
by
clocked through during a scanning operation.
to
Both the mux counter and the mux-gain memory can be directly written
registers. For writing purposes, the mux counter serves as a pointer
any
The counter can be loaded with
counter also allows scanning
to
start at
The SCANCLK signal is generated
the beginning of each
ND
conversion. The SCANCLK signal
4-bit value
any
from
to
point to any mux-gain memory location. This
location in the mux-gain memory.
the
sample-interval counter. This signal pulses once
is
supplied at the
through NB-MI0-16X
to
the mux-gain memory.
I/0
connector.
at
During multiple-channel scanning, the mux counter is incremented repeatedly, thereby sequencing
and
through the mux-gain memory
data acquisition. The MUXCTRCLK signal is generated from
pulses that increment the mux counter. MUXCTRCLK can be identical
incrementing the mux counter once after every
generated
allows the mux counter
can be performed
by
dividing SCANCLK
to
be incremented once every N
on
a single channel
automatically selecting new channel and gain settings during
the
SCANCLK
to
ND
conversion. MUXCTRCLK can also
by
Counter 1 of the Am9513A Counter/Timer. This method
The
output range. A unipolar output has an output voltage range
output provides an output voltage range
output corresponds to a digital code word
input
code word
code word
code word.
For unipolar output, use the following formula:
3
DAC
output op amps can be jumper configured to provide either a unipolar
of
is
jumper
-Vref to + V ref
of
0. For bipolar output, the form
selectable.
of
2,048.
of
0. One LSB is the voltage increment corresponding to an LSB change
If
straight binary form is selected, 0 V output corresponds to a digital
If
two's complement form is selected, 0 V output corresponds to a digital
-1
of
O to + V ref - 1 LSB
LSB V.
For
unipolar output, 0 V
Theory
or
of
the digital code
of
bipolar voltage
V.
A bipolar
in
the digital
Operation
1 LSB
For bipolar output, use the following formula:
1 LSB
The voltage reference source for each DAC
externally at the EXTREF input
signal.
AC signal appears
Bipolar output with an AC reference provides four-quadrant multiplication, which means that the
signal
2,047.
This attenuation is equivalent to multiplying the signal by (digital code word)
The internal voltage reference
buffer either produces 5 V or multiplies its input by 2 to give 10 V. Using the internal reference
supplies an output voltage range
2.44 m V for unipolar output and an output voltage range
or
-10 V to +9 .9951 V in steps
= Vref
4,096
= Vref
2,048
is
jumper selectable and can be supplied either
or
internally. The external reference can be either a
If
an
AC
reference is applied, the analog output channel acts as a signal attenuator, and the
at
the output attenuated by the digital code divided by 4,096 for unipolar output
is
inverted for digital codes -2,048 through -1, and
In
two's complement mode, a digital code word
is a buffered version
of
Oto 4.9988
of
4.88 m V for bipolar output.
of
Vin
DC
or
an AC
not
inverted for digital codes 1 through
of
O attenuates the input signal to O V.
I 2,048.
the 5 V reference supplied by the ADC. This
steps
of
1.22 m V or Oto 9.9976
of
-5 V to +4.9976 V in steps
Vin
of
steps
2.44 m V
of
Digital
The
NB-MI0-16X
lines each and are located at pins
shows a block diagram
uses an Am9513A Counter/Timer for data acquisition timing and for general-
J/0
functions. Figure 3-6 shows a block diagram
.A
( RTSI Bus
""
j l J
~
~'
1 ,
-
-
~
'"'
.s
C.I
~
=
-
~
=
=
u
0
--
-
-
'
, '
j l
....
....
-
--
-
-
-
-
-
-
FOUT
GATEl
SOURCEl
OUTl
GATE2
SOURCE2
OUT2
GATES
SOURCES
OUTS
Am9S13A
S-Channel
Counter/
Timer
OUTl
OUT2
OUTS
GATE3
SOURCE3
OUT3
GATE4
SOURCE4
OUT4
-
--
~
~
~
-
-
~
...._
of
1MHz
Clock
,
16
\'
'2
the timing
+
10
Am9S13A
......
-
::.
Data
Acquisition
Timing
-
-
-
--
J/0
circuitry .
NuBus
- (10MHz)
DATA<lS
RD/WR
~8
..
Clock
O>
~
....:i
u
,:
~
~
:>
u
C:
X
~
-
-
-
!I.
,1.
(I)
=
-
-
=
z
EXTCONV*
STARTTRIG*
STOPIRIG
A j
l
~
-
'./
The Am9513A contains five independent 16-bit counter/timers, a 4-bit frequency output channel,
and five internally generated timebases. The five counter/timers can be programmed to operate in
several timing modes. The programming and operation
Appendix C,
The Am9513A clock input is a 1 MHz clock generated from the NuBus 10
Am9513A uses this clock input to generate five internal timebases. These timebases can be used
clocks by the counter/timers and by the frequency output channel. The five internal timebases
normally used for
100 Hz.
The 16-bit counters in the Am9513A are diagrammed
AMD Data Sheet.
1 ' , '
RTSI Bus
"-I If"
NB-MI0-16X
-
Figure 3-6. Timing
-
-
timing functions are 1 MHz, 100 kHz, 10 kHz, 1 kHz, and
Each counter has a SOURCE input pin, a GA TE input pin, and an output pin labeled OUT. The
Am9513A counters are numbered 1 through 5, and their GATE, SOURCE, and
labeled GATE
For
counting operations, the counters can be programmed to use any
any
of
the five GA TE and five SOURCE inputs to the Am9513A, and the output
N,
SOURCE
N,
and
OUT
N,
where N is the counter number.
of
the five internal timebases,
OUT
pins are
of
the previous
counter (Counter 4 uses Counter 3 output, and so on). A counter can be configured to count either
falling
The
operation through software, a signal at the
operation. There are five gating modes supported
or
rising edges
counter
of
the selected input.
GA
TE input allows counter operation to be gated. Once a counter is configured for an
GA
TE input can be used to start and stop counter
by
the Am9513A: no gating, level gating active
high, level gating active low, low-to-high edge gating, and high-to-low edge gating. A counter can
also
be active high level gated by a signal at GA
TEN+
1 and
GA
TE N-1, where N is the counter
number.
The counter generates timing signals at its OUT output pin. The OUT output pin can also
a high-impedance state
signals during counter operation: terminal count
counter reaches
TC
counter reloads from an internal register when
counter generates a pulse during the cycle that it reaches
mode, the counter output changes state after it reaches
can be configured for positive logic output
or
a grounded output state. The counters generate two types
(fC)
pulse output, and
when
it
counts up
or
down and rolls over.
it
reaches TC.
TC
or
negative (inverted) logic output for a total
In
In
TC
TC
and reloads.
and reloads.
many counter applications, the
pulse output mode, the
TC
toggle
In
TC
In
addition, the counters
output
toggle output
of
output
of
be
A
four
possible output signals generated for one timing mode.
The SOURCE, GATE, and OUT pins for Counters
located on the NB-MI0-16X
I/0
connector. A rising edge signal on the STOPTRIG pin
connector sets the flip-flop output signal connected to the GA TE4 input
be used as an additional gate
input
The flip-flop output connected to GA TE4 is cleared when the
sample counter reaches TC, when an overflow or overrun occurs, or when the
is
written to.
The Am9513A SOURCES pin is connected to the
1,
2, and 5
of
NB-MI0-16X
the onboard Am9513A are
of
the
of
the Am9513A and can
ND
Clear Register
RTSI switch, which means that a
signal from the RTSI trigger bus can be used as a counting source for the Am9513A counters.
The Am9513A OUT2 pin
Command Register 1, an active low pulse
OUT2 can also be used to trigger interrupt requests.
rising edge signal
interrupt on an external signal connected
Counters 3 and 4
made available for general-purpose timing applications. Signals generated at OUT3 and OUT4 are
provided to the data acquisition timing circuitry. GATE3 is controlled
timing circuitry.
Counter 5 is used
a 32-bit sample counter whenever the 16*/32CNT bit in Command Register I is set high. The
SCANCLK signal
divide the SCANCLK signal for generating the MUXCTRCLK signal (see Data Acquisition
Timing
Counter 2 is sometimes used by the data acquisition timing circuitry to assign a time interval
each cycle through the scan sequence programmed in the mux-gain memory. This mode is called
interval channel scanning. See
The Am9513A
FOUT
can be selected as the frequency output source. The frequency output channel divides the selected
source by its
Circuitry earlier in this chapter).
pin. Any
is
of
the Am9513A are dedicated to data acquisition timing and therefore are not
by
is
4-bit programmable frequency output channel is provided at the
of
the five internal timebases and any
4-bit programmed value and provides the divided-down signal at the
can
be
used in several different ways.
on
OUT2 updates the analog output on the two DACs.
If
this
detected on OUT2. This interrupt can be used to update the DACs
to OUT2 through the
the data acquisition timing circuitry and concatenated with Counter 4 to form
connected to the SOURCE3 input
Multiple-Channel (
of
Scanned)
of
the counter SOURCE or
the Am9513A.
If
the
TMRWGEN
bit
is set, an interrupt occurs when a
I/0
connector.
by
the data acquisition
OUTI
Data Acquisition earlier
bit is set in
or
can be used to
in
this
I/0
connector
GATE
FOUT
to
to
chapter.
inputs
pin.
RTSI
The
trigger lines, seven
Series boards with
these signals. A block diagram
Bus
NB-MI0-16X
Interface
is interfaced to the National Instrument RTSI bus. The
DMA
RTSI
request lines, and eight interrupt lines. All National Instruments NB
bus connectors can be wired together inside the Macintosh and share
Circuitry
RTSI
of
the RTSI bus interface circuitry is shown in Figure 3-8.
Figure 3-8. RTSI Bus Interface Circuitry Block Diagram
Figure 3-8 shows the DMA driver circuitry, the interrupt driver circuitry, and the RTSI switch.
These drivers and the RTSI switch route NB-MI0-16X signals to and from the RTSI bus.
The seven RTSI
routes the NB-MI0-16X
DMAA<2
DMA
..
0>. DMAA<2
request lines are driven by the
DMA
DMA
request signal onto the
..
0> are controlled by an NB-MI0-16X register.
driver circuitry. The DMA driver
DMA
request line selected by the bits
The eight RTSI interrupt lines are driven by the interrupt driver circuitry. The interrupt driver
routes the NB-MI0-16X interrupt signal onto the interrupt line selected by the bits
ID*<2
RTSI interrupt line selected is determined by the slot containing the NB-
..
0> are provided at the NuBus connector and are unique to each NuBus slot; therefore the
MI0-16X
The RTSI switch is a National Instruments custom integrated circuit that acts as a seven
crossbar switch. Pins B<6
are connected to seven signals
A<6
..
0> onto any one
trigger line signals onto any one
NB-MI0-16X
User
Manual
..
0> are connected to the seven RTSI bus trigger lines. Pins A<6
on
the board. The RTSI switch can drive any
or
more
of
the seven RTSI bus trigger lines and can drive any
or
more
of
the pins A<6
3-14
..
0>. This capability provides a
@National Instruments Corporation
ID*<2
..
0>.
board.
by
seven
of
the signals at pins
of
the seven
..
0>
Chapter
3 Theory
of
Operation
completely flexible signal interconnection scheme for any NB Series board sharing the RTSI bus.
The RTSI switch is programmed via its select and data inputs.
On
the
NB-MI0-16X
of
the aid
shared with the
additional drivers. The signals
NB-MI0-16X
signal is connected to the
are shared with the
connected to the
generation. These onboard interconnections allow
board, nine signals are connected to pins A<6
I/0
connector and Am9S 13A Counter/fimer. The SOURCES
Am9Sl3A
I/0
connector and the data acquisition timing circuitry. The RTSIWG signal is
DI
A circuitry to permit use
SOURCES pin. The EXTCONV* and STARTTRIG* signals
GATEl,
of
OUTl,
timing signals from the RTSI for waveform
NB-MI0-16X
..
0>
of
the
RTSI
switch with
OUT2, OUTS, and STOPTRIG are
general-purpose and data
acquisition timing to be controlled over the RTSI bus as well as externally and allow the
NB-MI0-16X
and the
I/0
connector to provide timing signals to other NB Series boards connected
The register map for the NB-MI0-16X is shown in Table 4-2. This table lists the register name,
the register address offset from the slot starting address, the type
only,
or
Each register address in Table
the absolute address
address given in Table 4-1.
memory manager is
is, address
in 32-bit mode, the RTSI Switch Strobe Register is at address C 0004
address FBOC 0004.
The address decoding circuitry on the NB-MI0-16X is such that using a slot starting address
FssO
0000 (where
memory modes.
NB-MI0-16X
Map
read and write), and the size of the register in bits.
4-2 is the offset address from the slot starting address. To calculate
of
the register, add the register offset given in Table 4-2 to the slot starting
For
BO
0018 (hex).
User
Manual
example,
in
24-bit mode, the AID Clear Register is at address 00 0018 +
If
the NB-MI0-16X is plugged into slot
thesis
replaced by the slot number) properly accesses all registers in both
Base address + C 0000
Base address + C 0004 Write-only 8-bit
Read-only 16-bit
Write-only 16-bit
Write-only 8-bit
Register Sizes
The Macintosh supports three different memory word sizes for memory read and write operations:
byte (8-bit), half-word (16-bit), and word (32-bit). Table 4-2 shows the word sizes
NB-MI0-16X
16-bit (half-word) read operation at the specified address, whereas writing to the RTSI Switch
Strobe Register requires an 8-bit (byte) write operation at the specified address.
Register
Table 4-2 divides the
of
each
of
registers. For example, reading the
ND
FIFO Memory Register requires a
Description
NB-MI0-16X
the registers making up these groups is included later in this chapter.
registers into seven different register groups. A bit description
The Configuration and Status Register Group controls the overall operation
hardware. The Event Strobe Group is a group
events on the NB-MI0-16X board. The registers
of
registers that, when written to, generate some
in
the Analog Output Group access the
of
the NB-MI0-16X
NB-MI0-16X DACs. The Analog Input Group allows the ADC output to be read. The
Counter/f
The registers in the Digital
imer Group consists
J/0
of
the three registers
of
the onboard Am9513A Counter/fimer chip.
Group access the onboard digital input and output lines. The
registers in the RTSI Switch Group control the onboard RTSI switch. Finally, the configuration
EPROM is not a set
of
registers but rather onboard read-only memory that contains information
required by the Macintosh operating system.
Register Description
The remainder
of
this register description section discusses each
Format
of
the NB-MI0-16X registers in
the order shown in Table 4-2. Each register group is introduced, followed by a detailed bit
description
and bit map
The register bit map shows a diagram
16-bit register, bit 7 for an 8-bit register) shown on the left, and the least significant bit (bit
shown on the
inside its rectangle.
of
each register. The individual register description gives the address, type, word size,
of
the register, followed
right
A rectangle is used to represent each bit. Each bit is labeled with a name
An asterisk (*) after the bit name indicates that the bit is inverted (negative
by
a description
of
the register with the most significant bit (bit
of
each bit.
15
for a
0)
logic).
In many
bits. When a register is read, these bits may appear set
they are not used. When a register is written to, setting
of
the registers, several bits are labeled with an X, indicating that these bits are don't care
or
cleared but should be ignored because
or
clearing these bit locations has no effect
on the NB-MI0-16X hardware.
The bit map field for some write-only registers may contain the message
not applicable, no bits
used. Writing to these registers generates a strobe in the NB-MI0-16X. These strobes are used to
cause some onboard events to occur.
For
example, they can be used to clear the analog input
circuitry or to start a data acquisition operation. The data itself is actually ignored when writing to
these registers; therefore, any bit pattern will suffice.
These three bits select the internal clock rate for the ADC.
CLK<2
0 1 0 for the
slow internal clock rate, which produces unreliable conversions, and
so this combination should
results
ADC
but
This bit enables or disables generation
completion
operation is a multiple
controlled
onboard sample counter generates this interrupt
down
external conversion timing is used, this interrupt does
this bit is set, an interrupt is generated whenever a data acquisition
operation completes.
Notice that the CMPLINT interrupt is asserted when the last
conversion
last conversion is finished.
This bit enables and disables the generation
AID
interrupt is generated whenever an
read from the
generated.
.. 0> should
NB-MI0-16X-18.
in
a very high internal clock rate. This setting permits the
on the
at reduced and unspecified accuracy.
to
conversion results are available.
NB-MI0-16X-18
of
by
O and the
of
be
set
to O O 1 for the
Setting them to 0.0.0 generates a
not
be used. Setting them to O 1 1
to sample as fast as about 10
a data acquisition operation. A data acquisition
ND
conversion sequence that is timed and
the
NB-MI0-16X
AID
conversion scan sequence is complete.
If
this
a data acquisition operation is started, not
onboard counter/timers.
bit
is cleared, no interrupt is generated.
AID
AID
FIFO.
If
CONVINTEN is cleared,
NB-MI0-16X-42
of
an interrupt at the
when
of
an interrupt when
If
CONVINIBN
conversion is available to
and
µsec,
The
it counts
not
occur.
when
is set, an
no
interrupt is
If
If
the
be
5
OMA.EN
4 DAQEN
3
SCANEN
2 SCANDIV
This bit enables and disables the generation
DMAEN
conversion result
DMAEN
This bit enables and disables a data acquisition operation that
controlled
DAQEN
(assuming that the counters are programmed and enabled), thereby
starting a data acquisition operation.
and start triggers are ignored.
This bit enables and disables multiple-channel scanning during data
acquisition.
sampled during data acquisition under control
memory.
sampled during the entire data acquisition operation.
This bit enables and disables division
during data acquisition.
of
the mux-gain memory.
clock is controlled by Counter 1
SCANDIV
conversion.
is
set, a
DMA
is
is cleared, no
by
the onboard sample-interval and sample counters.
is set, a software
request is generated whenever an
available
to
be
read from the
DMA
request is generated.
or
start trigger starts the counters
If
If
SCANEN is set, alternate analog input channels are
If
SCANEN
is
cleared, the mux-counter clock generates one pulse per
B by the Digital Output Register.
Output Register drives the digital lines.
the Digital Output Register drivers are set to a high-impedance state,
thereby allowing an external device to drive the digital lines.
NB-MI0-16X
11
X X
3 2 1 0
digital output drivers and scan
10
9
I DOUfBEN I DOlITAEN I
A4DRV
of
the 4-bit digital output Port
If
DOUTBEN is set, the Digital
If
A2RCV
DOUTBEN
is
cleared,
8
A2DRV
8 DOUTAEN
7 NBINTDIS
6-4
DMAA<2
..
0>
This bit enables and disables driving
by
the Digital Output Register.
A
Output Register drives the digital lines.
the Digital Output Register drivers
thereby allowing an external device to drive the digital lines.
This bit disables
line by the
NuBus
this bit is set, no interrupts
NB-MI0-16X.
Note:
These three
used, and specify the RTSI
requests. For example, to select
4 to
NB-MI0-16X are then gated onto
bus.
Command Register
NMR
This bit is normally cleared, which means that interrupts
five registers that, when written to, cause certain
events to occur on the NB-MI0-16X board, such as clearing flags and starting
They are the Start Convert, Start DAQ,
AID
Clear, Internal Calibration, and External Multiplexer
Strobe Registers.
of
Descriptions
the these registers are given on the following pages.
Writing to the External Multiplexer Strobe Register location generates an active low, approximately
100 nsec strobe pulse at the EXTSTROBE* output at the
J/0
connector. This pulse may be useful
for several applications, including generating external general-purpose triggers and latching data
into external devices (from the digital output port, for example).
Writing to the Internal Calibration Register location initiates a calibration sequence in the ADC on
the NB-MI0-16X. Calibration is necessary for the board to operate within specification because
the ADC must manipulate some internal bit-weights
Calibration Register is written to, the CLK<2
be
set as desired, preferably as indicated in their description (under Command Register 1).
Two
channels. DACO controls analog output Channel 0.
These DACs are written to individually, and the analog output can be updated immediately
time an active low pulse is detected
method is selected with the
The third register in the Analog Output Register Group is the TMRINTCL Register.
NB-MI0-16X can be programmed to interrupt when
pin
of
the TMRINTCL Register.
The following pages contain descriptions
Group.
Output
of
the three registers making up the Analog Output Register Group load the two analog output
the Am9513A Counter/fimer. This interrupt can be cleared
Register Group
on
the OUT2 bit
TMRWGEN
and RTSIWGEN bits in Command Register
of
DACl
of
it
the registers making up the Analog Output Register
generated by the analog output channels are updated either immediately or when an active low
pulse occurs on
TMRWGEN and RTSIWGEN bits
clears interrupts enabled by TMRINTEN.
Address:
Type: Write-only
Word Size: 16-bit
Bit Map:
15
X X I X
Bit
DACl
to
14
Name
Registers
DACO
or
DACl
OUT2 or on pin
loads the corresponding analog output channel DAC. The voltages
Al
in
Base address + 20 (hex) loads
Base
13
address+
12
X !
MSB
24 (hex) loads
11
Dll
10
! D10 ! D9 !
Description
of
the
RTSI switch. The update method
Command Register
DACO
DACl
9 8
D8
7 6
D7
1.
Writing to DACO or
D6
5
D5
is
selected
DACl
by
also
the
4 3 2 1 0
D4 !
D3
! D2 !
Dl ! DO
l
LSB
15-12 X
11-0
D<l
1..0>
Don't care bits.
These twelve bits are loaded into the DAC and update the voltage
generated by the analog output channel
immediately, or upon an OUT2 pulse. See
The Mux-Counter Register loads the counter that sequences through the mux-gain memory.
Address: Base
address+
8 (hex)
Type: Write-only
Word Size: 16-bit
Bit Map:
15
X X
14
7 6 5
X X X
Bit
15-4 X
3-0
Name
MC<3
..
0>
13
X
Description
Don't care bits.
These four bits are loaded into the mux counter by writing to the
12
X
4
X
11
X
3
MC3
10
X X
9 8
2 1 0
MC2
MCl
X
MCO
Mux-Counter Register. The mux counter generates addresses for
the mux-gain memory; therefore, writing to the Mux-Counter
Register allows a specific location in the mux-gain memory to be
addressed. The mux-gain memory contains a sequence
of
multiplexer addresses and gain settings. For example, writing
0.0.0.4 hex to the Mux-Counter Register loads the mux counter
with the value 4, and thus addresses mux-gain memory location 4.
The analog circuitry is then controlled by the multiplexer address
and gain settings
Register description later
This 4-bit field controls the multiplexer address setting
multiplexers, thereby allowing the analog input channel to be
In
selected.
input channel is selected.
are selected. The analog input channel selected for either mode is
shown here:
MA<3
single-ended mode (NRSE or RSE), only one analog
In DIFF mode, two analog input channels
..
0>
0000
0001
0010
0011
0100
0101
0110
0 1 1 1
1000
1001
1010
1011
1100
1101
1 1 1 0
1 1 1 1
Selected Analog
Single0Ended
0
1
2
3
4
5 5 &
6
7 7 &
8
9
10
11
12
13
14
15
Input
of
the input
Channels
DIFF
(+) (-)
0&8
1&9
2&10
3&
11
4&
12
13
6&
14
15
0&8
1&9
2&
10
3 &
11
4&
12
5 &
13
6&14
7 &
15
Writing to the Mux.-Gain Register updates the current analog input channel selection and the current
The
gain setting.
counter is written to in order to address a specific location in the mux-gain memory. Any
subsequent value written to the Mux-Gain Register
values returned
straight binary, which generates only positive numbers,
generates both positive and negative numbers. The binary format used is selected
2SCADC* bit
Address:
Type: Read-only
Word
!
Size: 16-bit
Bit Map: Straight binary mode
15 14 13 12
D15
!D14 !D13 !D12
ND
FIFO
Register returns the oldest
ND
FIFO
is
read, the value read is removed from the
ND
conversion value to be stored. Values are stored into the
ND
conversion is complete.
FIFO is emptied when all values
ND
FIFO
Register is read.
CONV
FIFO Register returns meaningless information.
AV
If
the
by
in
Command
Base
address +
AIL
bit is set
CONV
reading the
!Dll
AV
Register
11
10 9 8 7 6 5 4 3 2 1 0
!DlO ! I)<) !
2C
in
AIL
ND
(hex)
it
If
the
the Status Register and the
bit is cleared, the
FIFO Register are available
1.
The
D8 ! D7
ND
conversion value stored in the
contains are read.
ND
FIFO contains one
bit pattern returned for either format is as follows.
! D6 !
ND
FIFO, thereby leaving
The
Status Register should
or
more
ND
ND
FIFO
Register can
ND
FIFO is empty,
in
or
two's complement binary, which
DS
! D4 !
D3
in
two different binary formats:
! D2 !
M~
ND
FIFO.
ND
FIFO
by the
be
read
conversion
be
read to
which case reading
by
the
Dl ! DO
!
L~
Bit
15-0
Bit Map:
15 14 13 12
!D15* !D14 !D13 !D12
MSB LSB
Bit
15-0
Name
0<15
.. 0>
Two's complement binary mode
!Dll
Name
0<15
.. 0>
Description
These bits are the straight binary result
Values read, therefore, range from
FFFF
hex). Straight binary mode
readings because all values that are read reflect a positive polarity
input signal.
11
10 9 8 7 6 5 4 3 2 1 0
!DlO ! I)<) !
D8 ! D7
! D6 !
DS ! D4 I D3
of
a 16-bit
Oto
65,535 decimal (0000 to
is
useful
for
! D2 !
ND
unipolar analog input
Dl ! DO
Description
These bits are the two's complement result
conversion.
binary is that
-32,768 to +32,767 decimal (8000 to
complement mode is useful for bipolar analog input readings
because the values read reflect the polarity
The two registers making up the Digital
digital
pattern written to the Digital Output Register is driven onto the digital
output drivers are enabled (see the description for Command Register 2).
Bit descriptions for the registers making up the Digital
following pages.
I/0
Register Group
I/0
Register Group monitor and control the NB-MI0-16X
I/0
lines. The Digital Input Register returns the digital state