Network Card User Manual
Table Of Contents
- PC-DIO-24 User Manual
- Contents
- About This Manual
- Chapter 1 Introduction
- Chapter 2 Configuration and Installation
- Chapter 3 Theory of Operation
- Chapter 4 Register-Level Programming
- Appendix A Specifications
- Appendix B I/O Connector
- Appendix C OKI 82C55A Data Sheet*
- Appendix D Customer Communication
- Glossary
- Index
- Figures
- Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware
- Figure 2-1. PC-DIO-24 Parts Locator Diagram
- Figure 2-2. Example Base I/O Address Switch Settings
- Figure 2-3. Jumper Settings–PC6, PC4, PC2, and N/C
- Figure 2-4. Interrupt Jumper Setting for IRQ5 (Factory Setting)
- Figure 2-5. Digital I/O Connector Pin Assignments
- Figure 3-1. PC-DIO-24 Block Diagram
- Figure 4-1. Control-Word Formats
- Figure B-1. PC-DIO-24 I/O Connector
- Tables
- Table 2-1. PC-DIO-24 Factory-Set Jumper and Switch Settings
- Table 2-2. Port C Signal Assignments
- Table 4-1. PC-DIO-24 Address Map
- Table 4-2. Port C Set/Reset Control Words
- Table 4-3. Mode 0 I/O Configurations
- Table 4-4. Interrupt Enable Signals for All Mode Combinations
- Table A-1. Maximum Average Transfer Rates for the PC-DIO-24

Register-Level Programming Chapter 4
PC-DIO-24 User Manual 4-4 © National Instruments Corporation
D2 D1 D0D5 D4 D3D7 D6
(high nibble)
1 = input
0 = output
Control Word
Flag
1 = mode set
00 = mode 0
01 = mode 1
1X = mode 2
Mode Selection
1 = input
0 = output
Port A
Port C
(low nibble)
1 = input
0 = output
Port C
0 = mode 0
1 = mode 1
Mode Selection
Group A Group B
Port B
1 = input
0 = output
Flag
D2 D1 D0XXD3D7 X
0 = bit set/reset
1 = set
0 = reset
(000)
(001)
(010)
:
:
(111)
Control Word
Bit Select
Bit Set/Reset
a. Mode Set Word Format
b. Bit Set/Reset Word Format
Figure 4-1. Control-Word Formats
Single Bit Set/Reset Feature
Table 4-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.