| 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. Chapter six introduces the programming of the dynamic link library. Chapter seven makes a conclusion of the whole system. |