Analog Output - National Instruments PCI E Series Programmer's Manual

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

Analog Output

© National Instruments Corporation
10.
Convert_Signal
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_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)
Chapter 3 of the DAQ-STC Technical Reference Manual contains all the
information on the analog output timing/control module of the DAQ-STC,
selects the convert signal for the acquisition.
AI_Start_The_Acquisition
4-31
Chapter 4
Programming
.
PCI E Series RLPM

Advertisement

Table of Contents
loading

Table of Contents