欢迎登录材料期刊网

材料期刊网

高级检索

为了实现瞬态信号集中式测量系统数据的实时传输,设计了基于 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 inter-rupt 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 require-ments of centralized measurement system for transient signal,but also reduces the development diffi-culty of the PCIe bus and shortens the development cycle.

参考文献

[1] 董岩;张涛;李清军;李文明;贾继强;陈浠惠.基于PCI总线的CMOS图像传感器OV6620的驱动设计[J].液晶与显示,2010(3):460-465.
[2] 崔月霞 .基于PCI Express总线的高速数据传输系统的设计与实现[D].北京邮电大学,2012.
[3] 田泽;刘娟;王绮卉.基于WDM的PCIE驱动设计和实现[J].软件导刊,2010(4):9-10.
[4] 袁晓兵;张新;王沛;王国辉.PCI总线数据采集卡Windows NT驱动程序的设计[J].光学精密工程,2001(1):89-92.
[5] 张强;耿爱辉;曹立华;王挺锋.CompactPCI板卡硬件设计与传输速率测试[J].光学精密工程,2009(8):2047-2052.
[6] 吕笛;范红旗;卢再奇.基于NI-VISA的PCI卡驱动程序设计[J].微处理机,2009(5):112-115.
[7] 罗宣平 .基于PCIE接口的上位机调试系统设计[D].国防科学技术大学,2012.
[8] 李晃;巩峰;陈彦化.基于PCIE驱动程序的数据传输卡DMA传输[J].电子科技,2014(1):117-120.
[9] 杨建和 .基于LabWindows/CVI数据采集系统的设计[D].北京邮电大学,2012.
[10] 王晓庆 .PCIE高速数据采集系统的驱动及上位机软件开发[D].北京交通大学,2013.
[11] 樊博;王延杰;孙宏海;陈怀章;何舒文.FPGA实现高速实时多端口图像处理系统的研究[J].液晶与显示,2013(4):620-625.
[12] 王聪;王彬;薛洁;张岩;吴平.基于PCIe总线协议的设备驱动开发[J].信息技术,2013(3):32-35.
上一张 下一张
上一张 下一张
计量
  • 下载量()
  • 访问量()
文章评分
  • 您的评分:
  • 1
    0%
  • 2
    0%
  • 3
    0%
  • 4
    0%
  • 5
    0%