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

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

于 2020-06-26 发布 文件大小:244KB
0 301
下载积分: 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
  • SCOMMV23
    一个功能比较全面的串口调试工具。你值得拥有。(A more comprehensive functional serial debugging tools. You deserve. )
    2013-07-19 16:10:07下载
    积分:1
  • PC-based-serial-communication
    基于Visual C++串口与下位机通信(Based on Visual C++ serial PC program to communicate with the microcontroller)
    2014-12-06 22:17:30下载
    积分:1
  • comm
    Windows串口编程 (Windows serial programming)
    2020-06-30 11:20:02下载
    积分:1
  • ADC-UART-VB
    此程序实现了对串口输入的ADC数据和温度数据的实时曲线图显示。(This program realizes the serial input of the ADC data and temperature data in real-time graph display.)
    2011-01-27 17:00:12下载
    积分:1
  • serialPort
    调试串口的程序,本程序运行于PC机,是开发串口电路的好帮手。(Debug serial procedures, the program runs on PC, is to develop a good helper serial circuit.)
    2007-09-17 13:27:21下载
    积分:1
  • 实现双机互联
    一个简单的串口实现双机互联,,比较实用,有兴趣可以(a simple dual-serial connectivity, and more practical, interested can s)
    2005-05-19 16:57:35下载
    积分:1
  • zigbee
    zigbee 工程文件 可以直接运行的串口文件支持cc2530(zigbee hex)
    2012-04-23 16:43:35下载
    积分:1
  • 自动配料系统081125
    通过和OMron PLC通讯,实时监控自动化设备运行,并下发指令控制(Through the communication with OMron PLC, real-time monitoring of automatic device operation, and instruction control)
    2017-07-07 12:03:44下载
    积分:1
  • vc_-serial-communication
    vc_串口通讯,介绍了如何用VC实现串口通信的原理和源程序(vc_ serial communication, describes how to use the VC to achieve the principle and source of serial communication)
    2011-04-20 14:32:52下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载