毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

C++数据采集系统打印软件设计

时间:2018-03-13 13:40来源:毕业论文
介绍了VS2008平台下使用C++语言编写MFC界面,分析说明了串口接受下位机数据文件、分析文件、绘制数据曲线、显示统计结果、支持数据查询、打印机控制等功能通过程序的实现

摘要阐述了上下位机通信、VC++串口编程、基于MFC 的软件框架的设计、GDI的相关背景、XT4131型打印机等问题并进行了相关介绍分析。研究介绍了VS2008平台下使用C++语言编写MFC界面,分析说明了串口接受下位机数据文件、分析文件、绘制数据曲线、显示统计结果、支持数据查询、打印机控制等功能通过程序的实现。并具体分析了此次设计过程中所用的程序案例以及相关函数调用,以及该数据采集系统打印软件通过XT4131型便携打印机打印数据的实现过程。其中重点分析了对于通用的ESC打印指令集的使用和相关注意事项。19556
关键词    串口通信     MFC软件框架    C++编程   GDI函数    ESC指令
毕业论文设计说明书(论文)外文摘要
Title   The Design of Printing Software of Data Acquisition  System                                                   
Abstract
The upper and lower machine communication, VC + + serial programming, MFC-based software design framework, GDI relevant background, XT4131 printers and related issues are stated and analyzed . TheC + + MFC interface language VS2008 platform is introduced and studied ,the realizations of the serial port to accept lower machine data files, analysis of files, rendering the data curve, showing statistical results, data queries, printer control functions through  program are analyzed . And detailed analysis of the case the procedures used in the design process and the realization of process-related function calls, as well as the printing software of the data acquisition system typing through XT4131 portable printer data are included, which focuses on the use and related precautions for generic ESC print instruction set.
Keywords  serial communication  MFC software framework    
C + + programming   GDI function    ESC command
 目   次
1.  引言    1
1.1  课题研究的背景和意义    1
1.2 本次设计主要内容和成果概述    2
1.3  论文总纲    3
2.  上位机与下位机及其通信方式    3
2.1  本课题相关    3
2.2  上下位机概念及基本通信    3
2.3  串口通信的工作原理    4
2.4  相关VC++串口编程及其方法    4
2.4.1  串口通信实现过程    4
2.4.2  基于VC++ 实现串口通信的两种方法    5
2.5  本章小结    8
3.  上位机相关的程序设计    8
3.1  上位机软件设计的主要任务    8
3.2  C++相关背景以及基于其上的MFC平台优势    9
3.3  基于MFC 的程序框架的选择    9
3.4  MFC主体程序设计过程    10
3.4.1  利用MFC程序设计实现数据读取    10
3.4.2  将数据统计绘图    16
3.4.3  数据的最值平均值分析    25
3.5  本章小结    25
4.  打印机的操作的实现    26
4.1  本课题相关    26
4.2  添加打印按钮    26
4.3  XT4131型打印机概述    28
4.4  关于ESC/POS指令    28
4.5  本章小结    32 C++数据采集系统打印软件设计:http://www.751com.cn/tongxin/lunwen_10965.html
------分隔线----------------------------
推荐内容