计算机与现代化

• 软件工程 • 上一篇    下一篇

支持逻辑图免编译与封装复用的编程平台

  

  1. (南京南瑞继保电气有限公司,江苏南京211102)
  • 收稿日期:2016-07-22 出版日期:2017-03-09 发布日期:2017-03-20
  • 作者简介:张磊(1985-),男,宁夏吴忠人,南京南瑞继保电气有限公司工程师,硕士,研究方向:可视化编程,保护测控配置软件; 陈宏君(1981-),浙江衢州人,高级工程师,硕士,研究方向:可视化编程调试软件; 周强(1979-),男,湖北武穴人,高级工程师,研究方向:嵌入式平台软件。

Programming Platform of Supporting Non-compiling and Encapsulation-reuse of Logical Graphics

  1. (NR Electric Co. Ltd., Nanjing 211102, China)
  • Received:2016-07-22 Online:2017-03-09 Published:2017-03-20

摘要:

针对传统图形化编程中存在逻辑图修改后必须重新编译以及逻辑图无法复用的问题,提出并实现一种支持免编译复用的继电保护装置图形化编程平台。该平台采用动态注册技术生成C代码同时生成逻辑文件。当逻辑图发生变化后,只需重新生成逻辑文件,无需重新生成C代码,从而避免了重新编译的过程。该平台还支持逻辑图的封装复用,可以有效地隐藏逻辑图的技术细节,减少嵌入式程序代码空间。

关键词: 免编译, 封装复用, 图形化编程, 保护装置

Abstract:

 To settle the problem that modified logical graphics must be recompiled and logical graphics cannot be reused in traditional graphical programming, this paper promotes and implements a graphical programming platform supporting non-compiling and encapsulation-reuse. The platform uses dynamic registration method for generating C source code and logical file. When logical graphics have been modified, users only need to regenerate logical file without compiling again. Also the platform can encapsulate and reuse logical graphics, conceal the technical details of the logic graphics effectively and reduce code space of embedded program.

Key words: non-compiling, encapsulation-reuse, graphical programming, protective relay

中图分类号: