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

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

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

  • Communication_control
    耀华表通信控件 内置了地磅的串口协议。能自动读取指定的数(Communication control Toledo Electronic loadometer, serial direct source reading program. The source without any Dll, built-in serial port loadometer agreement. Can automatically read the specified binary readings.)
    2010-07-09 21:31:44下载
    积分:1
  • hart
    这个程序是利用VC编写的一个从机串口响应modbus查询命令程序,实现RTU方式,3.5和1.5个字符时间检测,CRC和LRC校验。(This program is written using VC as a response from the machine serial modbus query command procedure, to achieve RTU mode, 3.5 and 1.5 characters time detection, CRC and LRC check.)
    2010-06-09 09:56:23下载
    积分:1
  • 我见过最好的
    说明:  我所见过用VC写的最好的串口类,具有模拟单片机中断传输的方式,避免了查询传输CPU损耗和接收超时(I have ever seen VC was the best serial category, with simulation SCM interruption of transmission, so that the CPU for transmission and reception of overtime loss)
    2020-12-03 12:39:25下载
    积分:1
  • vcPPWindows-API-CSerial-MSComm
    vc++ 串口编程,用vc++编写上上位机程序 常见的几种方式以及注意事项均有介绍
    2014-07-15 12:54:55下载
    积分:1
  • 当前流行的调试助手的源码-自己
    串口调试助手的源码,自己编写,界面与当前流行的串口调试工具基本相同。该工具使用方便,而且可以自定义串口速率,由状态显示内容(serial debugging aids source, their preparation, interface with the popular serial debugging tools basically the same. The tool is easy to use, but can define serial rate, as indicated by the state)
    2020-06-26 07:20:01下载
    积分:1
  • seircom
    RS-232 通信调试程序,初学者适应。(RS-232 communications debugger, beginners to adapt.)
    2009-03-23 14:41:40下载
    积分: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
  • comElves
    基于VC++的串口调试程序可以发送接收数据,非常实用于初学者研究学习(Serial debugger based on VC++ can send and receive data, very useful for beginners learning)
    2013-03-16 22:26:29下载
    积分:1
  • 实现双机互联
    一个简单的串口实现双机互联,,比较实用,有兴趣可以(a simple dual-serial connectivity, and more practical, interested can s)
    2005-05-19 16:57:35下载
    积分:1
  • SerialPortTest
    最简单的串口通信程序,MFC,基于SerialPort类,VS2008(The simplest SerialPort program,based on CSerialPort ,VS2008)
    2012-12-27 18:17:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载