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

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

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

  • SerialPortTest
    简单的串口调试,能够实行发送和接收字符。(Serial easy debugging, it is able to implement send and receive characters.)
    2009-03-10 10:57:16下载
    积分:1
  • SerialPortTest
    学习C++,先学串口编程,本程序就是以串口作为编程对象,进行针对串口的数据接收与发送,内含丰富的注释,纯个人理解!(To learn C++ learn first serial programming, the program is as a programming object to the serial port for serial data reception and transmission, contains a wealth of comments, pure personal understanding!)
    2013-04-28 10:18:11下载
    积分:1
  • labwindows-serial
    labwindows 串口编程 简单易懂 做虚拟仪器的同学可以看看 或许对你有用(programming straightforward labwindows serial do virtual instrument students can take a look at perhaps useful to you)
    2012-11-20 20:41:40下载
    积分:1
  • ModbusClient
    Modbus TCP/IP协议client端源代码(Modbus TCP/IP protocal test)
    2009-06-10 23:02:44下载
    积分: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
  • ChuanKouTiaoShi
    串口调试助手,适合做串口通讯的人员使用。VB.NET编程。(vb.net serial debug for usart comm.)
    2013-07-19 14:45:15下载
    积分:1
  • MSComm
    实例321——利用MSComm控件进行串口通信(Examples 321 use MSComm control serial communication)
    2016-06-03 13:17:57下载
    积分:1
  • Serial
    串口通信,一个简单的例程,对学习WINCE很有帮助,尤其是串口编程.希望大家喜欢(Serial communication, a simple routine, learning WINCE helpful, especially the serial programming. I hope everyone likes)
    2008-02-28 20:06:04下载
    积分:1
  • Modem_source
    说明:  用数据库实现串口通讯的源代码,功能比较强大,值得一看。(database using serial communication source code, functions more powerful overseas.)
    2005-11-17 15:29:16下载
    积分:1
  • ChuanKouTiaoShi
    串口调试助手,适合做串口通讯的人员使用。VB.NET编程。(vb.net serial debug for usart comm.)
    2013-07-19 14:45:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载