摘要
为了实现基于PCI总线的数据采集,根据WDM驱动程序的工作原理,设计了基于PCI总线的数据采集卡驱动程序,实现了驱动程序的设备加载,例程分发,中断处理,并探讨了驱动程序的调用和封装。系统以VC++6.0及DriverStudio3.0作为开发平台,以PCI-025004数据采集卡为例,开发了Windows2000/XP操作系统下的驱动程序。实验表明,该驱动程序运行稳定、移植性好,其框架结构能广泛地用于PCI总线设备的开发。
For realizing data acquisition based on PCI (Peripheral Component Interconnect) bus, a device driver was designed for data acquisition card based on PCI bus according to the principle of WDM device driver. This device driver could complete device driver loading, routine dispatching and interrupt service. The invoking and package of device driver were also discussed. Taking PCI-025004 data acquisition card as an example, it was used to develop the device driver for Windows20OO/XP. And in this development, VC ++6.0 and DriverStudio3.0 were took as development platform. The experiment results show that the device driver runs well and could be planted in different PC. They also indicate that the framework of the device driver could be used in the development of other PCI bus device driver.
出处
《中国测试技术》
2008年第3期52-55,共4页
CHINA MEASUREMENT & TESTING TECHNOLOGY
基金
重庆市自然科学基金资助项目(CSTC,2007BB2159)