National Instruments PCI E Series Programmer's Manual page 81

Register-level programmer manual, multifunction i/o boards for pci bus computers, register-level
Hide thumbs Also See for PCI E Series:
Table of Contents

Advertisement

Chapter 4
Programming
PCI E Series RLPM
4.
Call the function
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
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
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;
to load the number of scans.
Number_of_Scans
selects the scan start event.
selects the convert signal for the acquisition.
4-18
© National Instruments Corporation

Advertisement

Table of Contents
loading

Table of Contents