摘要
针对目前触摸屏组态软件存在的组态过程复杂及通用性较差的问题,提出了一种基于界面的触摸屏组态软件设计方法。利用Visual C#开发平台,实现触摸屏通用组态软件的设计。在上位机进行组态软件界面编辑、组态文件编译以及与下位机数据的交互的基础上,基于PC机实现了触摸屏工作状态的模拟仿真。在STM32F103硬件平台上验证了组态软件设计的曲线显示控件。实验与仿真结果表明,基于界面的组态软件设计方法的正确性和便捷性,为触摸屏组态软件设计提供了一种新的思路。
The method of designing the universal configuration software is proposed which based on interface, with regard to the problem of reducing difficulty of the configuration process and improving the versatility of the software. On the basis of the design of editing interface, compiling configuration file, the data interaction of PC and the touch panel at platform of Visual C#, a simulation and debugging on PC about the working status of touch screen is performed. An experimental verification of curve control is presented on the STM32F103 hardware platform. The verification and simulation results show that this method based on interface design is correct and convenient, which provides a new way to design configuration software for touch panel.
出处
《电子科技》
2017年第5期165-168,共4页
Electronic Science and Technology
基金
上海计算物理研究所基金资助项目(30133020001)