摘要随着工业控制水平的不断提高,人们对于控制系统的监控也提出了越来越高的要求,组态软件在传统监控软件的基础上,提供给用户丰富的定制功能,因而得到了广泛的应用。在组态软件中,生产过程的测量信息与组态画面中的各种元素通过变量库关联,因此变量库的设计是组态软件设计中的一个重要组成部分。67255

本文研究了利用XML(Extensible Markup Language,可扩展标记语言)为配置文件的变量库设计方法。以MFC创建的基于对话框的程序界面为基础,结合XML技术,在设计环境中将定义的变量信息记录在XML文档各元素中,并在运行环境中通过解析XML文件获取各变量的配置参数,并赋值给相应的功能函数,来读取和显示变量值,实现用户界面的动画连接。这使得变量库具有更强的扩展性, 提高了组态软件的性能。

毕业论文关键词  XML   MFC   变量库   

毕业设计说明书(论文)外文摘要

Title  The design of Variable Database in Configuration Software                                                   

Abstract

With the increasing level of industrial control, people have higher requirements for the monitoring. Comparing with the traditional monitoring software, Configuration software provides wealth customization function, so that it becomes widely used. Information produced in the production process and various elements of the configuration software is connected by variable database, which is considered a very important component of the configuration software. 

In this paper, a method of using XML technology as a configuration file for variable database is studied. The method is based on a Dialog Box created by MFC. In Designing Environment, variable information was recorded in each element saved in a XML document. In Running Environment, XML document is analyzed to get the information, which will be assigned to corresponding function to obtain values of the variables and achieve the design of dynamic connection. 

This method makes variable database get a better scalability and gives configuration software a better performance. 

Keywords  XML   MFC   Variable Database

目录

1  引言 1

1.1 研究背景与意义 1

1.2  研究现状 1

1.3  内容安排 3

2  总体设计 4

2.1  组态软件结构概述 4

2.2  总体设计思路 4

2.3  总体框架图 5

2.4  开发平台简介 7

3  XML文档的配置 9

3.1  XML简介 9

3.2  VC-XML编程技术 11

3.3  VC-XML 算法设计 13

3.4  本章小结 18

4  变量库的实现 20

4.1  设计环境的设计 20

4.2  运行环境的设计 26

4.3  本章小结 30

5  结果与分析

上一篇:Model750系统的建模与控制
下一篇:PID双容水箱液位控制系统设计

连续-离散型状态观测器设...

FLUENT波浪中油船边舱破损下油泄漏特性研究

空中爆炸载荷模拟国内外研究现状

基于LS-DYNA的空中爆炸模拟

AT89C52单片机电力系统中智...

中学地理教学与生活化教学相结合的策略

模糊算法在PID控制系统中的应用MATLAB仿真

辩护律师的作证义务和保...

多元化刑事简易程序构建探讨【9365字】

拉力采集上位机软件开发任务书

谷度酒庄消费者回访调查问卷表

国内外无刷直流电动机研究现状

高校网球场馆运营管理初探【1805字】

《醉青春》导演作品阐述

浅谈传统人文精神茬大學...

中国古代秘书擅权的发展和恶变

浅谈新形势下妇产科护理...