Operation Theory
35
The total acquired data length = NumChan_counter
*PSC_counter.
Figure 4-7: Gated Trigger with Finite Scan Acquisition
Bus-mastering DMA Data Transfer
In programmable scan acquisition mode, the PCI-9222/PCI-9223
supports bus-mastering DMA data transfer. PCI bus-mastering
DMA is necessary for high speed DAQ in order to utilize the
maximum PCI bandwidth. The bus-mastering controller controls
the PCI bus when it becomes the master. Bus mastering reduces
the size of the onboard memory and reduces CPU loading since
data is directly transferred to the system memory with no host
CPU intervention.
Bus-mastering DMA provides the fastest data transfer rate on PCI-
bus. Once the analog input operation starts, control returns to your
program. The hardware temporarily stores the acquired data in the
onboard AD Data FIFO, then transfers the data to a user-defined
DMA buffer memory in the computer. Note that even when the
acquired data length is less than the Data FIFO, the AD data is not
kept in the Data FIFO but rather directly transferred to the host
memory by the bus-mastering DMA.
The DMA transfer mode is a very complex to program. It is
recommended that you use a high-level program library provided
by the ADLINK driver to configure this card. By using a high-level
programming library for high speed DMA data acquisition, you
Содержание NuDAQ PCI-9222
Страница 12: ......
Страница 36: ...24 Hardware Information...