摘要
针对传统图形化编程中存在逻辑图修改后必须重新编译以及逻辑图无法复用的问题,提出并实现一种支持免编译复用的继电保护装置图形化编程平台。该平台采用动态注册技术生成C代码同时生成逻辑文件。当逻辑图发生变化后,只需重新生成逻辑文件,无需重新生成C代码,从而避免了重新编译的过程。该平台还支持逻辑图的封装复用,可以有效地隐藏逻辑图的技术细节,减少嵌入式程序代码空间。
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.
出处
《计算机与现代化》
2017年第2期40-44,共5页
Computer and Modernization
关键词
免编译
封装复用
图形化编程
保护装置
non-compiling
encapsulation-reuse
graphical programming
protective relay