摘要
设计了某型飞机信号检测仪系统,利用多个板卡采集飞机总线上的火控系统耦合信号,采用MFC开发了检测仪软件,研究了用于信号采集的Windows常规定时器使用方法,在系统开发中探讨了MFC的文档类(CDocument)中定时器的使用,针对文档类中使用定时器存在的问题,提出了通过消息转发解决静态函数调用的困难,实现了在文档类中控制多个板卡完成对多个不同工作频率信号的采集和处理工作,视类(CView)专注于数据显示,最终整个检测仪软件结构合理。
The fighters signal testing equipment was designed, some boards were used tot acquiring the fire control system coupling signal in the fighters bus, and the testing equipment's software was developed using the MFC Library. The usually Windows timing method was expatiated for the signal acquisition, during the system exploitation the timing method in MFC CDocument Class was discussed. In order to solve the problem of using timing method in CDocument Class, the timing message is transmitted by other class, so the static function' s calling is easy, the aim that controlling some boards to acquire and dispose the different frequency signals of the fighter's devices in CDocument Class is realized, the CView in the soft is adopted in data display, the soft structure is in reason.
出处
《计算机测量与控制》
CSCD
2006年第8期1007-1009,共3页
Computer Measurement &Control
关键词
检测仪
MFC
定时器
数据采集
testing machine
MFC
timing method
data collection