©
National Instruments Corporation
4-1
4
Programming
This chapter contains programming instructions for operating the circuitry
on the AT E Series boards.
Programming the AT E Series boards involves writing to and reading from
registers on the board. Many of these registers belong to the DAQ-STC, and
you will find a listing of these registers in the DAQ-STC Technical
Reference Manual. For a list of board discrete registers, not on the
DAQ-STC, see Chapter 3,
, of this manual.
The DAQ-STC has a set of Board Environment Registers that must be
initialized once at the beginning of configuration. These registers must be
initialized based on the properties of the hardware surrounding the
DAQ-STC.
The programming steps for analog input, output, digital I/O, and timing I/O
are explained in the DAQ-STC Technical Reference Manual. These
operations are explained in terms of bitfields. A bitfield is defined as a
group of contiguous bits that jointly perform a function. Using bitfields has
the advantage of establishing an efficient mapping technique to the
underlying hardware. Also, the programming style becomes very modular,
and a functional description of every programming step is easily
understood.
Because the DAQ-STC Technical Reference Manual has detailed,
step-by-step programming instructions, this register-level programmer
manual gives a series of common programming examples with references
to the DAQ-STC Technical Reference Manual. The program for each
example is presented as it is in the DAQ-STC Technical Reference Manual;
that is, in terms of functions, with bitfields to be written for each function.
To implement the function, you will need to perform a write to or a read
from the specified registers. The complete examples are provided on the
AT E Series Register-Level Programmer Manual Companion Disk.
Содержание AT-AI-16XE-10
Страница 131: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 2 National Instruments Corporation...
Страница 132: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 3 AT MIO E Series RLPM...
Страница 133: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 4 National Instruments Corporation...
Страница 134: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 5 AT MIO E Series RLPM...
Страница 135: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 6 National Instruments Corporation...
Страница 136: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 7 AT MIO E Series RLPM...
Страница 137: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 8 National Instruments Corporation...
Страница 138: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 9 AT MIO E Series RLPM...
Страница 139: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 10 National Instruments Corporation...
Страница 140: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 11 AT MIO E Series RLPM...
Страница 141: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 12 National Instruments Corporation...
Страница 142: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 13 AT MIO E Series RLPM...
Страница 143: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 14 National Instruments Corporation...
Страница 144: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 15 AT MIO E Series RLPM...
Страница 145: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 16 National Instruments Corporation...
Страница 146: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 17 AT MIO E Series RLPM...