Chapter 4
Programming
©
National Instruments Corporation
4-35
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;
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;
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;