首页 | 本学科首页   官方微博 | 高级检索  
     

航天测试系统大容量数据曲线绘制方法的研究
引用本文:马志刚,刘文怡.航天测试系统大容量数据曲线绘制方法的研究[J].工程图学学报,2014(4):623-629.
作者姓名:马志刚  刘文怡
作者单位:中北大学仪器科学与动态测试教育部重点实验室;电子测试技术重点实验室;山西农业大学信息科学与工程学院;
基金项目:国家自然科学基金资助项目(51275491)
摘    要:在航天测试领域,为体现测试系统的变化情况或状态,经常需要以曲线形式再现测试数据.针对曲线绘制中的大容量数据处理问题,采用“分块读取”方式,可以满足超过4 GB的大容量数据文件的处理.当数据量较大时,一般的绘图方法会出现程序执行效率不高、显示区域闪烁的问题.分析了产生上述问题的原因,利用MFC中的API函数“Polyline”优化了绘图程序,进而提高了绘图程序的执行效率;采用双缓冲方法消除了曲线显示时绘图区闪烁的问题,同时进一步缩短了绘图时间.

关 键 词:航天测试  大容量数据  曲线绘制  MFC  “Polyline”函数  双缓冲方法

Study of Massive Data Curve Plotting Method in Aerospace Test System
Affiliation:Ma Zhigang, Liu Wenyi ( 1. Key Laboratory of Instrumentation Science & Dynamic Measurement, Ministry of Education, Science and Technology on Electronic Test & Measurement Laboratory, North University of China, Taiyuan Shanxi 030051, China; 2. College of Information Science and Engineering, Shanxi Agricultural University, Taigu Shanxi 030801, China)
Abstract:In aerospace test field, the representation of test data in curve format is always indispensable, which can reflect the change or conditions in test system. In view of the massive data processing in curve plotting, reading method is adopted, which can satisfy with the processing of the massive data over 4GB. When the amount of data is large, the general curve plotting methods may bring about the low implementation efficiency or the flicker problem in the display area. The plotting program is optimized by the API function "Polyline" in MFC, and the program's execution efficiency is improved greatly. The double-buffering method is applied to clear the flicker in the plotting area when the curve is displayed, and the plotting time is further shortened.
Keywords:aerospace test  massive data  curve plotting  MFC  "Polyline" function  double-buffering method
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号