Chapter 4
Programming
©
National Instruments Corporation
4-33
AO_Configuration_Register
DACSel<3..0> = 1;
BipDac = 1;
ExtRef = 0;
ReGlitch = 0;
GroundRef = 0;
3.
Call
AO_Reset_All
to reset the DAQ-STC.
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;
4.
Call
AO_Board_Personalize
to configure the DAQ-STC.
Joint_Reset_Register
AO_Configuration_Start = 1;
If (Board Type = PCI-MIO-16E-1, PCI-6071E or PCI-MIO-16E-4)
AO_Personal_Register = 0x1410;
Else
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;
5.
Call
AO_LDAC_Source_And_Update_Mode
to set the update mode
to immediate update mode.
Joint_Reset_Register
AO configuration start = 1;