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

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

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

  • common-master
    网上整理下载的非常好的串口程序,功能强大,代码质量也很高。(About serial communication)
    2015-07-15 11:51:30下载
    积分: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
  • VisualPCPPP
    串口调试助手源码,mfc,用控件编写,包括自动发送和十六进制显示(Serial debugging assistant source)
    2016-11-30 17:27:09下载
    积分:1
  • SerialPort-DLL
    把SerialPort通讯类封装成的DLL+使用例子(SerialPort Dll and demo)
    2011-07-11 23:48:23下载
    积分:1
  • ser
    说明:  串口通信高级编程提供了一个能够进行串口通信的类,能够方便地进行各种数据通信。 由于本程序设计到硬件编程,因此,如果读者的串口通信设备 没有连接好,可能会有问题 (Serial communication provides a high-level programming to carry out the type of serial communication, the ability to easily carry out a variety of data communications. Since the hardware design to programming, so if the reader' s serial communications equipment is not connected well, there may be some problems)
    2009-08-18 16:49:04下载
    积分:1
  • VCPP-Serial-host-computer
    实现串口通信的编程,关于类以及继承的一些使用方法,新手可以参考。(Serial communication programming, use classes and inheritance, the novice can refer to.)
    2013-05-03 09:07:54下载
    积分:1
  • CSharpSerial-programming-steps-detailed
    用C#语言编写串口通信程序详解,有代码有步骤(c#Serial programming steps detailed)
    2012-04-18 10:36:49下载
    积分:1
  • TTY
    MFC的串口通信程序 能真确运行 经调试后无误(MFC serial communication program can be true and correct after running through debug)
    2010-08-07 18:42:04下载
    积分:1
  • PendMove
    常用RS232串口通用库类,可直接使用,谢谢大家~(The common library of the RS232)
    2013-08-31 22:13:51下载
    积分:1
  • C++通信
    用vb实现串口间通信,可以用来熟悉串口间传输信息的原理.(with Serial Communication, which can be used with serial transmission of information between the principle.)
    2005-03-29 11:21:03下载
    积分:1
  • 696518资源总数
  • 104591会员总数
  • 57今日下载