

浏览全部资源
扫码关注微信
1.长春理工大学 电子信息工程学院, 吉林 长春 130022
2.中国科学院 长春光学精密机械与物理研究所, 吉林 长春 130033
Received:28 August 2016,
Accepted:12 September 2016,
Published:2017-01
移动端阅览
Xuan LIU, Xiao-yun CHEN, Tai-lin HAN. Design of PC driver for the interface of centralized measurement system of transient signal[J]. Chinese journal of liquid crystals and displays, 2017, 32(1): 29-34.
Xuan LIU, Xiao-yun CHEN, Tai-lin HAN. Design of PC driver for the interface of centralized measurement system of transient signal[J]. Chinese journal of liquid crystals and displays, 2017, 32(1): 29-34. DOI: 10.3788/YJYXS20173201.0029.
为了实现瞬态信号集中式测量系统数据的实时传输,设计了基于PCIe总线接口的瞬态信号集中式测量系统。瞬态信号集中式测量系统PCIe总线接口的设计包括PCIe从设备设计和PC机驱动设计,本文仅对该系统PCIe接口的PC机驱动进行研究。PCIe总线的PC机驱动程序采用NI公司的NI-VISA和LabWindows开发环境设计,首先采用NI-VISA Driver Wizard软件配置PCIe设备相关信息和中断检测寄存器,生成INF驱动配置文件,接着使用LabWindows软件通过NI-VISA相关库函数对PCIe设备进行初始化和DMA数据传输设计,最后完成对PCIe总线的PC机驱动验证。实验结果表明:采用NI-VISA和LabWindows开发环境设计的PCIe总线驱动传输速率可以达到300 MB/s。NI公司的NI-VISA和LabWindows开发环境设计的PCIe总线驱动,不仅满足瞬态信号集中式测量系统的数据传输要求,而且降低了PCIe总线的开发难度,缩短了开发周期。
In order to realize the real-time transmission of the transient signal centralized measurement system
a centralized measurement system based on the PCIe bus is established. The design of the PCIe bus interface of the transient signal centralized measurement system consists of the design of the PCIe slave device and the PC driver. The design of the PC driver is only researched in the paper. NI-VISA and LabWindows development environment are used to design the PC driver program of PCIe bus. First of all
NI-VISA Driver Wizard is used to configure PCIe equipment informations and interrupt detection registers to generate an inf driver configuration file. Then
the PCIe bus is initialized and the DMA data transmission is designed with the LabWindows. Finally
the PC driver of the PCIe bus is tested. Experimental results indicate that the PCIe bus driver transmission rate can reach 300 MB/s with the NI-VISA and LabWindows development environment. The PCIe bus driver designed by NI-VISA and LabWindows development environment
not only meets the data transmission requirements of centralized measurement system for transient signal
but also reduces the development difficulty of the PCIe bus and shortens the development cycle.
董岩,张涛,李清军,等. 基于PCI总线的CMOS图像传感器OV6620的驱动设计[J]. 液晶与显示, 2010,25(3):460-465.
DONG Y, ZHANG T, LI Q J,et al. Design of image aquision system based on PCI bus[J]. Chinese Journal of Liquid Crystals and Displays, 2010, 25(3):460-465. (in Chinese)
崔月霞. 基于PCI Express总线的高速数据传输系统的设计与实现[D].北京:北京邮电大学,2013.
CUI Y X.Design and implementation of high speed data transmission system based on PCI express[D]. Beijing:Beijing University of Posts and Telecommunications, 2013. (in Chinese)
田泽,刘娟,王绮卉. 基于WDM的PCIE驱动设计和实现[J]. 软件导刊, 2010,9(4):9-10.
TIAN Z, LIU J, WANG Q H. Design and implementation of PCIE driver based on WDM[J]. Software Guide, 2010, 9(4):9-10. (in Chinese)
袁晓兵,张新,王沛,等. PCI总线数据采集卡Windows NT驱动程序的设计[J]. 光学 精密工程, 2001,9(1):89-92.
YUAN X B, ZHANG X, WANG P,et al. Device driver programming in Windows NT for PCI data acquisition card[J]. Optics and Precision Engineering, 2001, 9(1):89-92. (in Chinese)
张强,耿爱辉,曹立华,等. Compact PCI板卡硬件设计与传输速率测试[J]. 光学 精密工程, 2009,17(8):2047-2052.
ZHANG Q, GENG A H, CAO L H,et al. Design of Compact PCI communication card and its bandwidth test[J]. Optics and Precision Engineering, 2009, 17(8):2047-2052. (in Chinese)
吕笛,范红旗,卢再奇. 基于NI-VISA的PCI卡驱动程序设计[J]. 微处理机,2 009,30(5):112-115.
LV D, FAN H Q, LU Z Q. Developing a VISA-based driver for a PCI card[J]. Microprocessors, 2009, 30(5):112-115. (in Chinese)
罗宣平. 基于PCIE接口的上位机调试系统设计[D].长沙:国防科学技术大学,2012.
LUO X P.Designing of the host computer debugging system based on the PCI express interface[D]. Changsha:National University of Defense Technology, 2012. (in Chinese)
李晃,巩峰,陈彦化. 基于PCIE驱动程序的数据传输卡DMA传输[J]. 电子科技, 2014,27(1):117-120.
LI H, GONG F, CHEN Y H. Data transmission card based on the PCIE driver[J]. Electronic Science and Technology, 2014, 27(1):117-120. (in Chinese)
杨建和. 基于LabWindows/CVI数据采集系统的设计[D].北京:北京邮电大学,2012.
YANG J H.Design of data acquisition system based on LabWindows/CVI[D]. Beijing:Beijing University of Posts and Telecommunications, 2012. (in Chinese)
Using the NI-VISA Driver Wizard and NI-VISA to Develop a PXI(e)/PCI(e) Driver in Windows[EB/OL]. (2013-03-20) http://www.ni.com/tutorial/4713/en/ http://www.ni.com/tutorial/4713/en/ .
王晓庆. PCIE高速数据采集系统的驱动及上位机软件开发[D].北京:北京交通大学,2013.
WANG X Q.Driver and upper-position computer software development of high-speed data acquisition system based on PCI express interface[D]. Beijing:Beijing Jiaotong University, 2013. (in Chinese)
樊博,王延杰,孙宏海,等. FPGA实现高速实时多端口图像处理系统的研究[J]. 液晶与显示, 2013,28(4):620-625.
FAN B, WANG Y J, SUN H H,et al. High speed real-time multiport image processing system realized on FPGA[J]. Chinese Journal of Liquid Crystals and Displays, 2013, 28(4):620-625. (in Chinese)
王聪,王彬,薛洁,等. 基于PCIe总线协议的设备驱动开发[J]. 信息技术, 2013(3):32-35.
WANG C, WANG B, XUE J,et al. Driver development of device based on PCIe bus protocol[J]. Information Technology, 2013(3):32-35. (in Chinese)
0
Views
22
下载量
0
CSCD
Publicity Resources
Related Articles
Related Author
Related Institution
京公网安备11010802024621