您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>自动测试仪器硬件板卡识别技术研究

自动测试仪器硬件板卡识别技术研究

2851    2016-01-18

免费

全文售价

作者:田娜, 钱光弟, 李力

作者单位:电子科技大学自动化工程学院, 四川 成都 611731


关键词:驱动程序; 板卡识别; WDM驱动模型; 动态链接库; 设备实例; CreateFile函数


摘要:

在自动测试系统中,识别同类板卡需要分配不同的PID、VID,这种方法不仅操作复杂,而且不利于测试系统升级.为改进不足,提出一种通过驱动程序和应用程序的配合扫描硬件板卡的位置信息来识别同类硬件板卡的新技术.经测试表明,该技术实现了驱动共享的目的,达到了上位机对每个板卡分别读写操作的控制要求,并且简化了板卡的使用过程.


Research on the technology of the automatic test instrument hardware boards recognition

TIAN Na, QIAN Guang-di, LI Li

College of Automation, University of Electronic Science and Technology of China, Chengdu 611731, China

Abstract: In the automatic test system, the method of recognizing similar boards needs the distribution of different PID and VID. This method is not only complicated to operate, but also not conducive to upgrade automatic test system. To address these problems, a novel technique, in which similar boards can be recognized by the information of hardware position scanned by the cooperation of driver program and application program, was proposed. The test results proved that driver sharing is realized by this method. In addition, the reading and writing operations of each board can be controlled respectively by PC and the application process of the board are simplified.

Keywords: driver; board-identification; WDM; DLL; the device instance; CreateFile

2011, 37(3): 78-80  收稿日期: 2010-5-27;收到修改稿日期: 2010-8-5

基金项目: 

作者简介: 田娜(1985-),女,硕士研究生,专业方向为航电测试系统软件设计.

参考文献

[1] 杨军. DriverStudio开发WDM设备驱动程序入门[M]. 北京:电子工业出版社,2004:34-40.
[2] 武安河. Windows2000/XP WDM设备驱动程序开发[M]. 北京:电子工业出版社,2005:1-65.
[3] Foltz F. Microsft Windows 驱动程序模型设计[M]. 马少华,译. 北京:清华大学出版社,2004:45-120.
[4] 吴宏钢,尹爱军,秦树人. 基于WDM模型的PCI数据采集卡驱动程序设计[J]. 中国测试技术,2008,34(4):52-55.
[5] 武安河. Windows设备驱动程序[M]. 北京:电子工业出版社,2001:42-148.
[6] 孙毅. Windows WDM设备驱动程序开发指南[M]. 北京:电子工业出版社,2001:1-100.
[7] 张帆,史彩成. Windows驱动开发技术详解[M]. 北京:电子工业出版社,2009:411-424.