节点文献

利用VC++实现实时串行数据的接收、分离及动态存储

Reception and separating as well as dynamic storage of real-time serial data realizing by VC++

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 方一鸣张克刚徐向辉陈刚

【Author】 FANG Yi-ming,ZHANG Ke-gang,XU Xiang-hui,CHEN Gang (Electric Engineering Institute, Yanshan University, Qinghuangdao 066004,China)

【机构】 燕山大学电气工程学院燕山大学电气工程学院 河北秦皇岛066004河北秦皇岛066004河北秦皇岛066004

【摘要】 针对现场不定时间间隔发送来的轧制数据,利用计算机进行实时串行数据的接收和分离,并将此数据与数据库系统建立联接,实现数据的动态存储和显示。文中简述了用Windows下的通信API函数进行串行通信的一般过程,提出了利用参数选择窗口灵活设置通信参数的软件实现方法。并重点编程实现了利用自定义消息函数把接收到的实时串行数据进行有效分离、在通信时实现数据向数据库的动态转存,以及利用定时器技术实现串行数据在文档窗口的动态显示等功能。

【Abstract】 Aiming at rolling data that is sent at indefinite time intervals on the spot, a computer is used to accept and separate the real-time serial data. The conjunction between the data and a database system is built, so the dynamic storage and display for the data are realized. A common serial communication process using API function of Windows communication is expounded. A software realization method that flexibly sets communication parameters utilizing a parameter choice window is proposed. The functions to separate the real-time serial data received and achieve the dynamic storage for the data to database utilizing the user-defined-message function during communication, as well as display the serial data dynamically in the document-window realizing by the timer technology are programmed and realized.

  • 【文献出处】 冶金自动化 ,Metallurgical Industry Automation , 编辑部邮箱 ,2004年06期
  • 【分类号】TP311.52
  • 【被引频次】5
  • 【下载频次】333
节点文献中: 

本文链接的文献网络图示:

本文的引文网络