摘要
以开发动态称重控制器的上位机控制软件为背景,介绍了使用VC++实现OPC驱动程序的通用方法。通过引入多线程异步传输、哈希链式存储和DLL封装等技术,优化了数据处理性能,提高了软件开发和维护效率。在使用WinCC和iFix等组态软件开发的分布式控制系统中,该驱动程序运行良好,已得到实际应用验证。
A general method of OPC driver realization based on the platform of VC is presented,on the background of developing PC- based communication software for the dynmic weighing - machine controller. The multi - thread asynchronous data transfer,Hash chain storage and DLL encapsulation techniques are introduced into the driver, which improves the performance of data - processing and makes the development and maintenance more efficient. The driver is well in commission in the distrubuted control system develped with WinCC or iFix.
出处
《现代电子技术》
2007年第6期31-34,共4页
Modern Electronics Technique
关键词
OPC接口
异步数据传输
哈希链
互操作性
OPC interface
asynchronous data transfer
Hash chain
interoperability