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

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

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

  • serial
    可以向串口发送数据,或从指定串口接收数据 VC源码-基础编程-源程序代码免费注册下载(Can send data to a serial port, or from specified serial ports receive data source-basic programming VC-source code downloaded free registration )
    2011-12-12 11:39:33下载
    积分:1
  • MFC_serial
    MFC串口通信,可以自动检测COM口,包括发送和接收(MFC serial communication, can automatically detect the COM port, including sending and receiving)
    2012-12-25 09:37:48下载
    积分:1
  • RS232_485multi-design
    485多机通讯的连接方式,主要有总线方式、星形方式等(connection of multi pc communication with 485)
    2010-03-03 15:03:27下载
    积分:1
  • CSerialPort-class
    最新版CSerialPort类(2014年),还包含一个旧版本,可以进行比较使用。(The latest version CSerialPort class (2014), also contains an older version. Use can be compared.)
    2016-02-22 20:31:19下载
    积分:1
  • SerialPortElf
    说明:  调试使用的串口助手,程序源码,功能齐全,可以调试程序(Serial Port Assistant for Debugging, Program Source Code, Full-featured, Debugging Program)
    2019-03-13 22:54:42下载
    积分:1
  • SerialPortTest2
    改进的SerialPort类单文档实例程序(improved SerialPort single document type sample program)
    2006-10-15 15:24:20下载
    积分:1
  • vb
    说明:  串口编程调试精灵是一种串口编程的调试精灵(Wizard is a serial programming and debugging, the debug serial port programming wizard)
    2010-04-07 19:58:48下载
    积分: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
  • My_Send_Recive
    用vb6.0做的一个小的串口测试程序.可以实现正常通信(Used vb6.0 to do a small test program serial)
    2013-11-19 15:00:41下载
    积分:1
  • VC6.0MFC
    vc++制作串口调试助手,用vc6.0开发环境,一步一步教大家制作串口调试助手(vc++ production serial debugging assistant with vc6.0 development environment, step by step teach you making serial debugging assistant)
    2013-07-18 16:02:31下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载