| High-speed Large-capacity data acquisition and recording system, featruing high rate, continuous data recording and high-capacity data storage, is a kind of modularized recording instrument. It can be integrated into high-speed electronic instrument such as radar, electronic warfare and digital communications. Data acquisition recording system with characteristics of continous data recording and high-capacity data storage plays an indispensable role in the defense, aerospace and geological prospecting .This dissertation studies how to program the instrument driver and application program of the data acquisition and recording system.The whole software of the system has three parts: device driver, instrument driver and the application program. Instrument driver provides API functions for the application program. Application program achieve the control of modules by calling API functions provided by instrument driver.This dissertation illustrates the development process of High-speed Lage-capacity data recoring system's instrument driver, based on the introduciton of the PCI-E bus technology and WDM driver. Data acquisition and data recording are two parts of High-speed Lage-capacity data recoring system. Data recording is mapped into the logic disk of operation system by its instrument driver provided by Accusys, Ltd. Application program can access to the data recording system such as the system's logic disks. The instrument driver is composed of five modules-equipment functions, register configuration functions, command functions, DMA functions and interrupt functions.Circular buffer, multi-thread and Demand mode DMA are adopted , because of the demand of continuous storage. Application program is designed to modular user interface with VC++ and Labwindows/CVI integrated development platform. Device can be controlled by users through the user interface easily.Device's performance is test and proves that instrument driver and application program can accomplish all the functions of system very well. The continous recording speed of the system is up to 120MB/s, and the recording capacity is up to 1TB. |