摘要在分布式火控系统精度检测与分析时,往往需要采集第一手原始真实数据,所以数据录取设备必不可少。本文在此背景下,首先介绍了分布式火控系统研究的意义,国内外的研究现状,随着科技和军事战争的发展,火控系统的作用越来越重要,我们必须重视这个问题。对于数据通信,本文介绍了串口通信的基本知识,包括串口通信方式、通信协议等,如串口通信的特点、通信方式。针对火控系统数据录取软件设备,本课题利用MSComm控件编程实现模拟数据分析仪的功能,进行实时数据录取,并详细介绍了MSComm控件的加载、事件和属性,为软件的编写做下铺垫。在VC++6.0开发环境下,利用MFC制作软件界面,控件属性与事件编写基于串口的数据录取代码,用虚拟串口软件在一台计算机上虚拟出两个串口,用一个串口调试助手模拟16进制数据发送。最终软件成功实现的功能有:串口创建,串口打开,数据通信录取,十进制显示数据,保存数据和打开显示已保存的数据等功能,并在录取的数据后打上系统时标,精确到毫秒。31908
毕业论文关键词 火控系统 串口通信 数据接收 MSComm控件
毕业设计说明书外文摘要
Title The real-time analog data recording of multi channel analyzer data Software design
Abstract
When we detect and analyze the accuracy of distributed fire control system,we often need to collect first-hand original true data,so data acceptance equipment is a necessity.Against this background,this paper firstly expounds the significance of distributed fire control system,the current research status at home and abroad.With the development of science and technology and military war,the role of fire control system becomes more and more significant,we must attach great importance to this problem.For data communication,this paper introduces the basic knowledge of serial communication,including serial interface communication mode,communication protocol,etc.such as the characteristics of serial port communication,communication mode.Point to the fire control system data software device,this topic uses MSComm control programming to realize the function of analog data analyzer,records the real-time data,and introduces the MSComm control load,events and properties in detail,this gives a warm-up for the writing of software.In vc + + 6.0 development environment,software interface is made by MFC, serial data record code which based on serial port are written by control properties and events ,it uses virtual serial port software on a computer with to make two virtual serial ports,it uses a serial debugging assistant simulation to send hexadecimal data.The final functions of the software achieves are:serial port creation,serial port open,data communication record,decimal display data,saving data and opening display the saved data,and other functions,and make time markings after the admission of data,the time accurates to milliseconds.
Keywords Fire Control System A Serial Port Communication Data Reception MSComm Control;
目 次
1 绪论 1
1.1 课题研究背景级意义 1
1.2 国内外研究现状 1
1.3 论文的研究内容 3
1.4 论文的章节安排 3
2 串口通信基础 4
2.1 串口通信方式 4
2.2 串口通信协议 6
2.3 串口通信工具 7
2.4 串口通信编程语言 8
3 模拟数据录取软件总设计 12
3.1 软件总体构架 12
3.2 软件功能模块 12
4 模拟数据录取软件详细设计 18
4.1 设计思路 18
4.2 功能模块详细设计 19
5 模拟数据软件调试分析 27
5.1 软件调试概述 27
5.2 功能模板调试 27 MSComm多通道数据分析仪实时模拟数据录取软件设计:http://www.youerw.com/zidonghua/lunwen_28222.html