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

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

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

  • VedioTest
    Windows串口编程实例,封装了串口类,很不错的一个例子,希望对初学者有用(Windows serial programming examples, encapsulates the serial type, a very good example, I hope useful for beginners)
    2011-10-20 11:22:08下载
    积分:1
  • 710MUX
    Windows CE 串口通信协议里面的710MUX协议。(the implement of 710 MUX on Windows CE)
    2014-09-02 22:48:18下载
    积分:1
  • Serial-ports
    linux下的串口通讯代码,方便修改以实现多种串口通讯功能(under linux serial communication code to facilitate modified to achieve a variety of serial communication functions)
    2013-11-17 14:39:41下载
    积分:1
  • seircom
    RS-232 通信调试程序,初学者适应。(RS-232 communications debugger, beginners to adapt.)
    2009-03-23 14:41:40下载
    积分:1
  • XWP
    XWP仪表参数的读取,是帮1个朋友编写的(Instrument parameters XWP read, is to help a friend prepare the)
    2007-11-28 12:07:41下载
    积分:1
  • SmartCom(0.5.4)
    串口调试工具,包含自动计算MODBUS crc校验码,是工具非源码(tiaoshi gongju)
    2020-12-19 22:49:10下载
    积分:1
  • SCommTest1
    该源代码主要是实现串口通信,并将所传输的内容实现保存。(The source code is mainly realize serial communication, and the transmission of content preservation.)
    2007-10-25 21:18:20下载
    积分:1
  • shangweijiduchuankoushujubinghuatu
    上位机源码--读取串口数据并画实时曲线的vc 2B 2B源程序.rar(PC Source- read serial data and draw real-time curve vc 2B 2B source code. Rar)
    2011-07-15 11:07:14下载
    积分:1
  • 123
    串口通信调试助手 具有很强的适应能力 也具有一定的借鉴意义(Debug serial communication assistant with a strong ability to adapt to a certain reference)
    2011-05-07 15:50:22下载
    积分:1
  • MSComm
    实例321——利用MSComm控件进行串口通信(Examples 321 use MSComm control serial communication)
    2016-06-03 13:17:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载