In this paper, Windows Driver Model, the Windows up-to-date device driver architecture, is analyzed particularly and WDM driver working mechanism under Windows 2000 is illustrated. By applying above theory, we study the device driver of data acquisition card based on PCI bus. In addition, our own device driver foundation class library is written. These questions that user' s software in data acquisition system based on computer system operate hardware of the computer system are resolved properly.According to the characteristics of device drivers' design in data acquisition system, the methods of device drivers for the newest members of the Microsoft Windows family of operating systems using the Windows Driver Model are discussed thoroughly under Windows 2000. At the same time, the author explains how to read/write the configuration space of data acquisition card based on PCI bus, physical memory and input/output port. In addition, the paper introduces the thinking of writing software and regulation of debugging device drivers. |