Chapter 4
Programming
4-10
©
National Instruments Corporation
Clock_and_FOUT_Register
Slow internal timebase = 1;
Divide timebase by two = 1;
Clock to board = 1;
Board divide by two =1;
4.
Call the function
Clear_FIFO
to clear the ADC FIFO.
Write_Strobe_1_Register
Write strobe 1 = 1;
5.
The function
AI_Reset_All
stops any other activities in progress and
start the configuration process.
Joint_Reset_Register
AI reset = 1;
AI configuration start = 1;
Interrupt_A_Ack_Register = 0x3F80;
AI_Mode_1_Register
Reserved one = 1;
AI start stop = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
6.
AI_Board_Personalize
sets the DAQ-STC for the PCI E Series
board.
Joint_Reset_Register
AI configuration start = 1;
Clock_and_FOUT_Register
Output divide by two = 1;
Set the AI_Personal_Register = 0xA4A0;
Set the AI_Output_Control Register = 0x032E;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
7.
Call the function
AI_Initialize_Configuration_Memory_Output
to output one
pulse and access the first value in the configuration FIFO.
AI_Command_1_Register
Convert pulse = 1;