Chapter 4
Programming
©
National Instruments Corporation
4-37
UI counter with 1 (minimum delay from the START1 to the first
UPDATE). Write 0x9C40 to UI Load Register A (2 ms update
interval).
Joint_Reset_Register
AO configuration start = 1;
AO_Command_2_Register
AO BC gate enable = 0;
AO_Mode_1_Register
AO UPDATE source select = 0;
AO UPDATE source polarity = 0;
AO_Mode_1_Register
AO UI source select = 0;
AO UI source polarity = 0;
AO_Mode_2_Register
AO UI initial load source = 0;
AO UI reload mode = 0;
AO_UI_Load_A_Registers (24 bits)
AO UI special ticks -1 = 1;
AO_Command_1_Register
AO UI load = 1;
AO_UI_Load_A_Registers (24 bits)
AO UI ordinary ticks - 1 = 9C40;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
12. Call
AO_Channels
to select single channel output.
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_1_Register
AO multiple channels = 0;
AO_Output_Control_Register
AO number of channels = 1;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;