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

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

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

  • PC-based-serial-communication
    基于Visual C++串口与下位机通信(Based on Visual C++ serial PC program to communicate with the microcontroller)
    2014-12-06 22:17:30下载
    积分:1
  • cuankoubiancheng.pdf
    说明:  RS232-c串口编程资料收集整理,有C源码实例。 (Serial programming data collected, there are C source code examples.)
    2011-04-07 10:16:42下载
    积分:1
  • com_debugger
    串口调试程序源代码,本例作为学习串口编程具有很好的参照作用。(Serial debugger source code, in this case as a learning serial programming with a good reference to the role.)
    2013-09-20 18:32:13下载
    积分:1
  • zhuanhua16to10
    十六进制向十进制转化的程序,可用于串口通讯编程。(Hexadecimal to decimal conversion program can be used for serial communication program.)
    2010-03-07 14:11:16下载
    积分:1
  • 1Button-Devices
    说明:  1 button device with bascom avr
    2019-05-06 19:09:58下载
    积分: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
  • 164
    标准串口和模拟串口4位164动态数码管显示程序 1.CPU :89C51 晶振2MHz 2.在proteus上仿真通过 3. 测试时将部分语句屏蔽 (Standard serial and analog serial 4 164 dynamic digital tube display program 1.CPU: 89C51 crystal 2MHz 2. The proteus simulation through 3 will be part of the statement shield test)
    2013-05-25 15:29:25下载
    积分:1
  • SCommTest
    串口发送接收数据,初学者可以参考参考, - - ~(串口发送接收数据,初学者可以参考参考,-- ~)
    2009-07-08 16:39:55下载
    积分:1
  • Visual-CPP_MSComm2
    利用面向对象的C++语言的MFC编写的串口通信程序(The use of object-oriented language C++ MFC prepared by the serial communication program)
    2013-10-25 22:26:22下载
    积分:1
  • DLT645
    DLT645的数据读取,设置串口,后期可能通过数据库读取(read for DLT645 electric)
    2020-12-07 14:59:22下载
    积分:1
  • 696518资源总数
  • 104347会员总数
  • 12今日下载