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

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

于 2020-06-26 发布 文件大小:244KB
0 159
下载积分: 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 个回复

  • wk2114
    cai yong 一个串口拓展成4个串口!(1 uart to 4)
    2020-09-08 09:58:02下载
    积分:1
  • ser_port_ver10
    Windows串口编程例子(The example of uart in Windows)
    2020-06-26 11:20:02下载
    积分:1
  • Visual-cPP-MFC-SERIAL-PORT
    VC++之MFC串口,包含串口调试助手源程序 及编程详细过程 (MFC serial port)
    2013-08-29 16:09:49下载
    积分:1
  • CSharpSerial-programming-steps-detailed
    用C#语言编写串口通信程序详解,有代码有步骤(c#Serial programming steps detailed)
    2012-04-18 10:36:49下载
    积分: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
  • YmodemV1.0
    Ymodem传输,基于VC6,可以当串口调试(about Ymodem)
    2021-03-10 14:19:26下载
    积分:1
  • SerialComm
    基于vs2012的串口调试助手调试软件,简单清晰适合于初学者。(Based vs2012 serial debugging aides debugging software, is clear and simple for beginners.)
    2020-09-27 18:27:45下载
    积分:1
  • COMPlot
    QT开发的能够接收串口数据并将其转化为波形同步实时显示的上位机(QT development can receive serial data and converting it into waveform synchronous real-time display of the upper machine)
    2020-06-29 22:00:01下载
    积分:1
  • communication
    使用VC.NET编写串口通信程序,是很好的串口调试软件(Use VC.NET write serial communication program is a very good serial debugging software)
    2020-11-22 13:59:35下载
    积分: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
  • 696524资源总数
  • 103930会员总数
  • 47今日下载