检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《自动化技术与应用》2014年第11期122-129,共8页Techniques of Automation and Applications
基 金:国家科技支撑计划项目(编号2013BAK03B06)
摘 要:研究了在组态王提供的Kv Tcpip Client Ocx Active X通信控件基础上,实现Visual C++读取和设置组态王变量信息的方法,可以达到实时通信的目的。以行车中的轴旋转控制为测试背景,首先介绍了组态王系统设计及变量的设置,接着讲述了VC工程的建立和组态王通信控件的添加方法,最后给出了VC与组态王通信的代码具体实现方法。此方法与传统的DDE和OPC等方法相比开发更加便捷,适合新系统新开发软件的利用。在Visual C++的基础上,可以在数据处理、报警监视等多方面实现组态王功能的拓展。This paper introduces the methods for Visual C++ to read and set variables values in Kingview system, realizing real-time communication and control. Taking axle rotation control as the test background, firstly, Kingview system and variables setup methods are introduced. Then, the method to build a VC project with KvTcpipClientOcx control is introduced too. Finally, the communication method with detailed codes is given. Comparing with traditional DDE and OPC, this method is more convenience to use and fits latest operation system and developing software. Based on VC, Kingview's func- tions can be extended.
关 键 词:Visual C++ 组态王 ACTIVEX控件 实时通信
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.69