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

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

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

  • chuankoutongxin
    我的毕业设计,很简单但很实用,是串口通信的典型实例,还有界面图形的设计(I graduated from design, very simple but very practical, is a typical example of the serial communication interface graphic design)
    2012-05-12 11:06:04下载
    积分:1
  • vc_assist
    VC串口调试助手源代码,很不错的例子,非常适合初学者使用!!(VC serial debugging aides source code, it is a good example, very suitable for beginners! !)
    2011-10-21 10:05:30下载
    积分:1
  • pm-compuprint-sp40
    P2R打印机串口指令集编程手册,Olivetti/IBM/Epson(P2R printer serial instruction set programming manual, Olivetti/IBM/Epson)
    2010-06-11 09:51:04下载
    积分:1
  • SerialportSample
    vc++写的串口通信程序,对于学习串口通信会有很大的帮助(vc++ write the serial communication program, learning serial communication will be of great help)
    2015-12-07 23:54:23下载
    积分: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
  • 4beda6ed-8732-4ee3-982c-f572682c455b
    转载,自己需要一些串口程序与控件的应用知识,希望能够和大家共同学习,共同进步!(reproduce, they need some serial procedures and controls the application of knowledge, and we hope to be able to learn together. common progress!)
    2007-01-06 11:09:31下载
    积分:1
  • vb
    说明:  串口编程调试精灵是一种串口编程的调试精灵(Wizard is a serial programming and debugging, the debug serial port programming wizard)
    2010-04-07 19:58:48下载
    积分:1
  • VisualPCPPP
    串口调试助手源码,mfc,用控件编写,包括自动发送和十六进制显示(Serial debugging assistant source)
    2016-11-30 17:27:09下载
    积分:1
  • MFC_serial
    MFC串口通信,可以自动检测COM口,包括发送和接收(MFC serial communication, can automatically detect the COM port, including sending and receiving)
    2012-12-25 09:37:48下载
    积分:1
  • VCPP-Code4
    VC++环境下用MSComm控件进行串口通讯编程 模型飞机测控平台(VC++ environment serial communication programming model aircraft monitoring platform with MSComm control)
    2014-05-10 10:27:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载