![background image](http://html1.mh-extra.com/html/national-instruments/daqcard-dio-24/daqcard-dio-24_user-manual_709163044.webp)
Appendix B
Register-Level Programming
©
National Instruments Corporation
B-3
DAQCard-DIO-24 User Manual
Figure B-1.
Control-Word Formats
Single Bit Set/Reset Feature
Table B-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. In this table n
represents the bit to be set or reset.
D0
D1
D2
D3
D4
D5
D6
D7
Group A
Group B
D0
D1
D2
D3
X
X
X
D7
a. Mode Set Word Format
b. Bit Set/Reset Word Format
Control-Word Flag
1 = mode set
Port A
1 = input
0 = output
Port C
(high nibble)
1 = input
0 = output
Port C
(low nibble)
1 = input
0 = output
Port B
1 = input
0 = output
Mode Selection
0 = mode 0
1 = mode 1
Bit Set/Reset
1 = set
0 = reset
Bit Select
(000)
(001)
(010)
.
.
.
.
(111)
Control-Word Flag
0 = bit set/reset
Mode Selection
00 = mode 0
01 = mode 1
1X = mode 2
Содержание DAQCard-DIO-24
Страница 68: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 2 National Instruments Corporation ...
Страница 69: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 3 DAQCard DIO 24 User Manual ...
Страница 70: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 4 National Instruments Corporation ...
Страница 71: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 5 DAQCard DIO 24 User Manual ...
Страница 72: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 6 National Instruments Corporation ...
Страница 73: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 7 DAQCard DIO 24 User Manual ...
Страница 74: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 8 National Instruments Corporation ...
Страница 75: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 9 DAQCard DIO 24 User Manual ...
Страница 76: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 10 National Instruments Corporation ...
Страница 77: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 11 DAQCard DIO 24 User Manual ...
Страница 78: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 12 National Instruments Corporation ...
Страница 79: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 13 DAQCard DIO 24 User Manual ...
Страница 80: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 14 National Instruments Corporation ...
Страница 81: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 15 DAQCard DIO 24 User Manual ...
Страница 82: ...Appendix C OKI 82C55A Data Sheet DAQCard DIO 24 User Manual C 16 National Instruments Corporation ...
Страница 83: ...Appendix C OKI 82C55A Data Sheet National Instruments Corporation C 17 DAQCard DIO 24 User Manual ...