串口温度数据采集并实时显示

所属分类:串口编程
开发工具:Visual C++
文件大小:244KB
下载次数:4300
上传日期:2005-05-30 16:42:42
上 传 者MR.田
说明:  串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一个数据的大小就是画图的某一个点的纵坐标,横坐标同样为数据的序号,再将这些点用线连起来就是曲线图. 图形能移动的原理,是我们首先改变的只是数据,图形并没有变,但图形的形式是由这些数据来确定的,当数据发生变化后,我们通过刷新显示区来变化的.
(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 )

文件列表:
串口温度数据采集并实时显示\src\comm.aps (23368, 2004-06-03)
串口温度数据采集并实时显示\src\comm.clw (2530, 2004-06-03)
串口温度数据采集并实时显示\src\comm.cpp (2033, 2004-04-30)
串口温度数据采集并实时显示\src\comm.dsp (4463, 2000-04-04)
串口温度数据采集并实时显示\src\comm.dsw (577, 2000-03-17)
串口温度数据采集并实时显示\src\comm.h (1302, 2000-03-17)
串口温度数据采集并实时显示\src\comm.ncb (205824, 2004-06-03)
串口温度数据采集并实时显示\src\comm.opt (57856, 2004-06-03)
串口温度数据采集并实时显示\src\comm.plg (612, 2004-05-27)
串口温度数据采集并实时显示\src\comm.rc (8739, 2004-05-27)
串口温度数据采集并实时显示\src\commDlg.cpp (12389, 2004-05-27)
串口温度数据采集并实时显示\src\commDlg.h (1932, 2004-05-27)
串口温度数据采集并实时显示\src\mscomm.cpp (8569, 2000-03-17)
串口温度数据采集并实时显示\src\mscomm.h (3221, 2000-03-17)
串口温度数据采集并实时显示\src\MSCOMM32.OCX (103744, 1998-06-24)
串口温度数据采集并实时显示\src\resource.h (1786, 2004-05-27)
串口温度数据采集并实时显示\src\StdAfx.cpp (206, 2000-03-17)
串口温度数据采集并实时显示\src\StdAfx.h (1054, 2000-03-17)
串口温度数据采集并实时显示\src\res\comm.ico (1078, 2000-04-05)
串口温度数据采集并实时显示\src\res\comm.rc2 (396, 2000-03-17)
串口温度数据采集并实时显示\src\res\Serial.cpp (1054, 2000-03-24)
串口温度数据采集并实时显示\src\res\Serial.h (0, 2000-03-17)
串口温度数据采集并实时显示\src\res (0, 2005-05-28)
串口温度数据采集并实时显示\src\comm.exe (212992, 2004-05-27)
串口温度数据采集并实时显示\src (0, 2005-05-28)
串口温度数据采集并实时显示\pic.JPG (60611, 2005-05-28)
串口温度数据采集并实时显示\串口程序流程.doc (37888, 2004-05-30)
串口温度数据采集并实时显示\串口程序说明.txt (2319, 2005-05-28)
串口温度数据采集并实时显示\串口数据采集实时显示程序说明.txt (3580, 2005-05-28)
串口温度数据采集并实时显示\原理.txt (718, 2005-05-28)
串口温度数据采集并实时显示 (0, 2005-05-28)

近期下载者

相关文件


收藏者