摘要
以基于PXI总线RS422数据格式通信卡的设计为例,介绍PXI总线在目前高速数据通信中的一种应用及Windows2000/XP下WDM设备驱动程序的运行机理和编程要点;针对开发调试工具DriverStudio给出了基于一定实时性要求的驱动程序实例,重点讨论了驱动程序设计中的中断处理实现及与Win32应用程序异步通信等关键问题;实验结果表明,多线程技术和中断传输方式相结合,实时响应速度有了显著提高,满足了系统要求。
Taking the design of RS422 data communication card based on PXI bus for example, an application in current High-Speed data communication of PXI is introduced, the principle and programming key points for WDM driver design of PXI device based on Windows2000/XP are presented. It demonstrates an instance with a developing and debugging tool DrverStudio based on the real-time requirements to certain extent, and discuss specially some key problems such as resources, interrupt, the communication between Win32 application and driver for PXI device. The test data shows the driver meets the defined objection.
出处
《计算机测量与控制》
CSCD
2008年第6期872-873,883,共3页
Computer Measurement &Control
基金
国家自然科学基金项目(50375008和60575052)。