节点文献
USB-GPIB转接器驱动程序及相关应用软件的实现
【作者】 边海龙;
【导师】 陈光(?);
【作者基本信息】 电子科技大学 , 测试计量技术及仪器, 2004, 硕士
【摘要】 本文论述了基于USB(Universal Serial Bus 通用串行总线)的GPIB(General Purpose Interface Bus通用接口母线)控制器的软件设计与实现。USB接口是在90年代兴起的新型的计算机外接设备的总线接口,发展到现在,已经是一个成熟的,被众多的计算机设备厂商所广泛采用的接口技术。GPIB是广泛应用于电子测量仪器的一种总线接口。利用该接口可以将电子测量仪器组建成模块化,积木式的自动测试系统。过去对这种系统的控制是利用专用的工业控制机来进行的。将两种总线接口技术结合起来,便最大限度地发挥了这两种总线的优点。使得自动测试系统的组建更为方便,而通过USB接口将通用的个人计算机引入到自动测试系统中,利用USB接口即插即用和高速传输的特性,更是极大地方便了测试者的使用。本文在扼要说明USB总线协议和GPIB协议基础上,将重点讨论转接器的驱动程序及相关软件部分,即该系统在WINDOWS系统内部的软件的设计与实现。主要包括:基于GPIB总线命令的动态链接库的编写,以及上层测试和应用程序的设计。本文第一章介绍了基于USB的GPIB转接系统的理论与现实意义,和课题的产生背景;第二章介绍USB和GPIB这两种总线的特点,并对转接系统的软硬件层次结构作了简要介绍;第三章介绍接口卡在WINDOWS系统中的WDM模式的驱动的实现;第四章介绍该驱动程序在编写过程中发现并克服的主要难点,以及编写该程序的几个关键部分;第五章介绍了驱动程序的调试与安装以及面向操作者的应用程序的编写;第六章介绍在WINDOWS操作系统中通过该接口操作GPIB仪器所实现的动态链接库程序的实现;第七章对整个系统做出了总结,提出系统的不足以及应改善的部分,以便在后续的工作中,可以使整个系统更趋于完善和稳定。
【Abstract】 This paper is focus on the GPIB (General Purpose Interface Bus) system based on the USB (Universal Series Bus). And we will talk about the design and implement of the software of this system in detail. USB is a kind of new technique developed from the 90’s. Now it is matured and adopted by more and more computer device manufactures. GPIB (General Purpose Interface Bus) is applied in the electronic automatic measure system widely. Using this kind of interface, we can setup the automatic measure system by many series of blocking. During the past long time we have to use the special industrial control machine to control this kind of test system. So if we combine these two kinds of buses and implement them in the ATS, the advantages of them will be exerted by the maximum,also we can set up the ATS with more convenience. Using the USB interface we can use the personal computer to control the automatic measure system. And because it has the characteristic of plug and play (PNP) and high-speed data transport, the USB interface lets the users of ATS feel more easily and convenience. First we will introduce the protocol of USB and GPIB briefly, then talk over the software of this system particularly, namely, the programming in the Windows system. The software includes of the driver of the transform card in the Windows system, the program of the dynamic link library based on the instruments of the GPIB system, and the application of the system faced to the users. Chapter one introduces the academic and practical signification of the implement of this system, and the background of the topic. Chapter two introduces the characteristics of the USB and GPIB, and the layered structure of the software. Chapter three introduces the implement of the driver of the controller in the Windows system in WDM model. Chapter four introduces the key points of the driver program. Chapter five introduces the install and debug of the driver program, and introduces application for the users. <WP=6> Chapter six introduces the programming of the dynamic link library. Chapter seven makes a conclusion of the whole system.
【Key words】 USB GPIB; Automatic-measure-system Driver Dynamic-link-library;
- 【网络出版投稿人】 电子科技大学 【网络出版年期】2005年 01期
- 【分类号】TP334.7
- 【被引频次】1
- 【下载频次】447