Chapter 4
Programming
4-32
©
National Instruments Corporation
5.
Pre-load the data FIFO with the voltages from the array.
while (FIFO is not full and there is more data to write)
{
AO_DAC_FIFO_Data = data;
}
6.
Call
MSC_Clock_Configure
to program the timebase options.
Clock_and_FOUT_Register = 0x1B00;
7.
Call
AO_Reset_All
to program the timebase options.
Joint_Reset_Register
AO configuration start = 1;
AO_Command_1_Register
AO disarm = 1;
Interrupt_B_Enable_Register = 0x0000;
AO_Personal_Register
AO BC source select = 1;
Interrupt_B_Ack_Register = 0x3F98;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
8.
Call
AO_Board_Personalize
to configure the DAQ-STC for the
MIO board. Use the following bitfield settings:
Joint_Reset_Register
AO_Configuration_Start = 1;
AO_Personal_Register = 0x1430;
Clock_and_FOUT_Register = 0x1B20;
AO_Output_Control_Register = 0x0000;
AO_START_Select_Register = 0x 0000;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
9.
Call
AO_Triggering
to program the trigger signal. Configure the
DAQ-STC to trigger once and use a software START1 trigger.
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_1_Register
AO trigger once = 1;
Содержание 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...