EasyManua.ls Logo

National Instruments PCI E Series - Analog Output

National Instruments PCI E Series
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Programming
©
National Instruments Corporation 4-31 PCI E Series RLPM
10. 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 = 399;
AI_SI2_Load_B_Register
AI SI2 ordinary ticks -1 = 399;
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;
11. Perform Analog Input Example 1 Step 4.
12. 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;
13. Now start the acquisition with
AI_Start_The_Acquisition
.
AI_Command_2_Register
AI START1 pulse = 1;
14. Poll the AI FIFO not empty flag in the AI_Status_1_Register until not
empty and read the ADC FIFO data in the ADC_FIFO_Data_Register.
Do
{
If (AI FIFO not empty) then
read FIFO data;
} while (80 samples have not been read)
Analog Output
Chapter 3 of the DAQ-STC Technical Reference Manual contains all the
information on the analog output timing/control module of the DAQ-STC,

Table of Contents

Related product manuals