计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (10): 80-82.DOI: 10.3778/j.issn.1002-8331.2009.10.024

• 研发、设计、测试 • 上一篇    下一篇

示波器控件的制作及应用

岳玉芳,张玉双,安建祝   

  1. 北京应用物理与计算数学研究所,北京 100088
  • 收稿日期:2008-02-20 修回日期:2008-04-28 出版日期:2009-04-01 发布日期:2009-04-01
  • 通讯作者: 岳玉芳

Making and application of scope display control

YUE Yu-fang,ZHANG Yu-shuang,AN Jian-zhu   

  1. Institute of Applied Physics and Computational Mathematics,Beijing 100088,China
  • Received:2008-02-20 Revised:2008-04-28 Online:2009-04-01 Published:2009-04-01
  • Contact: YUE Yu-fang

摘要: 在基于VC的系统仿真中,仿真结果的实时动态显示方法之一是开发具有示波器功能的ActiveX控件,它以组件方式无缝嵌入仿真程序,界面简洁、美观,支持封装和发布,方便在各类工程应用中使用。介绍了在VC中应用MFC开发示波器控件的几项关键技术,以及该控件在目标跟踪系统仿真中的应用。示波器控件有助于人们对仿真结果的总体变化趋势进行分析,更好地理解和掌握仿真进程。

Abstract: In the system simulations based on VC,one way to display real-time and dynamically simulation results is developing an ActiveX control with scope display function.The control is seamlessly embedded in program to set up a compact and beautiful interface,which also supports encapsulation and issuance for other types of project applications.The paper introduces some key technologies about developments of the scope display control on MFC of VC and gives an application in the simulation of a target tracking system.The control can help people analyzing of the whole variational trend of numerical values to understand and mastering the simulation procedure.