Chapter 4
Programming
©
National Instruments Corporation
4-17
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
8.
Perform Analog Input Example 1 Step 4.
9.
Program_DMA_Controller()
.
Strobes_Register
DMA A channel enable = 1;
AI_AO_Select_Register
DMA input channel A, B, C = 1;
Channel_A_Mode_Register
DMA A channel select = 5;
DMA A transfer type = 1;
DMA A TC interrupt enable = 1;
Channel_A_Mode_Register
DMA A channel enable = 1;
Interrupt_B_Enable_Register
MSC pass thru interrupt enable = 1;
10. The function
AI_Interrupt_Enable
enables interrupts for the
acquisition.
Interrupt_A_Enable_Register
AI SC TC interrupt enable = 1;
AI error interrupt enable = 1;
Interrupt_Control_Register
MSC IRQ pin = 4;
MSC IRQ enable = 1;
MSC IRQ B pin = 4;
MSC IRQ B enable = 1;
11.
Arm_DMA_Controller()
.
12. Call
AI_Arming
to arm the analog input counter.
AI_Command_1_Register
AI SC arm = 1;
AI SI arm = 1;
AI SI2 arm = 1;
AI DIV arm = 1;
13. The function
AI_Start_The_Acquisition
starts the acquisition
process.
AI_Command_2_Register
AI START1 Pulse = 1;
Summary of Contents for AT-AI-16XE-10
Page 131: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 2 National Instruments Corporation...
Page 132: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 3 AT MIO E Series RLPM...
Page 133: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 4 National Instruments Corporation...
Page 134: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 5 AT MIO E Series RLPM...
Page 135: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 6 National Instruments Corporation...
Page 136: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 7 AT MIO E Series RLPM...
Page 137: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 8 National Instruments Corporation...
Page 138: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 9 AT MIO E Series RLPM...
Page 139: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 10 National Instruments Corporation...
Page 140: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 11 AT MIO E Series RLPM...
Page 141: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 12 National Instruments Corporation...
Page 142: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 13 AT MIO E Series RLPM...
Page 143: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 14 National Instruments Corporation...
Page 144: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 15 AT MIO E Series RLPM...
Page 145: ...Appendix A OKI MSM82C55A Data Sheet AT MIO E Series RLPM A 16 National Instruments Corporation...
Page 146: ...Appendix A OKI MSM82C55A Data Sheet National Instruments Corporation A 17 AT MIO E Series RLPM...