-
串口温度数据采集并实时显示
串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一个数据的大小就是画图的某一个点的纵坐标,横坐标同样为数据的序号,再将这些点用线连起来就是曲线图. 图形能移动的原理,是我们首先改变的只是数据,图形并没有变,但图形的形式是由这些数据来确定的,当数据发生变化后,我们通过刷新显示区来变化的.(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 )
- 2020-06-26 07:40:02下载
- 积分:1
-
CHP500B
串口通信,采用CRC16 算法,用mscomm控件实现对chp500电源的信息采集,可以设置电源的电压和频率,word文件的是通讯协议,上位机发送和下位机返回,串口通讯看懂了通讯协议就没什么问题的啦。(Serial communication using the CRC16 algorithm, mscomm realize chp500 power control information collection, you can set the voltage and frequency, word document is the communication protocol, host computer to send and return lower machine, serial communication protocol is very important to you)
- 2010-05-31 08:37:37下载
- 积分:1
-
SerialPort
基于VC实现的串口通信,可以实现串口的数据读取。(Based on the VC serial communications)
- 2013-11-25 10:57:22下载
- 积分:1
-
trc_com_log
记录串口收到的数据并存到文件,主要用于不容易发现的程序BUG调试(record serial data received by the coexistence of the document, mainly for not easy to find the debugging process BUG)
- 2007-07-03 11:59:12下载
- 积分:1
-
CserialPort类源码
VC++简单而强大的多线程串口编程工具,该CSerialPort类封装了串口通信的基本 数据和方法(VC simple and powerful multithreaded serial programming tools, the CSerialPort type of serial communications package of basic data and methods)
- 2020-06-26 07:20:01下载
- 积分:1
-
Serial_Communication
一个用Visual C++编写的串口通信的例程,实现了一些串口属性的设置。(A use of Visual C++, prepared by serial communication routines to achieve a number of serial port property settings.)
- 2009-03-21 19:18:06下载
- 积分: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
-
MFC 简单Modbus RTU
使用VS2013的MFC编写的一个简单Modbus RTU的单命令控制Demo,能够实现继电器的开和关(A single command control demo of a simple Modbus RTU written in MFC of VS2013 enables relay opening and closing)
- 2018-09-24 21:55:13下载
- 积分:1
-
DK20DieselizeDynamotor
485通讯接口模块的编程应用,监控显示,检测报警显示,上下值的设置输入输出的结构(485 Communications Interface Module programming applications, monitor display, alarm detection showed that the whole value of the structure of input and output settings)
- 2008-08-10 22:12:38下载
- 积分:1
-
VC modbus
VC串口通信modbus协议源代码,测试可用。(modbus通信协议)(VC serial communication protocol source code modbus)
- 2014-06-07 18:26:28下载
- 积分:1