引用本文:罗日成,李卫国.基于Windows DLL技术实现监测软件中端口读写方法[J].电力自动化设备,2001,(10):30-36,50
.Port Access Method Based on Windows DLL Technique[J].Electric Power Automation Equipment,2001,(10):30-36,50
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4079次   下载 0 本文二维码信息
码上扫一扫!
基于Windows DLL技术实现监测软件中端口读写方法
罗日成,李卫国
作者单位
摘要:
工程开发过程中,大量的工业控制都涉及端口的读写,针对Windows95/98中设备驱动程序编写十分复杂这一问题,结合在Windows98下使用C++Builder5.0开发电力变压器局部放电监测系统的工程实际,介绍了一种如何在C++Builder5.0中利用动态链接库技术快速实现端口的方法。该方法简单可行,无须编写复杂的设备驱动程序即可实现对端口的操作,从而大大缩短实时监控软件的开发周期,减少程序员的工作量。
关键词:  C++Builder 端口读写 动态链接库 监测软件 Windows DLL 程序设计
DOI:
分类号:TP311.1 TP317
基金项目:国家教育部高等学校骨干教师资助计划项目 (2 0 0 0 6 5 2 9)
Port Access Method Based on Windows DLL Technique
LUO Ri cheng  LI Wei guo
Abstract:
The engineering development of industrial control normally involves port access. The device driver programming under Windows 95/98 is very complicated. A fast port access method based on DLL is introduced, which is written in C++ Builder 5.0 and is developed for the partial discharging monitoring system of power transformer. The method is easy and practicable and the complicated device driver programming is not necessary, which shorts the development period of real time monitoring software and reduces the work of programmer.
Key words:  Windows 95/98,C++ builder,port access,dynamic link library,

用微信扫一扫

用微信扫一扫