© Copyright 1989, 1995 National Instruments Corporation.All Rights Reserved.PC-DIO-24User ManualDigital I/O Board for the IBM PC/XT/ATSeptember 1995 E
About This ManualPC-DIO-24 User Manual xii © National Instruments Corporation• The Index alphabetically lists the topics in this manual, including the
About This Manual© National Instruments Corporation xiii PC-DIO-24 User Manual• Your SCXI hardware user manuals—If you are using SCXI, read these manu
© National Instruments Corporation 1-1 PC-DIO-24 User ManualChapter 1Introduction
Introduction Chapter 1PC-DIO-24 User Manual 1-2 © National Instruments CorporationWith the PC-DIO-24, the PC can serve as a digital I/O system control
Chapter 1 Introduction© National Instruments Corporation 1-3 PC-DIO-24 User ManualNI-DAQ Driver SoftwareThe NI-DAQ driver software is included at no c
Introduction Chapter 1PC-DIO-24 User Manual 1-4 © National Instruments CorporationRegister-Level ProgrammingThe final option for programming any Natio
Chapter 1 Introduction© National Instruments Corporation 1-5 PC-DIO-24 User Manual• Electronic Products Division/3M (part number 3425-7650)• T&B/A
Introduction Chapter 1PC-DIO-24 User Manual 1-6 © National Instruments CorporationUnpackingYour PC-DIO-24 board is shipped in an antistatic package to
© National Instruments Corporation 2-1 PC-DIO-24 User ManualChapter 2Configuration and Installation
Configuration and Installation Chapter 2PC-DIO-24 User Manual 2-2 © National Instruments Corporation4 321 NATIONALINSTRUMENTS1U22W13F14W2Figure 2-
National Instruments Corporate Headquarters6504 Bridge Point ParkwayAustin, TX 78730-5039(512) 794-0100Technical support fax: (800) 328-2203(512) 794-
Chapter 2 Configuration and Installation© National Instruments Corporation 2-3 PC-DIO-24 User ManualU2 DIP switches, press the side marked OFF to sele
Configuration and Installation Chapter 2PC-DIO-24 User Manual 2-4 © National Instruments CorporationInterrupt SelectionThere are two sets of jumpers f
Chapter 2 Configuration and Installation© National Instruments Corporation 2-5 PC-DIO-24 User ManualThe PC-DIO-24 can share interrupt lines with other
Configuration and Installation Chapter 2PC-DIO-24 User Manual 2-6 © National Instruments CorporationSignal ConnectionsI/O Connector Pin DescriptionFig
Chapter 2 Configuration and Installation© National Instruments Corporation 2-7 PC-DIO-24 User ManualSignal Connection DescriptionsPin Signal Name Desc
Configuration and Installation Chapter 2PC-DIO-24 User Manual 2-8 © National Instruments CorporationTiming SpecificationsThis section lists the timing
Chapter 2 Configuration and Installation© National Instruments Corporation 2-9 PC-DIO-24 User ManualMode 1 Input TimingThe following figure illustrate
Configuration and Installation Chapter 2PC-DIO-24 User Manual 2-10 © National Instruments CorporationMode 1 Output TimingThe following figure illustra
Chapter 2 Configuration and Installation© National Instruments Corporation 2-11 PC-DIO-24 User ManualMode 2 Bidirectional TimingThe following figure i
© National Instruments Corporation 3-1 PC-DIO-24 User ManualChapter 3Theory of Operation
Limited WarrantyThe PC-DIO-24 is warranted against defects in materials and workmanship for a period of one year from the date ofshipment, as evidence
Theory of Operation Chapter 3PC-DIO-24 User Manual 3-2 © National Instruments CorporationAddress DecoderThe base address used by the board is determin
© National Instruments Corporation 4-1 PC-DIO-24 User ManualChapter 4Register-Level Programming
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-2 © National Instruments CorporationMode 0This mode can be used for simple input and outp
Chapter 4 Register-Level Programming© National Instruments Corporation 4-3 PC-DIO-24 User ManualRegister MapThe following table lists the address map
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-4 © National Instruments CorporationD2 D1 D0D5 D4 D3D7 D6 (high nibble)1 = input0 = o
Chapter 4 Register-Level Programming© National Instruments Corporation 4-5 PC-DIO-24 User ManualTable 4-2. Port C Set/Reset Control WordsNumber Bit S
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-6 © National Instruments CorporationTable 4-3. Mode 0 I/O ConfigurationsControl Word Gro
Chapter 4 Register-Level Programming© National Instruments Corporation 4-7 PC-DIO-24 User Manual/* EXAMPLE 1*/outp(cnfg,0x80); /* Ports A, B, and C ar
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-8 © National Instruments CorporationDuring a mode 1 data read transfer, the status of the
Chapter 4 Register-Level Programming© National Instruments Corporation 4-9 PC-DIO-24 User ManualMode 1 Input Programming ExampleMain() {#define BASE_A
WARNING REGARDING MEDICAL AND CLINICAL USEOF NATIONAL INSTRUMENTS PRODUCTSNational Instruments products are not designed with components and testing i
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-10 © National Instruments CorporationThe control word written to the CNFG Register to con
Chapter 4 Register-Level Programming© National Instruments Corporation 4-11 PC-DIO-24 User ManualAt the digital I/O connector, port C has the followin
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-12 © National Instruments CorporationMode 2–Bidirectional BusMode 2 has an 8-bit bus that
Chapter 4 Register-Level Programming© National Instruments Corporation 4-13 PC-DIO-24 User ManualBit Name Description (continued)4 INTE2 Interrupt En
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-14 © National Instruments Corporation/* EXAMPLE 1*/outp(cnfg,0xC0); /* Port A is in mode
Chapter 4 Register-Level Programming© National Instruments Corporation 4-15 PC-DIO-24 User Manual/* EXAMPLE 3–Set up interrupts for mode 1 output for
Register-Level Programming Chapter 4PC-DIO-24 User Manual 4-16 © National Instruments CorporationTable 4-4. Interrupt Enable Signals for All Mode Co
© National Instruments Corporation A-1 PC-DIO-24 User ManualAppendix ASpecifications
Specifications Appendix APC-DIO-24 User Manual A-2 © National Instruments CorporationPhysicalDimensions...
© National Instruments Corporation B-1 PC-DIO-24 User ManualAppendix BI/O Connector
FCC/DOC Radio Frequency Interference ComplianceThis equipment generates and uses radio frequency energy and, if not installed and used in strict accor
© National Instruments Corporation C-1 PC-DIO-24 User ManualAppendixCOKI 82C55A Data Sheet*This appendix contains the manufacturer data sheet
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-2 © National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-3 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-4 © National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-5 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-6© National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-7 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-8 © National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-9 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-10 © National Instruments Corporation
© National Instruments Corporation vii PC-DIO-24 User ManualContents
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-11 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-12 © National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-13 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-14© National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-15 PC-DIO-24 User Manual
Appendix C OKI 82C55A Data SheetPC-DIO-24 User Manual C-16 © National Instruments Corporation
Appendix C OKI 82C55A Data Sheet© National Instruments Corporation C-17 PC-DI
© National Instruments Corporation D-1 PC-DIO-24 User ManualAppendix DCustomer Communication___________________________________________________ For yo
Technical Support Form___________________________________________________ Photocopy this form and update it each time you make changes to your softwar
PC-DIO-24 Hardware and SoftwareConfiguration Form___________________________________________________ Record the settings and revisions of your hardwar
ContentsPC-DIO-24 User Manual viii © National Instruments CorporationChapter 4Register-Level Programming...
Documentation Comment Form___________________________________________________ National Instruments encourages you to comment on the documentation supp
© National Instruments Corporation Glossary-1 PC-DIO-24 User ManualGlossary___________________________________________________ Prefix Meaning Valueµ-
© National Instruments Corporation Index-1 PC-DIO-24 User ManualIndex
IndexPC-DIO-24 User Manual Index-2 © National Instruments CorporationIIBF signaldescription (table), 2-8mode 1 input timing, 2-9mode 2 bidirectional
Index© National Instruments Corporation Index-3 PC-DIO-24 User ManualNNI-DAQ driver software, 1-3OOBF* signaldescription (table), 2-8mode 1 output tim
IndexPC-DIO-24 User Manual Index-4 © National Instruments Corporationmode 1 strobed output, 4-9 to 4-11control words written to CNFG register (figure)
Contents© National Instruments Corporation ix PC-DIO-24 User ManualFiguresFigure 1-1. The Relationship between the Programming Environment, NI-DAQ, an
© National Instruments Corporation xi PC-DIO-24 User ManualAbout This Manual
Comentarios a estos manuales