摘要
该文以某导弹模拟训练系统为研究对象,提出了以事件驱动的程序设计原则,分析了系统的硬件组成和结构、数据库设计和调用以及基于Delphi6的程序实现方法,论述了模拟系统中从VisualBasic中引进串口通信控件Mscomm32.ocx来实现视景同步仿真和模拟对象状态数据实时显示的方法,并借助数据库技术,实现了对模拟系统操作过程中大量操作状态模拟信号的实时监测、操作错误报警和工步互锁,并使软件结构清晰、便于维护、移植和扩展,经某导弹训练模拟系统的研制成功,验证了设计思想的正确性。
Investigating a method applied to a missile's training simulation system, this paper puts forward the design principles of event-driven program, and analyzes the hardware structure, database design and its citing and the software implementation based on Delhpi6.The implementation of sight-synchronized simulation by Mscomm32.ocx from Visual Basic and real-time showing of state data is discussed. By means of database technology, real-time supervision of operation process and working by operation rule are accomplished. It is clear to the software construction, and convenient to maintenance, transplantation and expanding. Based on this method, a missile's training simulator is fulfilled and running results show the design principle is very viable and valid.
出处
《计算机仿真》
CSCD
2004年第12期255-257,共3页
Computer Simulation
关键词
操作规程
数据采集
模拟器
仿真
Operation rule
Data acquisition
Simulator
Simulation