National Instruments PCI E Series Programmer's Manual page 82

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

© National Instruments Corporation
AI_Mode_2_Register
AI SI2 initial load source = 1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end = 1;
8.
Perform Analog Input Example 1 Step 4.
9.
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;
10. Construct the buffer information linked list. Each node contains the
information about one buffer: Every node stores each buffer's physical
address and logical address, and total transfer bytes for that buffer.
11. Set up the DRQ channel
AI_AO_Select_Register
DMA Channel A enable=1;
12. Call the function
transfer
You need to pass the following parameters to the function:
BufferinfoNodeHeadPtr:
NumberOfBuffer:
dmaChannel:
direction:
continuous:
drqnum:
MITE_DMAProgram
Point to the buffer information linked list
head node.
Number of buffers you use for DMA
transfers
DMA channel you want to use, there are
four DMA channels on each PCI board
(0 to 3).
Your DMA transfer direction (INPUT or
OUTPUT)
Perform continuous DMA transfer
(FALSE or TRUE)
DRQ channel you want to use. Make sure
it is the same in Step 11 (0 to 3).
4-19
Chapter 4
Programming
to set up the MITE for DMA
PCI E Series RLPM

Advertisement

Table of Contents
loading

Table of Contents