摘要
为了解决采集卡与上位机之间的海量数据传输问题,结合自行开发的高速数据采集卡,提出了一种基于PCI-e高速数据采集卡的设备驱动与上位机软件的开发方案。该方案对使用Win Driver开发设备驱动的开发步骤以及DMA传输的实现方法进行了介绍,对利用Lab Windows/CVI设计上位机软件的方法予以阐述,并利用DLL动态链接库解决了采集卡与应用程序之间的通信。实验结果表明,在PCI-e X1链路下,数据采集速度可达到182MB/s,能够满足高速数据采集的要求。
In order to solve the problem of mass-data transfer between data acquisition card and host computer, combined with high-speed data acquisition card developed, we propose a development solution for the device driver and the host computer software based on PCI-e high-speed data acquisition card.The development program introduces the development steps of using WinDriver to develop device driver and the design method of DMA transmission, the host computer software which based on the LabWindows/CVI are discussed, and DLL is used to implement the communication between the data acquisition card and the application program.Tests have been shown that the driver and host computer software based on lane 1 PCI-e bus had data acquisition speed up to 182MB/s ,which meets the requrement of high speed data acquisition.
出处
《电子器件》
CAS
北大核心
2015年第5期1126-1130,共5页
Chinese Journal of Electron Devices