- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PCI数据采集卡的WDM驱动程序开发 Development of WDM driver for PCI data acquisition card
卷
应用天地
PCI 数据采集卡的WDM 驱动程序开发
贾 涛 王铁岭
(西安工业大学光电工程学院 西安710032 )
摘 要:从工程应用开发的角度出发,介绍PCI 硬件设备以及驱动程序的基本原理,对PCI 总线
各个接口进行说明,以PCI9052 为例详细讨论利用DDK 开发PCI 设备的WDM 驱动程序的设计问
题,根据数据采集系统驱动程序设计的特点,在Windows2000 下探讨WDM 设备驱动程序的开发
方法,给出编写驱动程序的主要过程,列出各个例程的详细代码,如初始化例程、I/0 服务例程、以
及中断例程,说明了如何访问PCI 配置空间、物理内存、I/0 端口,最后进行调试安装,检验。
关键词:PCI 总线 WDM 驱动程序 数据采集
Development of WDM driver for PCI data acguisition card
Jia Tao Wang Tieiing
(Photoelectricity Engineering Institute ,Xi ’an Technology Uniuersity ,Xi ’an 710032 )
Abstract :From the aspect of engineering appiications,this paper gives an introduction of the PCI hard-
ware device and the basic principie of PCI driver. The description of interface of PCI bus,and a discus-
sion of WDM driver design issue using DDK expioitation of PCI device by way of PCI9052 are avaiiabie.
According to the design characteristics of the driver of data acguisition system,the deveiopment methods
of device drivers for the Microsoft Windows famiiy of operating systems using WDM under Windows2000,
and the main process of driver program and detaii code of aii course are presented. At the same time,
how to read/write the configuration space of data acguisition card based on PCI bus,physicai memory
and I/0 port are expiained. In the end,how to debug,instaii and test the driver are expiained.
Keywords :PCI bus,WDM,driver,data acguisition.
0 引 言 1 PCI 硬件结构与总线操作[1 - 2 ]
数据采集系统越来越多的应用于工业控制和 PCI 是先进的高性能局部总线,可同时支持多
测试等领域,在某些特定的领域,人们对数据采集 组外围设备,PCI 总线信号线分为必备和可选两大
的要求越来越高,如何把数据采集卡采集到的数据 类,必备的信号线是一个32 位的PC 接口必不可
传给计算机也就成了数采卡的关键问题,所以就要 少的,通过这些信号线可以实现完整的PCI 接口功
您可能关注的文档
- N100-90535型汽轮机低压缸通流部分改造浅谈 Brief Discussion on Retrofit of Flow Passage Through LP Cylinder in 100MW Turbine.pdf
- N125型汽轮发电机转子回水支座的改进.pdf
- N1000-25600600型汽轮机组能耗诊断分析 Diagnosis Analysis on Energy Consumption of N1000-25600600 Type Turbine Generating Units.pdf
- N2SF6混合气体在金属封闭输电线路GIL中的应用.pdf
- N2SN2X型气体绝缘开关柜 Type N2SN2X Gas Insulated Switchgears.pdf
- N2流注放电过程动态特性 Dynamic characteristic of N2 streamer discharge.pdf
- Na+对PEMFCPtC气体扩散电极的影响 Effect of impurity Na+ on PtC gas-diffusion electrode in PEMFC.pdf
- Na2HPO4添加剂对Zn-Ni蓄电池负极性能的影响 Effects of Na2HPO4 additive on performance of Zn anodes in Zn-Ni secondary batteries.pdf
- NA8系列创享智能电气魅力.pdf
- Na2SO4掺杂电解质对硫-氧SOFC性能的影响 Effect of doped Na2SO4-electrolyte on the performance of sulfur-oxygen SOFC.pdf
- PCI总线高速连续采集控制逻辑研究 Research on the control logic of continuous high speed acquisition based on PCI bus.pdf
- PC制造商华硕与RCS合作.pdf
- PC作电解质组分的锂离子蓄电池高低温性能 High and low temperature performance of Li-ion battery using PC as electrolyte component.pdf
- PCs市场移动至上有容乃大.pdf
- PCB路内测试系统的开发 The development of in-circuit testing system of PCB.pdf
- PC级自动转换开关的特点及设计.pdf
- PC集群并行无功优化 PC Cluster Parallel Reactive Power Optimization.pdf
- PC机集群系统在电力系统暂态稳定分析中的应用 Application of PC cluster system in electric power system transient stability analysis.pdf
- PC用于家庭影院比例提高.pdf
- PDA在变电站自动化系统数据采集上的应用.pdf
文档评论(0)