摘要
为缩短设备驱动模块的开发周期,对工业实时监控组态软件中常用的设备接口及其数据读写流程进行了研究分析,归类出3类通用硬件接口,给出了基于Windows平台下开发设备驱动模块的程序框架及数据结构,并以串口通讯类为例,简述其程序框架中的主要调用函数。实际开发和工业现场的应用结果表明,在此程序框架及数据结构下,不仅对开发同种类不同设备的驱动模块具有开发周期短、调试方便、软件可靠等特性,而且对开发不同种类的设备驱动模块也同样具有这些特性。
To shorten the time needed to develop device driver modules,three types of common hardware interface are classified on the basis of the study and analysis of industrial real-time monitoring equipment commonly used in the configuration software interface and data read and write processes.Driver module application framework and data structure developed from the Windows-based platform are put forward.The serial communication class is presented as an example to outline the main calling function of device driver.The successful applications in industry have proved that the framework of the program and data structure facilitates the development of devices with different types of driver modules,which are characterized by software reliability,easy debugging and short cycles of development.These positive features also show themselves when different types of device driver module are developed within the framework.
出处
《计算机工程与设计》
CSCD
北大核心
2011年第9期3235-3239,共5页
Computer Engineering and Design
关键词
设备驱动模块
监控
组态
硬件接口
动态链接库
device driver module
monitoring
configuration
hardware interface
dynamic link library