摘要
在航天测试领域,为体现测试系统的变化情况或状态,经常需要以曲线形式再现测试数据。针对曲线绘制中的大容量数据处理问题,采用"分块读取"方式,可以满足超过4 GB的大容量数据文件的处理。当数据量较大时,一般的绘图方法会出现程序执行效率不高、显示区域闪烁的问题。分析了产生上述问题的原因,利用MFC中的API函数"Polyline"优化了绘图程序,进而提高了绘图程序的执行效率;采用双缓冲方法消除了曲线显示时绘图区闪烁的问题,同时进一步缩短了绘图时间。
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.
出处
《图学学报》
CSCD
北大核心
2014年第4期623-629,共7页
Journal of Graphics
基金
国家自然科学基金资助项目(51275491)