![National Instruments AT-MIO E Series Скачать руководство пользователя страница 73](http://html1.mh-extra.com/html/national-instruments/at-mio-e-series/at-mio-e-series_programmers-manual_3381557073.webp)
Chapter 4
Programming
4-8
©
National Instruments Corporation
The function
Configure_Board
clears the configuration memory,
clears the ADC FIFO, and then sets channel 0 to the given settings.
(Clearing the configuration memory and ADC FIFO require windowed
mode writes as well as board writes.)
Write_Strobe_0_Register
Write strobe 0 = 1;
Write_Strobe_1_Register
Write strobe 1 = 1;
Configuraton_Memory_High_Register
Channel number = 0;
Channel type = 3;
Configuration_Memory_Low_Register
Last channel = 1;
Gain = 1;
Polarity = 0;
Dither enable = 0;
3.
The programming of the DAQ-STC begins with the clock
configuration.
The function
MSC_Clock_Configure
selects the timebase for the
DAQ-STC.
Clock_and_FOUT_Register
Slow internal timebase = 1;
Divide timebase by two = 1;
Clock to board = 1;
Board divide by two =1;
4.
Call the function
Clear_FIFO
to clear the ADC FIFO.
Write_Strobe_1_Register
Write strobe 1 = 1;
5.
The function
AI_Reset_All
will stop any other activities in progress
and start the configuration process.
Joint_Reset_Register
AI reset = 1;
AI configuration start = 1;
Interrupt_A_Ack_Register = 0x3F80;
AI_Mode_1_Register
Reserved one = 1;
AI start stop = 1;
Содержание AT-MIO E Series
Страница 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...