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

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

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

  • Sokkia-Total-Station-Control-Command
    索佳、拓普康全站仪串口通信控制指令,通过软件控制仪器实现联机通信与自动测量。(Total Station Control Command)
    2021-03-10 10:39:27下载
    积分:1
  • SerialPort
    基于VC实现的串口通信,可以实现串口的数据读取。(Based on the VC serial communications)
    2013-11-25 10:57:22下载
    积分:1
  • kcom
    this is visual c++ 6 project it is a Serial port excerszier software
    2010-05-31 15:51:55下载
    积分:1
  • VBtongguochuankou-yuancheng-guanji
    利用VB语言实现对串口进行操作,从而实现通过串口进行远程关机的操作,了解相关编程方法。(VB language serial port operation through the serial port for remote shutdown operation, understanding related programming methods.)
    2013-03-29 11:11:11下载
    积分:1
  • SerialPort
    基于VC实现的串口通信,可以实现串口的数据读取。(Based on the VC serial communications)
    2013-11-25 10:57:22下载
    积分:1
  • 1Button-Devices
    说明:  1 button device with bascom avr
    2019-05-06 19:09:58下载
    积分:1
  • SerialPortTest
    简单的串口调试,能够实行发送和接收字符。(Serial easy debugging, it is able to implement send and receive characters.)
    2009-03-10 10:57:16下载
    积分:1
  • Sieral_Multithread
    串口通信处理的多个线程需要协调运行,一个线程必须等待另一线程结束才能开始,在处理一个线程的同时必须把其余待处理的线程挂起等待,以减少其余待处理线程对CPU的资源占用,正处理的线程一旦处理结束则通过线程间的通信发出信号来击活被挂起的线程中的一个线程进入处理。(Serial communication processing necessary to coordinate multiple threads running, a thread must wait until the end of the beginning of another thread in a thread at the same time deal with the need to deal with the rest of the thread to be suspended waiting for in order to reduce the remaining lines to be processed way of CPU resources occupation, is the thread once the deal by the end of treatment inter-thread communication signal to hit live thread was hang a thread into the handle.)
    2009-02-15 15:38:40下载
    积分:1
  • Modbus Tools (1)
    说明:  串口调试,串口设备模拟,支持32/64位系统。(Serial debugging, serial device simulation)
    2020-06-20 08:00:01下载
    积分:1
  • MSComm
    实例321——利用MSComm控件进行串口通信(Examples 321 use MSComm control serial communication)
    2016-06-03 13:17:57下载
    积分:1
  • 696516资源总数
  • 106430会员总数
  • 0今日下载