摘要
为了对工业控制类软件中采集的大量数据进行图形化显示,采用Visual C++设计并实现了一个可用于多个波形显示的ActiveX控件。该控件采用位图双缓冲机制,避免了图像闪烁。显示图数量、前景色、背景色及线型均可设;显示图支持Marker操作;坐标轴可响应鼠标拖动。实验表明,该多波形显示控件跨语言性能好、可重用、易组合、使用方便,具有较高的工程应用价值。
A multi-wave display ActiveX control component was designed and implemented to display the large amount of data collected in the industry software based on Visual C++. The double buffeting display technology was used to avoid picture flicker. The amount of wave, foreground color, background color and line style could be set. The displayed wave supported marker operation and the position of axis could be moved through moving mouse. The experiment results indicate that the multi-wave display control component can be used in different language environments. It is reusable and convenient, and it has good compatibility, which promised its high project application value.
出处
《中国测试》
CAS
2009年第2期33-36,共4页
China Measurement & Test
基金
国家"863"计划资助项目(2007AA706128)
作者简介
张文(1985-),女,湖北黄冈市人,硕士研究生,专业方向为自动测试系统。