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

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

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

  • Serial-debugging
    该程序是串口调试代码程序,支持大多数操作系统(Serial debugging software source code)
    2016-07-01 09:43:24下载
    积分:1
  • 1
    CVI环境下的串口调试助手,主要功能有即时收发信息,显示波形,截图和保存数据(CVI environment serial debugging assistant, the main function includes immediately send and receive information to display waveforms, capture and save data)
    2013-07-11 09:47:50下载
    积分:1
  • Serial-debugging-aides_VB
    串口调试助手VB.zip 我想大家都用过 串口调试助手, 也都期望自己能够制作出同样的通信界面; 那么这里的工具,让你如愿…… 采用VB编程,超级简单实用。(Serial debugging assistant VB.zip I would like that we have used serial debugging assistant, also expect to be able to produce the same communication interface where the tool that allows you to do so ... using VB programming, super simple and practical.)
    2012-08-04 12:26:47下载
    积分:1
  • use_ISP_on_PC
    VC++串口通讯程序 大家可以看看,错误之处欢迎指出,这时本人花不少时间搞出来的啊(VC serial communication process we can see, the mistake welcome, Then I spend a lot of time in the ah)
    2006-11-22 15:11:50下载
    积分:1
  • CnComm
    串口调试精灵源代码,试过了,好用,自己可以在上面少量修改增加自己需要的功能。(Serial debug source code wizard, tried, and easy to use, they can increase their own minor modifications in the above functionality required.)
    2011-11-04 18:31:07下载
    积分:1
  • huawei---mianshi
    这是串口调试助手,可以显示,并带有图像显示(This is a serial debugging assistant, you can display, and with image display)
    2011-09-03 16:57:46下载
    积分:1
  • CommClient
    使用MSCOMM控件,实现两台电脑通过串口进行通信的功能。(Use MSCOMM control, to achieve two computers to communicate through the serial port function.)
    2011-07-21 10:58:17下载
    积分:1
  • ControlProject
    VC实现和S7-200PLC的串口通信程序,很有价值哦(VC and S7-200PLC Serial Communication Program and of great value oh)
    2007-06-04 14:29:42下载
    积分:1
  • SerialPort_VS2010_MFC
    基于SerialPort的串口调试助手代码,运行平台VS2010,MFC工程文件(Based on the serial debugging assistant SerialPort code, run the platform VS2010, MFC project file)
    2020-10-10 09:37:34下载
    积分:1
  • CommTest
    串口通讯测试代码,经过测试,可以成功运行。(Serial Communication Test.)
    2010-08-25 22:04:07下载
    积分:1
  • 696518资源总数
  • 106005会员总数
  • 36今日下载