摘要
通过在Linux嵌入式系统下,采用QT软件,研究多功能车辆总线及如何快速搭建显示屏系统通用框架,实现了蓄电池牵引车显示屏各界面数据实时刷新及操作提示等功能需求。首先实现显示屏界面框架;针对需定义几千个变量的繁琐操作,研究并开发了数据流变量提取工具快速高效的定义显示屏程序所需变量;然后调用底层驱动函数,实现变量与界面控件的关联,从而实现数据的实时刷新及设置等操作。蓄电池牵引车已投入应用,结果表明变量的快速导入更便捷服务程序,稳定的图形化界面也为工作人员提供了良好的窗口。
The multifunctional vehicle bus and how to build a beneral framework of display system quickly are studied,and the real-time data refresh and operation hints of all aspects of the display screen are realized by using the QT software based on the embedded Linux system.Firstly,the screen interface framework is built;secondly,aiming at the tedious operation of defining thousands of variables,the data flow variable extraction tool is studied and developed to define the variables required quickly and efficiently;thirdly,the driver function is invoked to realize the correlation between variables and interface controls,so as to achieve real-time data refresh and settings and other operations.Battery tractors have been put into use.Field tests show that the fast introduction of variables is more convenient,and the stable graphical interface also provides a good window for staff.
作者
赵贝
张雁勋
王晋斌
梁智勇
ZHAO Bei;ZHANG Yan-xun;WANG Jin-bin;LIANG Zhi-yong(CRRC DaTong Electic Locomotive Co.,LTD1 Technology Center,ShanXi Datong 037038,China)
出处
《软件》
2020年第5期166-168,共3页
Software
关键词
蓄电池牵引车
QT
界面框架
变量提取
驱动函数
Battery electric
QT
Interface framework
Variable extraction
Driver function