Chapter 4
Programming
4-38
©
National Instruments Corporation
13. Call
AO_LDAC_Source_And_Update_Mode
to configure LDAC1 to
output UPDATE in the timed update mode.
Joint_Reset_Register
AO configuration start = 1;
AO_Command_1_Register
AO LDAC0 source select = 0;
AO DAC0 update mode = 1;
AO LDAC1 source select = 0;
AO DAC1 update mode = 1;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
14. Call
AO_Errors_To_Stop_On
to configure the analog output to stop
on overrun error.
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_3_Register = 0x0020;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
15. Call
AO_FIFO
to disable the FIFO retransmit.
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_2_Register
AO FIFO retransmit enable = 0;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
16. Call
Kick_Start_FIFO
to initialize the virtual FIFO boards.
if (VirtualFIFO)
AO_DAC_FIFO_Data = 0;
17. 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;