登录
首页 » Visual C++ » 串口温度数据采集并实时显示

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

于 2020-06-26 发布 文件大小:244KB
0 187
下载积分: 1 下载次数: 4289

代码说明:

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

文件列表:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 4beda6ed-8732-4ee3-982c-f572682c455b
    转载,自己需要一些串口程序与控件的应用知识,希望能够和大家共同学习,共同进步!(reproduce, they need some serial procedures and controls the application of knowledge, and we hope to be able to learn together. common progress!)
    2007-01-06 11:09:31下载
    积分:1
  • Output_COM
    c++程序,对串口操作,数据对串口的收发(c++, on the serial port operation)
    2011-11-30 15:47:55下载
    积分:1
  • RS232_VC
    串口调试:这还是个初步的!如果你有兴趣还可以自己再改!如果还有更好的请联系我(serial debugger : This is still preliminary. If you are interested in then they can change! If there is a better contact I)
    2006-09-23 09:52:49下载
    积分:1
  • Pelco-D-based-dll-project-for-PTZ
    基于Pelco-D协议的云台串口控制动态链接库(Pelco-D based dll project for PTZ)
    2014-10-10 14:28:07下载
    积分:1
  • huawei---mianshi
    这是串口调试助手,可以显示,并带有图像显示(This is a serial debugging assistant, you can display, and with image display)
    2011-09-03 16:57:46下载
    积分:1
  • VS2010--MFC
    这是一个简单的VS2010之MFC串口编程教程,它可以指导初学者学习MFC简单入门编程(This is a simple tutorial serial programming MFC VS2010 it, it can be a simple guide for beginners to learn MFC introductory programming)
    2014-11-30 20:03:07下载
    积分:1
  • Digital_communication_programm
    说明:  数控程序传输,主要是三个程序,KND及GSK990m传输软件,Sercom,hmcadcam_Dnc(NC program transmission, there are three main procedures GSK990m KND and transmission software, Sercom, hmcadcam_Dnc)
    2006-03-07 08:36:41下载
    积分:1
  • VCComm
    VC从串口读取数据并实时绘制曲线图,非常好用。(VC data from the serial port to read real-time rendering curve is very useful.)
    2010-07-30 12:32:16下载
    积分:1
  • SerialPort
    基于VC实现的串口通信,可以实现串口的数据读取。(Based on the VC serial communications)
    2013-11-25 10:57:22下载
    积分:1
  • ModbusClient
    Modbus TCP/IP协议client端源代码(Modbus TCP/IP protocal test)
    2009-06-10 23:02:44下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 51今日下载