Based on taking PCI9056 as the bus interface of PXI spectrum analyzer test module,this paper designed the WDF (windows driver foundation) device driver. A method of getting the configuration information of PXI device was introduced. Many modules work at the same time was supported. Through support of visiting the local address space,the device driver can access the hardware. The process of WDF driver deal with 1/0 request packet and DMA operation were explained.%基于以PCI9056为总线接口的PXI(PCI eXtensions for Instrumentation)频谱分析仪测试模块,设计了PXI设备的WDF( Windows Driver Foundation)驱动程序.介绍了WDF驱动中对PXI设备配置空间信息的访问方法,实现对多套相同模块同时工作的支持;通过对设备的本地地址空间的访问,实现了驱动对实际硬件的操作;讨论了WDF驱动中处理上层请求的过程,并且以数据的采集为例介绍了DMA( Direct Memory Access)操作的实现方法.
展开▼