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

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

于 2020-06-26 发布 文件大小:244KB
0 340
下载积分: 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
  • Modbus Tools (1)
    说明:  串口调试,串口设备模拟,支持32/64位系统。(Serial debugging, serial device simulation)
    2020-06-20 08:00:01下载
    积分:1
  • chap08SerialCommunication
    串口通信高级编程,为Visual C++.NET网络与通信高级编程范例第八章配套源代码 (serial communication programming, for Visual C.NET network and communications senior programming paradigm Chapter VIII supporting source code)
    2007-04-27 13:28:40下载
    积分:1
  • useMSComm
    利用MSComm控件实现字符型数据发送与接收(MSComm control to achieve the transmission and reception of character data)
    2015-06-04 17:28:58下载
    积分:1
  • PC to FX connection (ActDefine)
    说明:  Testing PC to DVP PLC connection
    2020-04-22 23:02:27下载
    积分:1
  • yunKong0
    串口调试工具,加油(serial debugging tools refueling.)
    2007-04-23 16:20:52下载
    积分:1
  • ControlProject
    VC实现和S7-200PLC的串口通信程序,很有价值哦(VC and S7-200PLC Serial Communication Program and of great value oh)
    2007-06-04 14:29:42下载
    积分:1
  • zhuanhua16to10
    十六进制向十进制转化的程序,可用于串口通讯编程。(Hexadecimal to decimal conversion program can be used for serial communication program.)
    2010-03-07 14:11:16下载
    积分:1
  • ModbusClient
    Modbus TCP/IP协议client端源代码(Modbus TCP/IP protocal test)
    2009-06-10 23:02:44下载
    积分:1
  • PTZ
    云台控制的C++详细源码,二次开发可以直接用。(The PTZ control C++ detailed source, secondary development can be directly used.)
    2013-05-20 09:41:11下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载