Chapter 4
Programming
4-28
©
National Instruments Corporation
AI_SI_Load_A_Registers (24 bits)
AI SI special ticks -1 = 1
AI_Command_1_Register
AI SI load = 1;
AI_SI_Load_A_Registers (24 bits)
AI AI ordinary ticks -1 = 199;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
8.
Perform Analog Input Example 1 Step 11.
9.
Convert_Signal
selects the convert signal for the acquisition.
Joint_Reset_Register
AI configuration start = 1;
AI_SI2_Load_A_Register
AI SI2 special ticks -1 = 1;
AI_SI2_Load_B_Register
AI SI2 ordinary ticks -1 = 1;
AI_Mode_2_Register
AI SI2 reload mode = 1;
AI_Command_1_Register
AI SI2 load = 1;
AI_Mode_2_Register
AI SI2 initial load source = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
10. Perform Analog Input Example 1 Step 4.
11. Call
AI_Arming
to arm the analog input counter.
AI_Command_1_Register
AI SC arm = 1;
AI SI arm = 1;
AI SI2 arm = 1;
AI DIV arm = 1;
12. Now start the acquisition with
AI_Start_The_Acquisition
.
AI_Command_2_Register
AI START1 pulse = 1;