E-mail: support@natinst.com
FTP Site: ftp.natinst.com
Web Address: http://www.natinst.com
Bulletin Board Support
BBS United States: 512 794 5422
BBS United Kingdom: 01635 551422
BBS France: 01 48 65 15 59
Fax-on-Demand Support
512 418 1111
Telephone Support (USA)
Tel: 512 795 8248
Fax: 512 794 5678
International Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 288 3336,
Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark 45 76 26 00,
Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186,
Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635,
Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70,
Switzerland 056 200 51 51, Taiwan 02 377 1200, United Kingdom 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkway Austin, Texas 78730-5039 USA Tel: 512 794 0100
Important Information
Warranty
The PC-DIO-24 and PC-DIO-24PnP boards are warranted against defects in materials and workmanship for a period
of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at
its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes
parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials an d work manship, fo r a pe riod of 90 days from date of shipment , as evi denced
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do
not execute programming instructions if National Instruments receives notice of such defects during the warranty
period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside
of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping
costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves
the right to make changes to subseq uent editio ns of th is do cum ent wi thout prio r not ice to ho lders of this edit ion. Th e
reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for
any damages arising out of or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL
C
NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
I
WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action
against National Instruments must be brought within one year after the cause of action accrues. National Instruments
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided
herein does not cover damages, defects, malfunctions, or service failures caused by owner’s failure to follow the
National Instruments installation, operation, or maintenance instructions; owner’s modification of the product;
owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or
other events outside reasonable control.
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND
, N
.
ATIONAL INSTRUMENTS
. N
. This limitation of the liability of National
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part,
without the prior written consent of National Instruments Corporation.
Trademarks
BridgeVIEWTM, ComponentWorksTM, CVITM, LabVIEWTM, MeasureTM, NI-DAQTM, and VirtualBenchTM are
trademarks of National Instruments Corporation.
Product and company names referred to in this document are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with components and testing intended to ensure a level of reliability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving
medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the
part of the user or application designer. Any use or application of National Instruments products for or involving
medical or clinical treatment must be performed by properly trained and qualified medical perso nnel, and all traditi onal
medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury
or death should always continue to be used when National Instruments products are being used. National Instruments
products are NOT intended to be a substitute for any form of established process, procedure, or equipment used to
monitor or safeguard human health and safety in medical or clinical treatment.
FCC/DOC Radio Frequency Interference
Class A Compliance
This equipment generates and uses radio frequency energy and, if not installed and used in strict
accordance with the instructions in this manual, may cause interference to radio and television
reception. Classification requirements are the same for the Federal Communications Commission
(FCC) and the Canadian Department of Communications (DOC). This equipment has been tested and
found to comply with the following two regulatory agencies:
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial environment. This equipment
generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with
the instruction manual, may cause harmful interference to radio communications. Operation of this
equipment in a residential area is likely to cause harmful interference in which case the user will be
required to correct the interference at his own expense.
Notice to User:Changes or modifications not expressly approved by National Instruments could void
If necessary, consult National Instruments or an experienced radio/television technician for additional
suggestions. The following booklet prepared by the FCC may also be helpful: Interference to Home Electronic Entertainment Equipment Handbook. This booklet is available from the U.S. Government
Printing Office, Washington, DC 20402.
the user’s authority to operate the equipment under the FCC Rules.
Canadian Department of Communications
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment
Regulations.
Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel
brouilleur du Canada.
About This Manual
Organization of This Manual........................................................................................ix
Conventions Used in This Manual................................................................................x
National Instruments Documentation...........................................................................xii
Related Documentation.......................................... .................................. .....................xiii
This manual describes the mechanical and electrical aspects of the
PC-DIO-24/PnP and contains information concerning its operation and
programming.
The PC-DIO-24/PnP is a member of the National Instruments family of
I/O channel expansion boards for ISA computers. These boards are
designed for high-performance, low-cost data acquisition and control
for applications in laboratory testing, production testing, and industrial
process monitoring and control.
This manual applies to the PC-DIO-24PnP and to the PC-DIO-24, a
non-Plug and Play device. The boards are identical except for the
differences listed in Appendix D,
Board
.
Organization of This Manual
About
This
Manual
Using Your PC-DIO-24 (Non-PnP)
PC-DIO-24/PnP User Manual
The
•Chapter 1,
you need to get started, describes software programming choices,
optional equipment, and custom cables, and explains how to
unpack the PC-DIO-24/PnP.
•Chapter 2,
and configure the PC-DIO-24/PnP.
•Chapter 3,
signal connection instructions for the PC-DIO-24/PnP I/O
connector.
•Chapter 4,
the PC-DIO-24/PnP board and explains the operation of each
functional unit making up the PC-DIO-24/PnP.
•Appendix A,
PC-DIO-24/PnP board.
•Appendix B,
data sheet for the OKI Semiconductor 82C55A CMOS PPI.
National Instruments CorporationixPC-DIO-24/PnP User Manual
Introduction
Installation and Configuration
Signal Connections
Theory of Operation,
Specifications
OKI 82C55A Data Sheet
is organized as follows:
, describes the PC-DIO-24/PnP, lists what
, describes how to install
, includes timing specifications and
contains a functional overview of
, lists the specifications for the
, contains the manufacturer
About This Manual
•Appendix C,
address and function of each of the PC-DIO-24/PnP control and
status registers.
•Appendix D,
the differences between the PC-DIO-24 and PC-DIO-24PnP
boards, the PC-DIO-24 board configuration, and the PC-DIO-24
installation into your computer.
•Appendix E,
use to request help from National Instruments or to comment on
our products.
•The
•The
Glossary
used in this manual, including abbreviations, acronyms, metric
prefixes, mnemonics, symbols, and terms.
Index
the page where you can find each one.
Register-Level Programming
Using Your PC-DIO-24 (Non-PnP) Board
Customer Communication
contains an alphabetical list and description of terms
alphabetically lists the topics in this manual, including
Conventions Used in This Manual
The following conventions are used in this manual:
This icon to the left of bold italicized text denotes a note, which alerts
you to important information.
, describes in detail the
, describes
, contains forms you can
!
82C55A82C55A refers to the OKI Semiconductor 82C55A CMOS PPI.
<>Angle brackets containing numbers separated by an ellipsis represent
boldBold text denotes the names of menus, menu items, parameters, dialog
bold italicBold italic text denotes a note, caution, or warning.
italic
PC-DIO-24/PnP User Manualx
This icon to the left of bold italicized text denotes a caution, which
advises you of precautions to take to avoid injury, data loss, or a
system crash.
a range of values associated with a bit or signal name (for example,
PB<7..0>).
boxes, dialog box buttons or options, icons, windows, Wi ndows 95 tabs,
or LEDs.
Italic text denotes emphasis, a cross reference, or an introduction to
a key concept.
monospaceText in this font denotes text or characters that you should enter literally
from the keyboard, sections of code, programming examples, and
syntax examples. This font is also used for the proper names of disk
drives, paths, directories, programs, subprograms, subroutines, device
names, functions, operations, variables, filenames and extensions, and
for statements and comments taken from programs.
NI-DAQNI-DAQ refers to the NI-DAQ software for PC compatibles unless
otherwise noted.
PCPC refers to the IBM PC/XT, the IBM PC AT, and compatible ISA bus
computers unless otherwise noted.
PC-DIO-24/PnPPC-DIO-24/PnP refers to both the Plug and Play and non-Plug and Play
compatible versions of the board.
PC-DIO-24PnPPC-DIO-24PnP refers to the Plug and Play version of the board.
PC-DIO-24PC-DIO-24 refers to the non-Plug and Play version of the board.
PnPPnP (Plug and Play) refers to a device that is fully compatible with the
industry standard Plug and Play ISA Specification.
non-PnPNon-PnP refers to a device that requires you to configure the device
base address and interrupt level with switches and jumpers. You must
perform this configuration before installing the product in the
computer.
PPIPPI (programmable peripheral interface) is the DIO chip on the
PC-DIO-24/PnP board.
SCXISCXI stands for Signal Conditioning eXtensions for Instrumentation
and is a National Instruments product line designed to perform
front-end signal conditioning for National Instruments plug-in DAQ
National Instruments CorporationxiPC-DIO-24/PnP User Manual
About This Manual
National Instruments Documentation
PC-DIO-24/PnP User Manual
The
set for your data acquisition (DAQ) system. You could have any of
several types of manuals, depending on the hardware an d software in
your system. Use the different types of manuals you have as follows:
Getting Started with SCXI
•
manual you should read. It gives an overview of the SCXI system
and contains the most commonly needed information for the
modules, chassis, and software.
•Your SCXI hardware user manuals—If you are using SCXI,
read these manuals next for detailed information about signal
connections and module configuration. They also explain in greater
detail how the module works and contain application hin ts.
•Your DAQ hardware user manuals—These manuals have detailed
information about the DAQ hardware that plugs into or is
connected to your computer. Use these manuals for hardware
installation and configuration instructions, specification
information about your DAQ hardware, and application hints.
•Software documentation—Examples of software documentation
you may have are the LabVIEW and LabWindows/CVI manual sets
and the NI-DAQ documentation. After you set up your hardware
system, use either the application software documentation or the
NI-DAQ documentation to help you write your application. If you
have a large and complicated system, it is worthwhile to look
through the software documentation before you configure your
hardware.
•Accessory installation guides or manuals—If you are using
accessory products, read the terminal block and cable assembly
installation guides or accessory board user manuals. They explain
how to physically connect the relevant pieces of the system.
Consult these guides when you are making your connections.
SCXI Chassis Manual
•
information on the chassis and for installation instructions.
The following documents contain information that you may find helpful
as you read this manual:
•Your computer technical reference manual
•Plug and Play ISA Specification
Customer Communication
National Instruments wants to receive your comments on our products
and manuals. We are interested in the applications you develop with
our products, and we want to help if you have problems with them.
To make it easy for you to contact us, this manual contains comment
and configuration forms for you to complete. These forms are in
Appendix E,
National Instruments CorporationxiiiPC-DIO-24/PnP User Manual
Chapter
Introduction
This chapter describes the PC-DIO-24/PnP, lists what you need to get
started, describes software programming choices, optional equipment,
and custom cables, and explains how to unpack the PC-DIO-24/PnP.
About the PC-DIO-24/PnP
Thank you for purchasing the National Instruments PC-DIO-24/PnP.
The PC-DIO-24/PnP is a low cost, 24-bit, parallel digital I/O interface
for ISA computers. An OKI 82C55A programmable peripheral
interface (PPI) chip controls the 24 bits of digital I/O. The 82C55A chip
is very flexible and powerful when interfacing with peripheral
equipment, can operate in either a unidirectional or bidirectional bus
mode, and can generate interrupt requests to the host compu ter. You can
program the 82C55A chip for numerous 8-bit, 16-bit, or 24-bit digital
I/O applications. All digital I/O communication is through a standard
50-pin male connector. The pin assignments for this connector are
compatible with standard 24-channel digital I/O applications.
PnP
refers to the Plug and Play technology used in this board. See the
definition in the
version of the PC-DIO-24/PnP, see Appendix D,
PC-DIO-24 (Non-PnP) Board
version and the non-PnP version.
Glossary
1
for an explanation. If you have the non-PnP
Using Your
, for the differences between the PnP
You can use the PC-DIO-24/PnP in a wide range of digital I/O
applications. With the PC-DIO-24/PnP, you can use your PC as a digital
I/O system controller for laboratory testing, production testing, and
industrial process monitoring and control.
Detailed specifications of the PC-DIO-24/PnP are in Appendix A,
National Instruments Corporation1-1PC-DIO-24/PnP User Manual
Chapter 1Introduction
What You Need to Get Started
To set up and use your PC-DIO-24/PnP, you will need the following:
❑ PC-DIO-24PnP or PC-DIO-24 board
PC-DIO-24/PnP User Manual
❑
❑ One of the following software packages and documentation:
BridgeVIEW
ComponentWorks
LabVIEW for Windows
LabWindows/CVI
Measure
NI-DAQ for PC compatibles
VirtualBench
❑ Your computer
Software Programming Choices
You have several options to choose from when programming your
National Instruments DAQ and SCXI hardware. You can use National
Instruments application software, NI-DAQ, or register-level
programming.
National Instruments Application Software
ComponentWorks contains tools for data acquisition and instrument
control built on NI-DAQ driver software. ComponentWorks provides
a higher-level programming interface for building virtual instruments
through standard OLE controls and DLLs. With ComponentWork s, you
can use all of the configuration tools, resource management utilities,
and interactive control utilities included with NI-DAQ.
LabVIEW features interactive graphics and a state-of-the-art user
interface and a powerful graphical programming language. The
LabVIEW Data Acquisition VI Library, a series of VIs for using
LabVIEW with National Instruments DAQ hardware, is included with
LabVIEW. The LabVIEW Data Acquisition VI Library is functionally
equivalent to NI-DAQ software.
LabWindows/CVI features interactive graphics and a state-of-the-art
user interface and uses the ANSI standard C programming language.
The LabWindows/CVI Data Acquisition Library, a series of functions
for using LabWindows/CVI with National Instruments DAQ hardware,
is included with the NI-DAQ software kit. The LabWindows/CVI Data
Acquisition Library is functionally equivalent to the NI-DAQ so ftware.
VirtualBench features virtual instruments that combine DAQ products,
software, and your computer to create a stand-alone instrument with the
added benefit of the processing, display, and storage capabilities of
your computer. VirtualBench instruments load and save waveform data
to disk in the same forms that can be used in popular spreadsheet
programs and word processors.
Using ComponentWorks, LabVIEW, LabWindows/CVI, or
VirtualBench software will greatly reduce the development time
for your data acquisition and control application.
NI-DAQ Driver Software
The NI-DAQ driver software is included at no charge with all National
Instruments DAQ hardware. NI-DAQ has an extensive library of
functions that you can call from your application programming
environment. These functions include routines for analog input
(A/D conversion), buffered data acquisition (high-speed A/D
conversion), analog output (D/A conversion), waveform generation,
digital I/O, counter/timer operations, SCXI, RTSI, self-calibration,
messaging, and acquiring data to extended memory.
Chapter 1Introduction
NI-DAQ also internally addresses many of the complex issues between
the computer and the plug-in device, such as programming interrupts
and DMA controllers. NI-DAQ maintains a consistent software
interface among its different versions so that you can change platforms
with minimal modifications to your code. Figure 1-1 illustrates the
relationship between NI-DAQ and your National Instruments
application software.
National Instruments Corporation1-3PC-DIO-24/PnP User Manual
Chapter 1Introduction
Programming Environment
SCXI Hardware
Figure 1-1. The Relationship between the Programming Environment,
Register-Level Programming
The final option for programming any National Instruments DAQ
hardware is to write register-level software. Writing register-level
programming software can be very time-consuming and inefficient,
and is not recommended for most users.
Conventional
DAQ or
ComponentWorks,
LabVIEW,
LabWindows/CVI, or
VirtualBench
NI-DAQ
Driver Software
Personal
Computer or
Workstation
NI-DAQ, and Your Hardware
Even if you are an experienced register-level programmer, consider
using National Instruments application software to program your
National Instruments DAQ hardware. Using the National Instruments
application software is easier than, and as flexible as, register-level
programming, and can save weeks of development time.
National Instruments offers a variety of products to use with your
PC-DIO-24/PnP board, including cables, connector blocks, and other
accessories, as follows:
•Cables and cable assemblies, shielded and ribbon
•Connector blocks, shielded and unshielded 50-pin screw terminals
•SCXI modules and accessories for isolating, amplifying, exciting,
and multiplexing signals for relays and analog output. With SCXI
you can condition and acquire up to 3,072 channels.
•Low channel-count signal conditioning modules, boards, and
accessories, including conditioning for strain gauges and RTDs,
simultaneous sample and hold, and relays.
For more specific information about these products, refer to your
National Instruments catalogue or call the office nearest you.
Note:The PC-DIO-24/PnP can drive the SSR-ODC-5 output module and all SSR
input modules available from National Ins truments, but c annot reli ably
sink sufficient current to drive the SSR-OAC-5 and SSR-OAC-5A output
modules.
Chapter 1Introduction
To drive a SSR-OAC-5 or SSR-OAC-5A, you can either use a non-inverting
digital buffer chip between the PC-DIO-24/PnP and the SSR backplane, or
use another National Instruments board with higher drive current.
Custom Cables
National Instruments offers cables and accessories for you to prototype
your application or to use if you frequently change board
interconnections.
If you want to develop your own cable, however, the following
guidelines may be useful.
The PC-DIO-24/PnP I/O connector is a 50-pin male ribbon-cable
header. The manufacturer part numbers used by National Instruments
for this header are as follows:
•Electronic Products Division/3M (part number 2550-5002)
National Instruments Corporation1-5PC-DIO-24/PnP User Manual
Chapter 1Introduction
The mating connector for the PC-DIO-24/PnP is a 50-position,
polarized, ribbon socket connector with strain relief. National
Instruments uses a polarized (keyed) connector to prevent inadvertent
upside-down connection to the PC-DIO-24/PnP. Recommended
manufacturer part numbers for this mating connector are as follows:
•Electronic Products Division/3M (part number 3425-7650)
•T&B/Ansley Corporation (part number 622-5041)
The standard ribbon cables (50-conductor, 28 AWG, stranded) that can
be used with these connectors are as follows:
•Electronic Products Division/3M (part number 3365/50)
•T&B/Ansley Corporation (part number 171-50)
Recommended manufacturer part numbers for the 50-pin edge
connector for connecting to a module rack with an edge connector are
as follows:
•Electronic Products Division/3M (part number 3415-0001)
•T&B Ansley Corporation (part number 622-5015)
A polarizing key can be plugged into these edge connectors to prevent
inadvertent upside-down connection to the I/O module rack. The
location of this key varies from rack to rack. Consult the specification
for the rack you intend to use for the location of any polarizing key. The
recommended manufacturer part numbers for this polarizing key are as
follows:
•Electronic Products Division/3M (part number 3439-2)
Your PC-DIO-24/PnP board is shipped in an antistatic package to
prevent electrostatic damage to the board. Electrostatic discharge can
damage several components on the board. To avoid such damage in
handling the board, take the following precautions:
•Ground yourself via a grounding strap or by holding a grounded
object.
•Touch the antistatic package to a metal part of your PC chassis
before removing the board from the package.
•Remove the board from the package and inspect the board for loose
components or any other sign of damage. Notify National
Instruments if the board appears damaged in any way.
National Instruments Corporation2-1PC-DIO-24/PnP User Manual
The PC-DIO-24/PnP uses 100 kΩ resistors for polarity selection at
power-up. You can use jumper W1 to select whether data signals are pulled
up to Vcc (+5 VDC), factory default, or pulled down to GND. Figure 2-1
shows jumper W1. For more information, see the
State Selection
You can install the PC-DIO-24/PnP in any unused 8- or 16-bit
expansion slot in your computer. The following are general installation
instructions, but consult your computer user manual or technical
reference manual for specific instructions and warnings.
section in Chapter 3,
Jumper W1 Location
Digital I/O Power-up
Signal Connections
.
Chapter 2Installation and Configuration
1.Turn off and unplug your computer.
2.Remove the I/O channel top cover or access port.
3.Remove the expansion slot cover on the computer back panel.
4.Insert the PC-DIO-24/PnP into any 8- or 16-bit slot. It may be a
tight fit, but
5.Screw the PC-DIO-24/PnP mounting bracket to the computer back
panel rail.
6.Visually verify the installation.
7.Replace the computer cover.
8.Plug in and turn on your computer.
The PC-DIO-24/PnP board is now installed.
Hardware Configuration
Plug and Play
The PC-DIO-24PnP is fully compatible with the industry-standard
Intel/Microsoft Plug and Play Specification. A Plug and Play system
arbitrates and assigns resources through software, freein g you from
manually setting switches and jumpers. These resources include the
PC-DIO-24PnP base I/O address and interrupt channel.
do not
force the board into place.
The Configuration Manager receives all of the resource requests at
startup, compares the available resources to those requested, and
assigns the available resources as efficiently as possible to the Plug and
Play boards. Application software can query the Configuration
Manager to determine the resources assigned to each board without
your involvement. The Plug and Play software is installed as a device
driver or as an integral component of the computer BIOS.
To change base I/O address or interrupt selection, refer to th e NI-DAQ
Configuration Utility Help file. You can configure the PC-DIO-24PnP
to use base addresses in the range of 100 to 3E0 hex. Each board
occupies 32 bytes of address space and must be located on a 32-byte
boundary. Therefore, valid addresses include 100, 120, 140…, 3 E0 hex.
The PC-DIO-24PnP can use interrupt channel 3, 4, 5, 7, or 9.
Note:To configure the non-Plug and Play PC-DIO-24 board, refer to
National Instruments Corporation2-3PC-DIO-24/PnP User Manual
Chapter
Signal Connections
This chapter includes timing specifications and signal connection
instructions for the PC-DIO-24/PnP I/O connector.
Caution:
!
I/O Connector
Connections that exceed any of the maximum ratings of input or output
signals on the PC-DIO-24/PnP can damage the board and the PC. National
Instruments is
connections. Maximum ratings for each signal are given in this chapter
under the discussion of that signal.
Figure 3-1 shows the pin assignments for the PC-DIO-24/PnP digital
I/O connector.
liable for any damages resulting from any such signal
The absolute maximum voltage input rating is –0.5 to +5.5 V with
respect to GND.
Name
PC<7..0>Port C—Bidirectional data lines for
PB<7..0>Port B—Bidirectional data lines for
PA<7..0>Port A—Bidirectional data lines for
GNDGround—These signals are
Signal Descriptions
Description
port C. PC7 is the MSB, PC0 the
LSB.
port B. PB7 is the MSB, PB0 the
LSB.
port B. PA7 is the MSB, PA0 the
LSB.
to 1 A at +4.65 to 5.25 V.
connected to the computer ground
reference.
Port C Pin Assignments
The signals assigned to port C depend on the mode in which the
82C55A is programmed. In mode 0, port C is treated as one 8-bit
I/O port. If port A or B is in mode 1 or 2, then some or all of the port C
lines are used for status and handshaking signals. Any unused lines are
available for general-purpose input and output. Table 3-2 summarizes
the signal assignments of port C for each programmable mode. Ports A
and B can be in different modes; the table does not show every possible
combination. See Appendix C,
register-level programming information.
The following specifications and ratings apply to the digital I/O lines.
The maximum input logic high and output logic high voltages assume a
Vcc supply voltage of 5.0 V.
The absolute maximum voltage rating is –0.5 to +5.5 V with respect to
GND.
INTR
B
B
Digital input specifications (referenced to GND):
Input logic high voltage 2.2 V min5.3 V max
Input logic low voltage–0.3 V min0.8 V max
Input high current
(Vin = 5 V, W1 set to pullup) —11.0 µA max
Input high current
(Vin = 5 V, W1 set to pulldown)—65 µA max
Input logic low current
(Vin = 0 V, W1 set to pullup)—–65 µA max
Input logic low current
National Instruments Corporation3-5PC-DIO-24/PnP User Manual
Chapter 3Signal Connections
+5 V
LED
+5 V
TTL Signal
Switch
I/O Connector
41
43
45
47
67
69
71
73
+5 V
Jumper
Selectable (W1)
100 kΩ100 kΩ100 kΩ100 kΩ
PPI
Port A
PA<3..0>
100 kΩ100 kΩ100 kΩ100 kΩ
PPI
Port B
PB<7..4>
50, 100
GND
PC-DIO-24/PnP
Figure 3-2. Digital I/O Connections
In Figure 3-2, port A is configured for digital output, and port B is
configured for digital input. Digital input applications include receiv ing
TTL signals and sensing external device states such as the state of the
switch in Figure 3-2. Digital output applications include sending TTL
signals and driving external devices such as the LED shown in this
figure.
Pin 49 of the I/O connector is connected to the +5 V supply from the PC
power supply. This pin is referenced to GND and can be u sed to power
external digital circuitry. This +5 V supply has a 1 A self-resetting
protection fuse in series. Simply remove the circuit causing the heavy
current load and the fuse will reset itself.
Power rating1 A at +4.65 to 5.25 V
Caution:Under no circumstances should this +5 V power pin be connected directly
!
to ground or to any other voltage source on the PC-DIO-24/PnP or any
other device. Doing so may damage the PC-DIO-24/PnP and the PC.
National Instruments is
connection.
liable for damage resulting from such a
NOT
Digital I/O Power-up State Selection
You can power up the PC-DIO-24/PnP digital I/O lines in a
user-defined state. The PC-DIO-24/PnP facilitates user-configurable
pull-up or pull-down. Each DIO channel is connected to a 100 kΩ
resistor and can be pulled high or low using jumper W1. You can
use W1 to pull all 24 DIO lines high or low. However, you may want to
pull individual lines in different directions. To do this properly, you
must understand the nature of the drive current on those lines and
adhere to TTL logic levels.
Chapter 3Signal Connections
High DIO Power-up State
If you select the pulled-high mode, each DIO line will be pulled to Vcc
(approximately +5 VDC) with a 100 kΩ resistor. If you want to pull a
specific line low, connect between that line and ground a pull-down
resistor (R
the largest possible resistor ensures that you do not use more current
than necessary to perform the pull-down task, and that the DIO can still
drive the line. The DIO lines provide a maximum of 2.5 mA at 3.7 V in
the high state.
Also, make sure the resistor value is not so large that leakage current
from the DIO line along with the current from the 100 kΩ pull-up
resistor drives the voltage at the resistor above a TTL low level of
National Instruments Corporation3-7PC-DIO-24/PnP User Manual
) whose value will give you a maximum of 0.4 VDC. Using
L
Chapter 3Signal Connections
PC-DIO-24/PnP
82C55A
Figure 3-3. DIO Channel Configured for High DIO Power-up State with External Load
100 kΩ
+5 V
GND
Digital I/O Line
R
L
Example:
At power up, the board is configured for input and, by default, all DIO
lines are high. To pull one channel low, follow these steps:
1.Install a load (R
). Remember that the smaller the resistance, the
L
greater the current consumption and the lower the voltage.
2.Using the following formula, calculate the largest possible load to
maintain a logic low level of 0.4 V with a minimum reduction to the
DIO drive current.
V = I * R
⇒ RL = V / I, where:
L
V= 0.4 V;Voltage across R
L
I = 46µA + 11µA;4.6 V across the 100 kΩ pull-up
resistor and 11µA max leakage
current
Therefore:
R
= 7.0 k
L
Ω
;0.4V / 57µA
This resistor value, 7.0 kΩ, provides a maximum of 0.4 V on the DIO
line at power up. You can substitute smaller resistor values to lower the
voltage or to provide a margin for Vcc variations and other factors.
However, smaller values will draw more current, leaving less drive
current for other circuitry connected to this line. The 7.0 kΩ resistor
reduces the amount of logic high source current by 0.4 mA with a 2.8 V
output.
If you select pulled-low mode, each DIO line will be pulled to GND
(0 VDC ) using a 10 0 kΩ resistor. To pull a specific line high, connect
a pull-up resistor that will give you a minimum of 2.8 VDC. Using the
largest possible resistance value ensures that you do not to use more
current than necessary to perform the pull-up task, and that the DIO can
still drive the line. The DIO lines are capable of sinking a maximum of
2.5 mA at 0.4 V in the low state.
Also, make sure the pull-up resistor value is not so large that leakage
current from the DIO line along with the current from the 100 k Ω
pull-down resistor brings the voltage at the resistor below a TTL high
level of 2.8 VDC.
Chapter 3Signal Connections
Figure 3-4.
PC-DIO-24/PnP
82C55A
100 kΩ
GND
DIO Channel Configured for Low DIO Power-up State with External Load
+5 V
R
L
Digital I/O Line
Example:
At power up, the board is configured for input and jumper W1 is set in
the low DIO power-up state, which means all DIO lines are pulled low.
If you want to pull one channel high, follow these steps:
1.Install a load (R
). Remember that the smaller the resistance, the
L
greater the current consumption and the higher the voltage.
2.Using the following formula, calculate the largest possible load to
maintain a logic high level of 2.8 V and supply the maximum sink
current.
V = I * R
⇒ RL = V / I, where:
L
V = 2.2 V;voltage across R
L
I = 28 µA + 11 µA;2 .8 V acro ss the 100 kΩ pull-up
National Instruments Corporation3-9PC-DIO-24/PnP User Manual
Chapter 3Signal Connections
Therefore:
This resistor value, 5.6 kΩ, provides a minimum of 2.8 V on the DIO
line at power up. You can substitute smaller resistor values but they will
draw more current, leaving less sink current for other circuitry
connected to this line. The 5.6 kΩ resistor will reduce the amount of a
logic low sink current by 0.8 mA with a 0.4 V output.
Timing Specifications
This section lists the timing specifications for handshaking with the
PC-DIO-24/PnP. The handshaking lines STB* and IBF synchronize
input transfers. The handshaking lines OBF* and ACK* synchronize
output transfers.
The signals in Table 3-3 are used in the timing diagrams on the
subsequent pages.
R
= 5.6 kΩ;2.2 V / 39 µA
L
Table 3-3.
Timing Signal Descriptions
Signal
Name
Direction
Description
STB*InputStrobe Input—A low signal on this
handshaking line loads data into the input
latch.
IBFOutputInput Buffer Full—A high signal on this
handshaking line indicates that data has
been loaded into the input latch. This is an
input acknowledge signal.
ACK*InputAcknowledge Input—A low signal on this
handshaking line indicates that the data
written from the selected port has been
accepted. This signal is a response from the
external device that it has received the data
from the PC-DIO-24/PnP.
OBF*OutputOutput Buffer Full—A low signal on this
handshaking line indicates that data has
been written to the selected port.
This chapter contains a functional overview of the PC-DIO-24/PnP
board and explains the operation of each functional unit making up the
PC-DIO-24/PnP.
Functional Overview
The block diagram in Figure 4-1 illustrates the key functional
components of the PC-DIO-24/PnP board.
Bus
Transceivers
Bus Interface
(Plug and Play)
PC I/O Channel
Address
Decode
+5 V
Interrupt
Circuitry
82C55A
Interrupt
Control
Circuitry
PPI
1 A Fuse
PA
/
8
PB
/
8
PC
/
8
PC3
PC0
4
I/O Connector
Figure 4-1.
The PC I/O channel consists of an address bus, a data bus, interrupt
lines, and several control and support signals. Control and data transfers
to the system microprocessor are asynchronous.
National Instruments Corporation4-1PC-DIO-24/PnP User Manual
PC-DIO-24/PnP Block Diagram
Chapter 4Theory of Operation
Bus Transceivers
The bus transceivers send and receive data lines and other signals to and
from the PC I/O channel.
Bus Interface
The PC-DIO-24PnP Plug and Play circuitry automatically arbitrates
and assigns system resources. Software performs all bus-related
configuration, such as setting the board base address and interrupt level.
On the PC-DIO-24 (non-PnP), switches and jumpers set the board base
address and interrupt level.
Interrupt Control Circuitry
The PC-DIO-24PnP interrupt channel is selected by the Plug and Play
circuitry. Two software-controlled registers determine what sources, if
any, can generate interrupts. The 82C55A device has two interrupt
lines, PC3 and PC0, connected to the interrupt circuitry.
The PC-DIO-24 (non-PnP) uses one of the extra PC lines
(jumper-selectable) as an interrupt enable.
82C55A Programmable Peripheral Interface
The 82C55A PPI chip is the heart of the PC-DIO-24/PnP. This chip has
24 programmable I/O pins that represent three 8-bit ports—PA, PB, and
PC. You can program each port as an input or an output port. The
82C55A has three modes of operation—simple I/O (mode 0),
strobed I/O (mode 1), and bidirectional I/O (mode 2). In mode 1, the
three ports are divided into two groups—group A and group B. Each
group has eight data bits and three control and status bits from port C
(PC). Group A can also use mode 2. In mode 2, group A has one 8-bit
bidirectional data port and five control and status bits from port C. You
can use port A and port B in two different modes. Modes 1 and 2 use
handshaking signals from port C to synchronize data transfers. Refer to
Chapter 4,
All digital I/O is transmitted through a standard, 50-pin, male
connector. Pin 49 is connected to +5 V through a resettable protection
fuse. You can use this +5 V supply to operate I/O module mounting
racks. Even-numbered pins are connected to ground. See the
National Instruments Corporation4-3PC-DIO-24/PnP User Manual
Appendix
Specifications
This appendix lists the specifications for the PC-DIO-24/PnP board.
These specifications are typical at 25° C, unless otherwise s tated. The
operating temperature range is 0° to 70° C.
Digital I/O
Number of channels............................24 I/O
Operating temperature ........................0° to 70° C
Storage temperature............................–55° to 150° C
Relative humidity ...............................5% to 90% noncondensing
Max with NI-DAQ software................50 kbytes/s
Constant sustainable rate (typ)............ 1 to 10 kbytes/s
Transfer rates are a function of the speed with which your program
reads data from or writes data to the board, and therefore vary with your
system, software, and application. The following primary factors
control PC-DIO-24/PnP transfer rates:
•Computer system performance
•Programming environment (register-level programming or
NI-DAQ)
•Programming language and code efficiency
•Execution mode (foreground or background, with background
execution typically using interrupts)
•Other operations in progress
•Application
For example, you can obtain higher transfer rates in a handshaking or
data-transfer application, requiring an average rate, than in a pattern
generation, data acquisition, or waveform generation application,
requiring a constant sustainable rate.
The maximum rate shown was obtained using a 233 MHz Pentium
computer running NI-DAQ and LabWindows/CVI software, with
interrupt-based execution, and with no other high-speed operations in
progress.
National Instruments CorporationB-17PC-DIO-24/PnP User Manual
Register-Level
Appendix
Programming
This appendix describes in detail the ad dress and function of each of t he
PC-DIO-24/PnP control and status registers. This appendix also
includes important information about register-level programming on
the PC-DIO-24/PnP along with program examples written in C and
assembly language.
Note:
Introduction
If you plan to do application-level programming using software such as
LabVIEW, LabWindows/CVI, or NI-DAQ with your PC-DIO-24/PnP
board, you need not read this appendix.
You can configure your PC-DIO-24PnP board to use base addresses in
the range of 100 to 3E0 hex. Your PC-DIO-24PnP board occupies
32 bytes of address space and must be located on a 32-byte boundary.
Therefore, valid addresses include 100, 120, 140..., 3E0 hex. The base
I/O address is software-configured and does not require you to
manually change any board settings. For more information on
configuring the PC-DIO-24PnP, see Chapter 2 ,
Configuration
C
Installation and
.
The PC-DIO-24 non-PnP board occupies four bytes of address space
and must be located on a four-byte boundary. For more information on
configuring the PC-DIO-24, see Appendix D,
(Non-PnP) Board
In addition to the 82C55A device, the PC-DIO-24PnP has two registers
that select which interrupt sources are capable of generating interrupts.
Individual enable bits select whether port A or port B interrupt signals
from the 82C55A device generate interrupt requests. A master interrupt
enable bit determines whether the board can actually send interrupt
requests to the host computer. The configuration bits for these registers
are defined in the
National Instruments CorporationC-1PC-DIO-24/PnP User Manual
section in this appendix.
.
Register Description for the Interrupt Control
Using Your PC-DIO-24
Appendix CRegister-Level Programming
The PC-DIO-24 (non-PnP) does not have interrupt control registers.
Instead, it uses one of the port C lines to enable or disable interrupts.
See Appendix D,
information.
The three 8-bit ports of the 82C55A are divided into two groups of
12 signals each: group A and group B. One 8-bit control word selects
the modes of operation for both groups. The group A control bits
configure port A (A7 through A0) and the upper 4 bits (nibble) of
port C (C7 through C4). The group B control bits configure port B
(B7 through B0) and the lower nibble of port C (C3 through C0). These
configuration bits are defined in the
82C55A
The 82C55A potentially requires up to 200 ns recovery time between
consecutive read or write cycles. Certain computers may provide
slightly less time than this between two back-to-back assemblylanguage reads or writes. If you are programming in assembly language,
it is therefore recommended that you separate two 82C55A reads or
writes with at least one other instruction.
The following table lists the address map for the PC-DIO-24/PnP.
Table C-1.
Register Name
82C55A Register Group
PORTA Register008-bitRead-and-write
PORTB Register018-bitRead-and-write
PORTC Register028-bitRead-and-write
CNFG Register038-bitWrite-only
Interrupt Control Register Group
Figure C-1 shows the two control word formats used to completely
program the 82C55A. The control word flag determines which control
word format is being programmed. When the control word flag is 1,
bits 6 through 0 select the I/O characteristics of the 82C55A ports.
These bits also select the mode in which the ports are operating (that is,
mode 0, mode 1, or mode 2). When the control word flag is 0, bits 3
through 0 select the bit set/reset format of port C.
Table C-2 shows the control words for setting or resetting each bit in
port C. Notice that bit 7 of the control word is cleared when
programming the set/reset option for the bits of port C.
Register Description for the Interrupt Control Registers
There are two interrupt control registers on the PC-DIO-24PnP. One of
these registers has individual enable bits for the two inter rupt lines from
the 82C55A device. The other register has a master interrupt enable bit.
When writing to these registers, set all reserved bits to zero. The bit
maps and signal definitions are listed as follows.
National Instruments CorporationC-5PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
Interrupt Control Register 1 (PnP Board Only)
D7D6D5D4D3D2D1D0
xxxxxxIRQ1IRQ0
BitNameDescription
2–7xReserved bit.
1IRQ1PPI Interrupt Request for Port B—If this bit and the
INTEN bit in Interrupt Control Register 2 are both set,
the PPI can send an interrupt, INTRB, to the host
computer. If this bit is cleared, the PPI does not send
the interrupt INTRB to the host computer, regardless
of the setting of INTEN.
0IRQ0PPI Interrupt Request for Port A—If this bit and the
INTEN bit in Interrupt Control Register 2 are both set,
the PPI can send an interrupt, INTRA, to the host
computer. If this bit is cleared, the PPI does not send
the interrupt INTRA to the host computer, regardless
of the setting of INTEN.
National Instruments CorporationC-7PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
Programming Considerations for the 82C55A
Modes of Operation for the 82C55A
The three basic modes of operation for the 82C55A are as follows:
•Mode 0—Basic I/O
•Mode 1—Strobed I/O
•Mode 2—Bidirectional bus
The 82C55A also has a single bit set/reset feature for port C, which is
programmed by the 8-bit control word. For additional information, refer
to Appendix B,
Mode 0
Use this mode for simple input and output operations for each of the
ports. No handshaking is required; simply write data to or read data
from a specified port.
Mode 0 has the following features:
•Two 8-bit ports (A and B) and two 4-bit ports (upper and lower
nibbles of port C).
•Any port can be input or output.
•Outputs are latched, but inputs are no t latched.
OKI 82C55A Data Sheet
.
Mode 1
This mode transfers data that is synchronized by handshaking signals.
Ports A and B use the eight lines of port C to generate or receive the
handshake signals. This mode divides the ports into two groups
(group A and group B) and includes the following features:
•Each group contains one 8-bit data port (port A or port B) and one
3-bit control/status port (upper or lower portion of port C).
•The 8-bit data ports can be either input or output, both of which are
latched.
•The 3-bit ports are used for control and status of the 8-bit data port s.
•Interrupt generation and enable/disable functions are available.
Use this mode for communication over a bidirectional 8-bit bus.
Handshaking signals are used in a manner similar to mode 1. Mode 2 is
available for use in group A only (port A and the upper portion of
port C). Other features of this mode include the following:
•One 8-bit bidirectional port (port A) and a 5-bit control/status port
(port C).
•Latched inputs and outputs.
•Interrupt generation and enable/disable functions.
Single Bit Set/Reset Feature
You can set or reset any of the eight bits of port C with one control
word. This feature generates control signals for port A and port B when
these ports are operating in mode 1 or mode 2.
Use mode 0 for simple I/O functions (no handshaking) for each of the
three ports. You can assign each port as an input or an output port. The
16 possible I/O configurations are shown in Table C-3. Notice that bit 7
of the control word is set when pr ogrammi ng th e mode of operation for
each port.
The following example shows how to configure the 82C55A for various
combinations of mode 0 input and output. This code is strictly an
example and is not intended to be used without modification in a
practical situation.
Main() {
#define BASE_ADDRESS0x180/* Board located at address 180 */
#define PORTAoffset0x00/* Offset for port A */
#define PORTBoffset0x01/* Offset for port B */
#define PORTCoffset0x02/* Offset for port C */
#define CNFGoffset0x03/* Offset for CNFG */
unsigned int porta, portb, portc, cnfg;
char valread;/* Variable to store data read from a port */
outp(portc,0x56);/* Write data to port C. */
/* EXAMPLE 2*/
outp(cnfg,0x90);/* Port A is input; ports B and C are outputs. */
outp(portb,0x22);/* Write data to port B. */
outp(portc,0x55);/* Write data to port C. */
valread = inp(porta);/* Read data from port A. */
/* EXAMPLE 3 */
outp(cnfg,0x82);/* Ports A and C are outputs;
port B is an input. */
/* EXAMPLE 4 */
outp(cnfg,0x89);/* Ports A and B are outputs;
port C is an input. */
}
Mode 1—Strobed Input
In mode 1, the digital I/O bits are divided into two groups: group A and
group B. Each of these groups contains one 8-bit port and one 3-bit
control/data port. The 8-bit port can be ei ther an input or an output port,
and the 3-bit port is used for control and status information for the 8-bit
port. The transfer of data is synchronized by handshaking signals in the
3-bit port.
The control word written to the CNFG Register to configure port A for
input in mode 1 is shown as follows. Use bits PC6 and PC7 of port C as
extra input or output lines.
National Instruments CorporationC-11PC-DIO-24/PnP User Manual
D4
1/0
D2D1D0D3D7
X
Port C bits PC6 and PC7
1 = input
0 = output
X11
X
Appendix CRegister-Level Programming
The control word written to the CNFG Register to configure port B for
input in mode 1 is shown as follows. Notice that port B does not have
extra input or output lines left from port C when ports A and B are both
enabled for handshaking.
1
D6D5
X
X
D4
X11X
D2D1D0D3D7
X
During a mode 1 data read transfer, the status of the handshaking lines
and interrupt signals can be obtained by reading port C. The port C
status-word bit definitions for an input transfer are shown as follows.
Port C status-word bit definitions for input (port A and port B):
D7D6D5D4D3D2D1D0
I/OI/OIBFAINTEAINTRAINTEBIBFBINTRB
BitNameDescription
7–6I/OInput/Output—These bits can be used for general-
purpose I/O when port A is in mode 1 input. If these
bits are configured for output, the port C bit set/reset
function must be used to manipulate them.
5IBFAInput Buffer for Port A—A high setting indicates that
data has been loaded into the inpu t latc h for po rt A.
4INTEAInterrupt Enable Bit for Port A—Setting this bit
enables interrupts from port A of the 82C55A. This bit
is controlled by setting/resetting PC4.
3INTRAInterrupt Request Status for Port A—When INTEA
and IBFA are high, this bit is high, indicating that an
interrupt request is pending for port A.
2INTEBInterrupt Enable Bit for Port B—Setting this bit
enables interrupts from port B of the 82C55A. This bit
is controlled by setting/resetting PC2.
1IBFBInput Buffer for Port B—A high setting indicates that
data has been loaded into the inpu t latc h for po rt B.
0INTRBInterrupt Request Status for Port B—When INTEB
and IBFB are high, this bit is high, indicating that an
interrupt request is pending for port B.
At the digital I/O connector, port C has the following pin assignments
when in mode 1 input. Notice that the status of STBA* and the status of
STBB* are not included in the port C status word.
Group A
Group B
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
I/O
I/O
IBFA
STBA*
INTRA
STBB*
IBFB
INTRB
Figure C-2. Port C Pin Assignments, Mode 1 Input
Mode 1 Input Programming Example
The following example shows how to configure PPI A for various
combinations of mode 1 input. This code is strictly an example and is
not intended to be used without modification in a practical situation.
Main() {
#define BASE_ADDRESS0x180/* Board located at address 180 */
#define PORTAoffset0x00/* Offset for port A */
#define PORTBoffset0x01/* Offset for port B */
#define PORTCoffset0x02/* Offset for port C */
#define CNFGoffset0x03/* Offset for CNFG */
unsigned int porta, portb, portc, cnfg;
char valread;/* Variable to store data read from a port */
/* Calculate register addresses */
porta = BASE_ADDRESS + PORTAoffset;
National Instruments CorporationC-13PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
/* EXAMPLE 1–port A input */
outp(cnfg,0xB0);/* Port A is an input in mode 1. */
while (!(inp(portc) & 0x20));/* Wait until IBFA is set,
indicating that data has been
loaded in port A. */
valread = inp(porta);/* Read the data from port A. */
/* EXAMPLE 2–Port B input */
outp(cnfg,0x86);/* Port B is an input in mode 1. */
while (!(inp(portc) & 0x02));/* Wait until IBFB is set,
indicating that data has been
loaded in port B. */
valread = inp(portb);
}
Mode 1—Strobed Output
The control word written to the CNFG Register to configure port A for
output in mode 1 is shown as follows. Bits PC4 and PC5 of port C can
be used as extra input or output lines.
D6D5
1
0
The control word written to the CNFG Register to configure port B for
output in mode 1 is shown as follows. Notice that port B does not have
extra input or output lines left from port C when ports A and B are both
enabled for handshaking.
D6D5
1
X
During a mode 1 data write transfer, the status of the handshaking lines
and interrupt signals can be obtained by reading port C. Notice that the
bit definitions are different for a write and a read transfer.
Port C status-word bit definitions for output (port A and port B):
D7D6D5D4D3D2D1D0
OBFA*INTEAI/OI/OINTRAINTEB OBFB*INTRB
BitNameDescription
7OBFA*Output Buffer for Port A—A low setting indicates that
the CPU has written data to port A.
6INTEAInterrupt Enable Bit for Port A—Setting this bit
enables interrupts from port A of the 82C55A. This bi t
is controlled by setting/resetting PC6.
5–4I/OInput/Output—These bits can be used for general-
purpose I/O when port A is in mode 1 output. If these
bits are configured for output, the port C bit set/reset
function must be used to manipulate them.
3INTRAInterrupt Request Status for Port A—When INTEA
and OBFA* are high, this bit is high, indicating that an
interrupt request is pending for port A.
2INTEBInterrupt Enable Bit for Port B—Setting this bit
enables interrupts from port B of the 82C55A. This bi t
is controlled by setting/resetting PC2.
1OBFB*Output Buffer for Port B—A low setting indicates that
the CPU has written data to port B.
0INTRBInterrupt Request Status for Port B—When INTEB
and OBFB* are high, this bit is high, indicating that an
interrupt request is pending for port B.
At the digital I/O connector, port C has the following pin assignments
when in mode 1 output. Notice that the status of ACKA* and the st at us
of ACKB* are not included when port C is read.
National Instruments CorporationC-15PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
Group A
Group B
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
OBFA*
ACKA*
I/O
I/O
INTRA
ACKB*
OBFB*
INTRB
Figure C-3. Port C Pin Assignments, Mode 1 Output
Mode 1 Output Programming Example
The following example shows how to configure PPI A for various
combinations of mode 1 output. This code is strictly an example and is
not intended to be used without modification in a practical situation.
Main() {
#define BASE_ADDRESS0x180/* Board located at address 180 */
#define PORTAoffset0x00/* Offset for port A */
#define PORTBoffset0x01/* Offset for port B */
#define PORTCoffset0x02/* Offset for port C */
#define CNFGoffset0x03/* Offset for CNFG */
unsigned int porta, portb, portc, cnfg;
char valread;/* Variable to store data read from a port */
/* Calculate register addresses */
porta = BASE_ADDRESS + PORTAoffset;
/* EXAMPLE 2–port B output */
outp(cnfg,0x84);/* Port B is an output in mode 1.*/
while (!(inp(portc) & 0x02));/* Wait until OBFB* is set,
indicating that the data last
written to port B has been
read.*/
outp(portb,0x34);/* Write the data to port B. */
}
Mode 2—Bidirectional Bus
Mode 2 has an 8-bit bus that can transfer both input and output data
without changing the configuration. The data transfers are synchronized
with handshaking lines in port C. This mode uses only port A; ho wever,
port B can be used in either mode 0 or mode 1 while port A is configured
for mode 2.
The control word written to the CNFG Register to configure port A as
a bidirectional data bus in mode 2 is shown as follows. If port B is
configured for mode 0, then PC2, PC1, and PC0 of port C can be used
as extra input or output lines.
National Instruments CorporationC-17PC-DIO-24/PnP User Manual
D4
X
X
Port A Configured as a Bidirectional Data Bus in Mode 2
D2D1D0D3D7
X1
1/0
1/0
1/0
Port C
(PC2-PC0)
1 = input
0 = output
Port B
1 = input
0 = output
Group B Mode
0 = mode 0
1 = mode 1
Appendix CRegister-Level Programming
During a mode 2 data transfer, the status of the handshaking lines and
interrupt signals can be obtained by reading port C. The port C statusword bit definitions for a mode 2 transfer are shown as follows.
Port C status-word bit definitions for bidirectional data path (port A
only):
D7D6D5D4D3D2D1D0
OBFA*INTE1IBFAINTE2INTRAI/OI/OI/O
BitNameDescription
7OBFA*Output Buffer for Port A—A low setting indicates that
the CPU has written data to port A.
6INTE1Interrupt Enable Bit for Port A Output Interrupts—
Setting this bit enables output interrupts from port A
of the 82C55A. This bit is controlled by
setting/resetting PC6.
5IBFAInput Buffer for Port A—A high setting indicates that
data has been loaded into the input la tch of port A.
4INTE2Interrupt Enable Bit for Port A Input Interrupts—
Setting this bit enables input interrupts from port A of
the 82C55A. This bit is controlled by setting/resetting
PC4.
3INTRAInterrupt Request Status for Port A—If INTE1 and
IBFA are high, then this bit is high, indicating that an
interrupt request is pending for port A input transfers.
If INTE2 and OBFA* are high, then this bit is high,
indicating that an interrupt request is pending for
port A output transfers.
2–0I/OInput/Output—These bits can be used for general-
purpose I/O lines if group B is configured for mod e 0.
If group B is configured for mode 1, refer to the bit
explanations shown in the preceding mode 1 sections.
At the digital I/O connector, port C has the following pin assignments
when in mode 2. Notice that the status of STBA* and the status of
ACKA* are not included in the port C status word.
PC7
PC6
Group A
Group B
#The three port C lines associated with group B function are based on the mode selected
for group B; that is, if group B is configured for mode 0, PC2-PC0 function as generalpurpose input/output, but if group B is configured for mode 1 input or output, PC2PC0 function as handshaking lines as shown in the preceding mode 1 sections.
PC5
PC4
PC3
PC2
PC1
PC0
OBFA*
ACKA*
IBFA
STBA*
INTRA
#
#
#
Figure C-5. Port C Pin Assignments, Mode 2
Mode 2 Programming Example
The following example shows how to configure PPI A for mode 2 input
and output and how to use the handshaking signals to con trol data flow.
This code is strictly an example and is not intended to be used without
modification in a practical situation.
Main() {
#define BASE_ADDRESS0x180/* Board located at address 180 */
#define PORTAoffset0x00/* Offset for port A */
#define PORTBoffset0x01/* Offset for port B */
#define PORTCoffset0x02/* Offset for port C */
#define CNFGoffset0x03/* Offset for CNFG */
unsigned int porta, portb, portc, cnfg;
char valread;/* Variable to store data read from a port */
/* Calculate register addresses */
porta = BASE_ADDRESS + PORTAoffset;
National Instruments CorporationC-19PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
cnfg = BASE_ADDRESS + CNFGoffset;
/* EXAMPLE 1*/
outp(cnfg,0xC0);/* Port A is in mode 2. */
while (!(inp(portc) & 0x80));/* Wait until OBFA* is set,
indicating that the data last
written to port A has been read.
*/
outp(porta,0x67);/* Write the data to port A. */
while (!(inp(portc) & 0x20));/* Wait until IBFA is set,
indicating that data is
available in port A to be read.
*/
valread = inp(porta);/* Read data from port A. */
}
Interrupt Programming Examples for the 82C55A
The following examples show the process required to enable interrupts
for several different operating modes. The interrupt handling routines
and interrupt installation routines for the 82C55A are not included.
Consult your computer technical reference manual for additional
information. Also, if you generate interrupts with the PC3 or PC0 lines
of the 82C55A devices, you must maintain the active high level until the
interrupt service routine is entered. Otherwise, the host computer
considers the interrupt a spurious interrupt and routes the request to the
channel responsible for handling spurious interrupts. To prevent this
problem, try using some other I/O bit to send feedback to the device
generating the interrupt. In this way, the interrupting device can be
signaled that the interrupt service routine has been entered. For further
information on using PC3 and PC0 for interrupts, see the
Handling
section later in this appendix.
Interrupt
Note:The following code applies to the PC-DIO-24PnP. To adapt this code to the
PC-DIO-24 (non-PnP), remove the
replace
outp (ireg2, 0x04) with the following (assuming you use PC4
outp (ireg1) instructions and
as your interrupt enable):
outp (cnfg, 0x08) /* Clear PC4 to enable interrupts */
You cannot use PC4 as your interrupt enable in examples 1, 5, or 6,
because these configurations use PC4 for handshaking.
Main() {
#define BASE_ADDRESS0x180/* Board located at address 180 */
#define PORTAoffset0x00/* Offset for port A */
#define PORTBoffset0x01/* Offset for port B */
#define PORTCoffset0x02/* Offset for port C */
#define CNFGoffset0x03/* Offset for CNFG */
#define IREG1offset0x14/* Offset for Interrupt Reg. 1 */
#define IREG2offset0x15/* Offset for Interrupt Reg. 2 */
unsigned int porta, portb, portc, cnfg, ireg1, ireg2;
char valread;/* Variable to store data read from a port */
/* Calculate register addresses */
porta = BASE_ADDRESS + PORTAoffset;
/* EXAMPLE 1–Set up interrupts for mode 1 input for port A. Enable the
appropriate interrupt bits. */
outp(cnfg,0xB0);/* Port A is an input in mode 1. */
outp(cnfg,0x09);/* Set PC4 to enable interrupts from 82C55A. */
outp(ireg1,0x01);/* Set IRQ0 to enable port A interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
/* EXAMPLE 2–Set up interrupts for mode 1 input for port B. Enable the
appropriate interrupt bits. */
outp(cnfg,0x86);/* Port B is an input in mode 1. */
outp(cnfg,0x05);/* Set PC2 to enable interrupts from 82C55A. */
outp(ireg1,0x02);/* Set IRQ1 to enable port B interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
/* EXAMPLE 3–Set up interrupts for mode 1 output for port A. Enable the
appropriate interrupt bits. */
outp(cnfg,0xA0);/* Port A is an output in mode 1. */
outp(cnfg,0x0D);/* Set PC6 to enable interrupts from 82C55A. */
outp(ireg1,0x01);/* Set IRQ0 to enable port A interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
/* EXAMPLE 4–Set up interrupts for mode 1 output for port B. Enable the
appropriate interrupt bits. */
outp(cnfg,0x84);/* Port B is an output in mode 1. */
outp(cnfg,0x05);/* Set PC2 to enable interrupts from 82C55A. */
National Instruments CorporationC-21PC-DIO-24/PnP User Manual
Appendix CRegister-Level Programming
outp(ireg1,0x02);/* Set IRQ1 to enable port B interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
/* EXAMPLE 5–Set up interrupts for mode 2 output transfers. Enable the
appropriate interrupt bits. */
outp(cnfg,0xC0);/* Mode 2 output. */
outp(cnfg,0x0D);/* Set PC6 to enable interrupts from 82C55A. */
outp(ireg1,0x01);/* Set IRQ0 to enable port A interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
/* EXAMPLE 6–Set up interrupts for mode 2 input transfers. Enable the
appropriate interrupt bits. */
outp(cnfg,0xD0);/* Mode 2 input. */
outp(cnfg,0x09);/* Set PC4 to enable interrupts from 82C55A. */
outp(ireg1,0x01);/* Set IRQ0 to enable port A interrupts. */
outp(ireg2,0x04);/* Set INTEN bit. */
}
Interrupt Handling
Note:This section applies only to the PC-DIO-24PnP. The PC-DIO-24
(non-PnP) does not implement the IRQ1, IRQ2, or INTEN bits. To enable
and disable interrupts on the non-PnP board, see Appendix D,
PC-DIO-24 (Non-PnP) Board
.
Using Your
On the PC-DIO-24PnP, the INTEN bit of Interrupt Register 2 must be
set to enable interrupts. This bit must first be cleared to disable
unwanted interrupts. After all sources of interrupts have been disabled
or placed in an inactive state, you can set INTEN.
To interrupt the host computer, program the selected 82C55A port for
the I/O mode desired. In mode 1, set either the INTEA or the INTEB bit
to enable interrupts from port A or port B, respectively. In mode 2, set
either INTE1 or INTE2 for interrupts on output or input transfers,
respectively. The INTE1 and INTE2 interrupt outputs are cascaded into
a single interrupt output for port A. After enabling interrupts from the
82C55A, set the appropriate en able bit in Int erru pt C ontro l Reg iste r 1;
for example, if you selected both mode 2 interrupts for port A, you
would set IRQ0 in order to interrupt the host computer.
External signals can be used to interrupt the PC-DIO-24/PnP when
port A or port B is in mode 0 and the low nibble of port C is configured
for input. If port A is in mode 0, use PC3 to generate an interrupt; if
port B is in mode 0, use PC0 to generate an interrupt. Once you have
configured the 82C55A, set the corresponding interrupt enable bit in
Interrupt Control Register 1. If you are using PC3, set IRQ0; if you are
using PC0, set IRQ1. When the external signal becomes logic high, an
interrupt request occurs. Although the host computer’s interruptmonitoring circuitry is triggered by the positive-going edge of the
interrupt signal, the signal must remain high until the interrupt routine
has been entered and interrupts have been masked out. Make sure your
external interrupt signal meets these qualifications. To disable the
external interrupt, clear the appropriate IRQ bit or clear the INTEN bit.
National Instruments CorporationC-23PC-DIO-24/PnP User Manual
Using Your PC-DIO-24
Appendix
(Non-PnP) Board
This appendix describes the differences between the PC-DIO-24 and
PC-DIO-24PnP boards, the PC-DIO-24 board configuration, and the
PC-DIO-24 installation into your computer. Read this appendix only if
you do not have the Plug and Play version of the board.
Differences between the PC-DIO-24PnP and
the PC-DIO-24
The PC-DIO-24PnP is a Plug and Play upgrade from a legacy board, the
PC-DIO-24. Legacy board refers to a board with switches and jumpers
used to set the addresses and interrupt levels. The original legacy board
was replaced with a backwards-compatible, revised PC-DIO-24 that has
many of the new features of the Plug and Play version. The following
list compares the specifications and functionality of the newer boards
with the original legacy board. This document applies only to the
revised PC-DIO-24/PnP board.
5 V supply fuseNonresettableSelf-resettingSelf-resetti ng
Power-up stateNo pullups or
pulldowns
Jumper for pullup
(factory default)
or pulldown
Jumper for pullup
(factory default)
or pulldown
Configuration
The PC-DIO-24 contains one DIP switch and two jumpers to configure
the base I/O address, interrupt level, and interrupt enable signal.
Figure D-1 shows the location of DIP switch U9 and jumper
sets W2 and W3.
The PC-DIO-24 is configured at the factory to a base I/O address of hex
210, to use interrupt enable line PC4, and to use interrupt level 5. These
settings (shown in Table D-2) are suitable for most systems. However,
if your system has other hardware at this base I/O address, interrupt
enable line, or interrupt level, you need to change these settings on the
PC-DIO-24 (as described in the following pages) or on the other
hardware. Record your settings in the PC-DIO-24/PnP Hardware and
Software Configuration Form in Appendix E, Customer
Communication.
Table D-2.
PC-DIO-24 Factory-Set Jumper and Switch Settings
Base I/O AddressInterrupt Enable LineInterrupt Level
The base I/O address for the PC-DIO-24 is determined by the switches
at position U9 (see Figure 2-1). The switches are set at the factory for
the I/O address hex 210. With this default setting, the PC-DIO-24 uses
the I/O address space hex 210 through 213.
Note:Verify that this space is not already used by other equipment installed in
your computer. If any equipment in your computer uses this I/O address
space, you must change the base I/O address for the PC-DIO-24 or for the
other device.
Each switch in U9 corresponds to one of the address lines A9
through A2. For space reasons, not all address lines are se parately
labeled on the board. The range for possible base I/O address settings is
hex 000 through 3FC. Base I/O address values hex 000 through 0FF are
reserved for system use. Base I/O values hex 100 through 3FF are
available on the I/O channel. A1 and A0 are used by the PC-DIO-24 to
decode the onboard registers. On the U9 DIP switches, press the side
marked OFF to select a binary value of 1 for the corresponding address
bit. Press the other side of the switch to select a binary value of 0 for the
corresponding address bit. Figure D-2 shows two possible switch
settings.
Base I/O address values 000 through 0FF hex are reserved for system use. Base I/O address values
100 through 3FF hex are available on the I/O channel.
Interrupt Selection
There are two sets of jumpers for interrupt selection on the PC-DIO-24
board. W3 is used for selecting the interrupt enable line. W2 is for
selecting the interrupt level. The location of these jumpers is shown in
Figure D-1.
To enable interrupt requests from the PC-DIO-24, you must set
jumper W3 to select PC2, PC4, or PC6 as the active low interrupt enable
line. When the interrupt enable line is logic low, interrupts are enabled
from the PC-DIO-24 board. Refer to Chapter 4, Theory of Operation ,
for the suggested interrupt enable line setting for each di gital I/O mode
of operation. If W3 is set to N/C, all interrupt requests from the
PC-DIO-24 are disabled. Figure D-3 shows the possible jumper settings
for W3. The board ships with this jumper set to PC4; therefore, interrupt
requests from the board are enabled and controlled by PC4.
W3
PC6
PC4
PC2
N/C
INT
PC6 SelectedInterrupt
PC6
PC4
PC2
Figure D-3.
W3
PC6
PC4
PC2
N/C
INT
PC4 Selected
(Default Factory
Settin
N/C
PC2 Selected
Interrupt Enable Jumper Settings
W3
INT
W3
PC6
PC4
PC2
N/C
INT
Disabled
Interrupt Level Settings
The PC-DIO-24 board can connect to any one of the six interrupt lines
of the PC I/O Channel: IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, or IRQ9. You
select the interrupt line by setting a jumper on W2. To use the interrupt
capability of the board, select an interrupt line and place the jumper in
the appropriate position. The default interrupt line is IRQ5. To change
to another line, remove the jumper from IRQ5 and place it on the pins
for another request line. Figure D-4 shows the default factory setting for
IRQ5.
Interrupt Jumper Setting for IRQ5 (Factory Setting)
Installation
Appendix DUsing Your PC-DIO-24 (Non-PnP) Board
The PC-DIO-24 uses a tristate driver to drive its selected interrupt line.
The PC-DIO-24 can therefore share an interrupt line if your system and
your other devices allow.
Install the PC-DIO-24 as described in Chapter 2, Installation and Configuration.
If you have an ISA-class computer and you are using a configurable
software package, such as NI-DAQ, you may need to reconfigure your
software to reflect any changes in jumper or switch settin gs. If you have
an EISA-class computer, you need to update the computer resource
allocation (or configuration) table by reconfiguri ng your computer. See
your computer user manual for information about updating the
configuration table.
For your convenience, this appendix contains forms to help you gather the information necessary
to help us solve your technical problems and a form you can use to comment on the product
documentation. When you contact us, we need the information on the Technical Support Form and
the configuration form, if your manual contains one, about your system configuration to answer your
questions as quickly as possible.
National Instruments has technical assistance through electronic, fax, and telephone systems to quickly
provide the information you need. Our electronic services include a bulletin board service, an FTP site,
a fax-on-demand system, and e-mail support. If you have a hardware or software problem, f irst try the
electronic support systems. If the information available on these systems does not answer your
questions, we offer fax and telephone support through our technical support centers, which are staffed
by applications engineers.
E
Electronic Services
Bulletin Board Support
National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files
and documents to answer most common customer questions. From these sites, you can also download
the latest instrument drivers, updates, and example programs. For recorded instructions on how to use
the bulletin board and FTP services and for BBS automated information, call 512 795 6990. You can
access these services at:
United States: 512 794 5422
Up to 14,400 baud, 8 data bits, 1 stop bit, no parity
United Kingdom: 01635 551422
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
France: 01 48 65 15 59
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
FTP Support
To access our FTP site, log on to our Internet host, ftp.natinst.com, as anonymous and use
your Internet address, such as
documents are located in the
joesmith@anywhere.com, as your password. The support files and
National Instruments CorporationE-1PC-DIO-24/PnP User Manual
Fax-on-Demand Support
Click here to comment on this document via the
National Instruments website at
www.natinst.com/documentation/daq
Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide
range of technical information. You can access Fax-on-Demand from a touch-tone telephone at
512 418 1111.
E-Mail Support (Currently USA Only)
You can submit technical support questions to the applications engineering team through e-mail at the
Internet address listed below. Remember to include your name, address, and phone number so we can
contact you with solutions and suggestions.
support@natinst.com
Telephone and Fax Support
National Instruments has branch offices all over the world. Use the list below to find the technical
support number for your country. If there is no National Instruments office in your country, contact
the source from which you purchased your software to obtain support.
Photocopy this form and update it each time you make changes to your software or hardware, and use
the completed copy of this form as a reference for your current configuration. Completing this form
accurately before contacting National Instruments for technical support helps our applications
engineers answer your questions more efficiently.
If you are using any National Instruments hardware or software products related to this problem,
include the configuration forms from their user manuals. Include additional pages if necessary.
Name __________________________________________________________________________
Company _______________________________________________________________________
Address ________________________________________________________________________
_______________________________________________________________________________
Fax ( ___ )___________________ Phone ( ___ ) ________________________________ _______
Computer brand ________________ Model ________________ Processor___________________
Operating system (include version number) ____________________________________________
Clock speed ______MHz RAM _____MB Display adapter __________________________
Mouse ___yes ___no Other adapters installed _______________________________________
Hard disk capacity _____MBBrand _____________________________________________
Instruments used _________________________________________________________________
_______________________________________________________________________________
National Instruments hardware product model __________ Revision ______________________
Configuration _______________________________________ ____________________________
National Instruments software product ____________________________ Version ____________
Configuration ___________________________________________________________________
The problem is: __________________________________________________________________
_______________________________________________________________________________
List any error messages: ___________________________________________________________
_______________________________________________________________________________
The following steps reproduce the problem:____________________________________________
Record the settings and revisions of your hardware and software on the line to the right of each item.
Complete a new copy of this form each time you revise your software or hardware configuration, and
use this form as a reference for your current configuration. Completing this form accurately before
contacting National Instruments for technical support helps our applications engineers answer your
questions more efficiently.
National Instruments Products
DAQ hardware ___________________________________________________________________
Interrupt level of hardware _____________________________________________________ _____
Base I/O address of hardware _______________________________________________________ _
Programming choice _______________________________________________________________
National Instruments application software version _______________________________________
Other boards in system ________________________________________________________ _____
Base I/O addresses of other boards ____________________________________________________
DMA channels of other boards _________________________________ ______________________
Interrupt levels of other boards _________________________________ ______________________
Other Products
Computer make and model ________________________________________________________ _
Microprocessor ___________________________________ ________________________________
Clock frequency or speed ___________________________________________________________
Type of video board installed ________________________________________________ ________
Operating system version ___________________________________________________________
Operating system mode ____________________________________________________________
Programming language ____________________________________________________________
Programming language version ______________________________________________________
Other boards in system ____________________________________ _________________________
Base I/O addresses of other boards ___________________ ___ _____________________________
Interrupt enable lines of other boards _______ ___________________________________________
Interrupt levels of other boards ______________________________________________________
Documentation Comment Form
Click here to comment on this document via the
National Instruments website at
www.natinst.com/documentation/daq
National Instruments encourages you to comment on the documentation supplied with our products.
This information helps us provide quality products to meet your needs.
Title:PC-DIO-24/PnP User Manual
Edition Date:February 1998
Part Number:320288C-01
Please comment on the completeness, clarity, and organization of the manual.
Thank you for your help.
Name _________________________________________________________________________
Title __________________________________________________________________________
Company _______________________________________________________________________
Address _________________________________________ _______________________________
National Instruments CorporationG-1PC-DIO-24/PnP User Manual
Glossary
B
bbit—one b inary digit, either 0 or 1
Bbyte—eight related bits of data, an eight-bit binary number. Also used
to denote the amount of memory required to store one byte of data.
base addressa memory address that serves as the starting address for programmable
registers busthe group of conductors that interconnect individual
circuitry in a computer. Typically, a bus is the expansion vehicle to
which I/O or other devices are connected. Examples of PC buses are the
ISA and PCI bus. All other addresses are located by adding to the base
address.
BCDbinary-coded decimal
C
CCelsius
channelpin or wire lead to which you apply or from which you read the analog
or digital signal. Analog signals can be single-ended or differential. For
digital signals, you group channels to form ports. Ports usually consist
of either four or eight digital channels.
D
D/Adigital-to-analog data acquisition—(1) collecting and measuring
electrical signals from sensors, transducers, and test probes or fixtures
and inputting them to a computer for processing; (2) collecting and
measuring the same kinds of electrical signals with A/D and/or DIO
boards plugged into a computer, and possi bly generating control signals
with D/A and/or DIO boards in the same computer
DCdirect current
digital port
DIOdigital input/output
DMAdirect memory access
hhour
handshaked digital I/Oa type of digital acquisition/generation where a device or module
accepts or transfers data after a digital pulse has been received. Also
called latched digital I/O.
hardwarethe physical components of a computer syste m, such as the circuit
boards, plug-in boards, chassis, enclosures, peripherals, and cables
hexhexadecimal
Hzhertz— the number of scans read or updates w ritten per sec ond
I
in.inches
Iininput current
Ioutoutput current
interrupta computer signal indicating that the CPU should suspend its current
task to service a designated activity
interrupt levelthe relative priority at which a device can interrupt
I/Oinput/output—the transfer of data to/from a computer system involving
communications channels, operator interface devices, and/or data
acquisition and control interfaces
IRQinterrupt request
K
kkilo—the standard metric prefix for 1,000, or 103, used with units of
PnPPnP (Plug and Play) refers to a device that is fully compatible with the
industry standard Plug and Play ISA Specification. All bus-related
configuration is performed through software, freeing you from
manually configuring jumpers or switches to set the device base address
and interrupt level. PnP systems automatically arbitrate and assign
system resources to a PnP product.
port(1) a communications connection on a computer or a remote controller
(2) a digital port, consisting of four or eight lines of digital input and/ or
output
R
RAMrandom-access memory
resolutionthe smallest signal increment that can be detected by a measurement
system. Resolution can be expressed in bits, in proportions, or in
percent of full scale. For example, a system has 12-bit resolution, one
part in 4,096 resolution, and 0.0244% of full scale.
R
EXT
external resistance
S
sseconds
Ssamples
SCXISignal Conditioning eXtensions for Instrumentation—the National
Instruments product line for conditioning low-level signals within an
external chassis near sensors so only high-level signals are sent to DAQ
boards in the noisy PC environmen t
signal conditioningthe manipulation of signals to prepare them for digitizing
S/ssamples per second—used to express the rate at which a DAQ board