文件名称:串口温度数据采集并实时显示
- 所属分类:
- 通讯编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 244kb
- 下载次数:
- 1次
- 提 供 者:
- 周*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一个数据的大小就是画图的某一个点的纵坐标,横坐标同样为数据的序号,再将这些点用线连起来就是曲线图. 图形能移动的原理,是我们首先改变的只是数据,图形并没有变,但图形的形式是由这些数据来确定的,当数据发生变化后,我们通过刷新显示区来变化的.-Serial temperature data acquisition and real-time serial data reading the principle is, as long as when a serial data to the data, the computer will automatically writes data to a specific buffer, we can write specific procedures read that the buffer zone would be fine. Serial data to be sent, process data can be received, the receiving of data is the character, then transform data into digital type, and then the size of the data as a drawing of a point Ordinate, the abscissa serial data. these points will be used to link line is a curve, this is the graphic display the basic tenets. View the original data is the same principle, the difference is, the data from the file, the same data also will be divided into a number one, and then this one is the size of the data to draw a certain point
(系统自动生成,下载前可以参看下载内容)
下载文件列表
串口温度数据采集并实时显示
..........................\readme.txt
..........................\src
..........................\...\comm.aps
..........................\...\comm.clw
..........................\...\comm.cpp
..........................\...\comm.dsp
..........................\...\comm.dsw
..........................\...\comm.exe
..........................\...\comm.h
..........................\...\comm.ncb
..........................\...\comm.opt
..........................\...\comm.plg
..........................\...\comm.rc
..........................\...\commDlg.cpp
..........................\...\commDlg.h
..........................\...\mscomm.cpp
..........................\...\mscomm.h
..........................\...\MSCOMM32.OCX
..........................\...\readme.txt
..........................\...\res
..........................\...\...\comm.rc2
..........................\...\...\Serial.cpp
..........................\...\...\Serial.h
..........................\...\resource.h
..........................\...\StdAfx.cpp
..........................\...\StdAfx.h
..........................\串口数据采集实时显示程序说明.txt
..........................\串口程序流程.doc
..........................\串口程序说明.txt
..........................\原理.txt
..........................\readme.txt
..........................\src
..........................\...\comm.aps
..........................\...\comm.clw
..........................\...\comm.cpp
..........................\...\comm.dsp
..........................\...\comm.dsw
..........................\...\comm.exe
..........................\...\comm.h
..........................\...\comm.ncb
..........................\...\comm.opt
..........................\...\comm.plg
..........................\...\comm.rc
..........................\...\commDlg.cpp
..........................\...\commDlg.h
..........................\...\mscomm.cpp
..........................\...\mscomm.h
..........................\...\MSCOMM32.OCX
..........................\...\readme.txt
..........................\...\res
..........................\...\...\comm.rc2
..........................\...\...\Serial.cpp
..........................\...\...\Serial.h
..........................\...\resource.h
..........................\...\StdAfx.cpp
..........................\...\StdAfx.h
..........................\串口数据采集实时显示程序说明.txt
..........................\串口程序流程.doc
..........................\串口程序说明.txt
..........................\原理.txt