摘要
介绍了应用emwin图形界面平台开发压力记录仪的数据结构,从数据库应用、通讯和加密、屏幕截图和电池电量几个方面详细阐述了可二次开发压力校准手操器的研发过程。应用emwin开发界面和应用程序与传统的开发模式比较更快捷和方便,压力记录仪调用对话框的回调函数以实现触摸屏和机械按键触发动作的同时触发响应,并对窗体进行重绘。经测试比较,具有交互功能的压力记录仪可以稳定高效地实现压力仪表的数据采集和历史记录,达到了预期的设计效果。
It introduces the data structure of pressure recorder developed by emwin graphical interface platform, and elaborates the research and development process of pressure calibrator from the aspects of database application, communication and en- cryption, screen capture and battery power. The application of emwin development interface and application program is faster and more convenient than the traditional development mode. The callback function of the call dialog box of the pressure recorder can trigger the response of the touch screen and mechanical key triggering action at the same time, and redraw the form. Through the test comparison, the pressure recorder with interactive function can stably and efficiently realize the data collection and historical record of the pressure meter, achieving the expected design effect.
作者
黄莉
顾全
徐擎
梁晓雄
范越
Huang Li;Gu Quan;Xu Qing;Liang Xiaoxiong;Fan Yue(Shanghai Institute of Measurement and Testing Technology,Shanghai,201203,China)
出处
《仪器仪表用户》
2020年第7期5-7,48,共4页
Instrumentation
关键词
压力
记录
emwin
图形界面
回调函数
数据库
加密
pressure
recorder
emwin
graphical interface
callback function
database
encryption