Chapter 4 Programming
PCI E Series RLPM 4-18
©
National Instruments Corporation
4. Call the function Number_of_Scans to load the number of scans.
Joint_Reset_Register
AI configuration start = 1;
AI_SC_Load_A_Registers (24 bits)
Number of posttrigger scans -1 = 4;
AI_Command_1_Register
AI SC Load = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
5. The function
AI_Scan_Start selects the scan start event.
Joint_Reset_Register
AI configuration start = 1;
AI_Start_Stop_Select_Register
Start edge = 1;
Start sync = 1;
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 SI ordinary ticks -1 = 19999;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
6. Perform Analog Input Example 1 Step 11.
7.
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 = 1999;
AI_SI2_Load_B_Register
AI SI2 ordinary ticks -1 = 1999;
AI_Mode_2_Register
AI SI2 reload mode = 1;
AI_Command_1_Register
AI SI2 load = 1;