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

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

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

  • rs232
    基于labwindows/cvi的串口通信的实现,希望对有需要的朋友提高参考(Based on labwindows/cvi Serial Communication, in the hope that there is a need to increase the references friends)
    2009-04-19 14:22:41下载
    积分:1
  • serial-communication
    利用C语言实现RS232串口上下位机通信的设计(Using C language to realize RS232 serial port communication up and down a machine design )
    2013-12-12 10:18:29下载
    积分:1
  • serial
    很好的串口通信源程序,可以设置端口号,波特率,数据位 停止位校验位(a very complete source serial communications,it is helpful for everybody)
    2009-05-22 10:47:15下载
    积分:1
  • 自动检测
    说明:  串口通信,对串口发出的数据进行读取和处理,进行检测(Serial communication, read and process the data sent by the serial port, and detect it.)
    2020-06-17 10:40:02下载
    积分:1
  • vcPPWindows-API-CSerial-MSComm
    vc++ 串口编程,用vc++编写上上位机程序 常见的几种方式以及注意事项均有介绍
    2014-07-15 12:54: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
  • Modem_source
    说明:  用数据库实现串口通讯的源代码,功能比较强大,值得一看。(database using serial communication source code, functions more powerful overseas.)
    2005-11-17 15:29:16下载
    积分:1
  • Serial_TCPIP
    串口程序实现Ymodem协议,也可以使用TCPIP实现Ymodem协议。 串口和网络程序都可以当一个助手使用。(Serial procedures to achieve Ymodem protocol, you can also use TCPIP achieve Ymodem protocol. Serial and network programs can use when an assistant.)
    2021-01-19 08:38:43下载
    积分:1
  • 调试工具及源代码
    说明:  非常好用的串口变成工具和源代码,可以自动搜索串口,有非常高的参考价值。(it is very nice! you can use it easyly, it is Visul C++ code .)
    2019-02-22 14:38:35下载
    积分:1
  • My_Send_Recive
    用vb6.0做的一个小的串口测试程序.可以实现正常通信(Used vb6.0 to do a small test program serial)
    2013-11-19 15:00:41下载
    积分:1
  • 696516资源总数
  • 106611会员总数
  • 19今日下载