摘要
基于DiSTI GL Studio的虚拟仪表技术已广泛应用于武器系统建模与仿真。针对Win32控制台环境下单线程虚拟仪表(含虚拟面板)与复杂仿真系统集成存在的问题,提出了一种基于MFC多线程技术的虚拟仪表通用集成方法。该方法在主线程里启动多个虚拟仪表辅线程,通过线程间通讯实现主线程对虚拟仪表辅线程的完整控制和虚拟仪表辅线程对主线程的实时响应。工程实践表明,该方法可以显著提升大型复杂武器系统建模与仿真中虚拟仪表与仿真系统的集成设计效率。
The technology of virtual instrument based on DiSTI GL Studio is being abroad applied to weapon system modeling and simulation.From the point of problem during the integration of Virtual Instrument (including virtual panel) with complicated simulation system under single thread in Win32 console environment,gives a common integrating method based on multi-thread technics in MFC.In this method,the primary thread starts several associate threads under which the virtual panel is running.Through interthread communication between the primary thread and associate threads,this method implements the full control of primary thread to associate threads and real time response of associate threads to primary thread.The engineering practice implies that this method can greatly promote the integrating efficiency of virtual panel to simulation system in large and complicated weapon system modeling and simulation.
出处
《微计算机信息》
2010年第22期10-12,共3页
Control & Automation
基金
基金申请人:李国林
颁发部门:总装备部(项目名称
基金编号不公开)
关键词
虚拟仪表
多线程
线程间通讯
虚拟面板集成
Virtual Instrument
Multi-Thread
Inter-Thread Communication
Virtual Panel Integration