Chapter 4
Programming
©
National Instruments Corporation
4-11
8.
The function
AI_Board_Environmentalize
configures the board
for any external multiplexers.
Joint_Reset_Register
AI configuration start = 1;
AI_Mode_2_Register
External mux present = 0;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
9.
Call
AI_Trigger_Signals
to set the triggering options.
Joint_Reset_Register
AI configuration start = 1;
AI_Mode_1_Register
Trigger once = 1;
AI_Trigger_Select_Register
Start edge = 1;
Start sync = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
10. 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;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
11. Call the function
AI_End_of_Scan
to select the end of scan event.
Joint_Reset_Register
AI configuration start = 1;
AI_Start_Stop_Select_Register
Stop select = 19;
Stop sync = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;