-
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
-
winAPI_Sport_comm
实现串行通讯的相关API函数
API函数不仅提供了打开和读写通讯端口的操作方法,还提供了名目繁多的函数以支持对串行通讯的各种操作。
函数名 作用
CreateFile 打开串口
GetCommState 检测串口设置
SetCommState 设置串口
BuilderCommDCB 用字符串中的值来填充设备控制块
GetCommTimeouts 检测通信超时设置
SetCommTimeouts 设置通信超时参数
SetCommMask 设定被监控事件
WaitCommEvent 等待被监控事件发生
WaitForMultipleObjects 等待多个被监测对象的结果
WriteFile 发送数据
ReadFile 接收数据
GetOverlappedResult 返回最后重叠(异步)操作结果
PurgeComm 清空串口缓冲区,退出所有相关操作
ClearCommError 更新串口状态结构体,并清除所有串口硬件错误
CloseHandle 关闭串行口()
- 2007-08-02 11:52:20下载
- 积分:1
-
VCComm
VC从串口读取数据并实时绘制曲线图,非常好用。(VC data from the serial port to read real-time rendering curve is very useful.)
- 2010-07-30 12:32:16下载
- 积分:1
-
COOM
Visual c++串口通信工程开发实例导航,该书采用C++编写,里面包含5个综合实例,适合有一定基础的C++人员学习(Visual c++ serial communication engineering development instance navigation, using c++, the book contains five examples of comprehensive, is suitable for the staff to learn c++ has certain foundation)
- 2013-10-22 01:00:12下载
- 积分:1
-
comm
VB写的串口通讯软件,简单易学,适合初学者(Written in VB serial communication software, is easy to learn)
- 2010-03-16 15:19:09下载
- 积分:1
-
PTZ
云台控制的C++详细源码,二次开发可以直接用。(The PTZ control C++ detailed source, secondary development can be directly used.)
- 2013-05-20 09:41:11下载
- 积分:1
-
串口温度数据采集并实时显示
串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一个数据的大小就是画图的某一个点的纵坐标,横坐标同样为数据的序号,再将这些点用线连起来就是曲线图. 图形能移动的原理,是我们首先改变的只是数据,图形并没有变,但图形的形式是由这些数据来确定的,当数据发生变化后,我们通过刷新显示区来变化的.(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
-
vcchuangkoutongxin
实现串口通信功能 基于MFC的对话框,程序简单易懂 适合初学者(Serial communication functions based on the MFC dialog box, the program is easy to understand for beginners)
- 2012-05-19 20:45:35下载
- 积分:1
-
PendMove
常用RS232串口通用库类,可直接使用,谢谢大家~(The common library of the RS232)
- 2013-08-31 22:13:51下载
- 积分:1
-
gjwsy
通过串口读取GPS的信息,并解析信息,显示经纬度以及其他的一些主要值,并将该经纬度值转化成大地坐标值(Read through the serial port GPS information and analysis information to display latitude and longitude as well as some other major value, and the latitude and longitude values converted to geodetic coordinates)
- 2016-07-15 17:09:46下载
- 积分:1