摘要
数据采集设备与PC主机之间的高速数据传输有FIFO(先进先出)和DMA两种主要方式。为在Windows环境下实现基于DMA传输方式的高速数据采集,研究了一种DLL方法。首先介绍了DMA传输方式下高速数据采集的基本原理,接着在Windriver底层驱动平台上构造了一个高速数据采集DLL,包括用于数据采集控制和DMA控制器操作的多个函数模块,最后给出用户应用程序调用该DLL进行高速数据采集的详细方法。
FIFO(first in first out )and DMA are two primary modes for the high-speed data transfer between the data acquisition(DAQ)equipments and PCs.A DLL method is studied to realize the high-speed DAQ with DMA data transfer in MS Windows.The basic principles of high-speed DAQ with DMA data transfer are introduced firstly.With the Win-driver's bottom-level driver,a high-speed DAQ DLL is constructed,which includes multiple functions for the operations of DAQ hardware and DMA registers.Finally,a high-speed DAQ method by calling the DAQ DLL in user applications is put forward in detail.
出处
《计算机工程与应用》
CSCD
北大核心
2004年第22期107-109,共3页
Computer Engineering and Applications
基金
江苏省高校自然科学基金:"软测量技术在电力测试与分析中的应用"(编号:02KJB470006)
关键词
DMA传输
高速数据采集
DLL
DMA data transfer,high-speed data acquisition,DLL