Chapter 4
Programming
4-38
©
National Instruments Corporation
4.
Perform Analog Output Example 2 Steps 12-14.
5.
Call
AO_FIFO
to enable the FIFO retransmit.
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_2_Register
AO FIFO retransmit enable = 1;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
6.
Call
AO_Arming
to arm the counters and preload the DAC with the
first analog output value.
AO_Mode_3_Register
AO not an UPDATE = 1;
AO_Mode_3_Register
AO not an UPDATE = 0;
Wait until DACs have been updated.
AO_Command_1_Register = 0x0554;
7.
Call
AO_Start_The_Acquisition
to pulse the software START1
trigger.
AO_Command_2_Register
AO START1 pulse = 1;
Example 4
This example generates a waveform using local buffer mode with external
UPDATE and external trigger. This example does not support those boards
with a virtual FIFO due to the use of the local buffer mode, but the
programming of the external UPDATE and START1 applies to all boards.
Initialize the data FIFO with a 100 point buffer. Output the buffer 50 times.
The update interval is determined externally. Confirm operation with an
oscilloscope.
1.
Perform Analog Output Example 2 Steps 1-8.
2.
Call
AO_Triggering
to program the trigger signal. Configure the
DAQ-STC to trigger once. Set the START1 select to PFI6.
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...