-
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
-
PLCchengxudaijiansugongneng
PLC程序,结合VB通信实现两轴运动带减速功能(PLC programming, communication with VB to achieve two-axis motion with deceleration
)
- 2012-01-12 11:58:04下载
- 积分:1
-
wendushujuxianshi
VC++的MFC开发串口调试助手源代码,包括数据发送,接收,显示制式等 (VC++ of MFC development of serial debugging assistant source code, including data transmission, reception, display formats, etc.)
- 2016-04-21 08:49:27下载
- 积分:1
-
CommTest
vs2010 c++ MFC实现串口通信(vs2010 c++ MFC serial communications)
- 2021-04-10 08:58:59下载
- 积分:1
-
MAX232
利用max232,实现51单片机和电脑的通信,使得电脑发一个数据在单片机上用流水灯显示。(Use max232, achieving 51 SCM and PC communications, making the computer sends a data on a single chip with a water light show.)
- 2013-08-30 15:46:26下载
- 积分:1
-
serialpor
多线程串口类及其使用方法,包含完整的CSerialPort类及其使用方法。(A communication class for serial port)
- 2013-08-09 20:16:35下载
- 积分:1
-
useMSComm
利用MSComm控件实现字符型数据发送与接收(MSComm control to achieve the transmission and reception of character data)
- 2015-06-04 17:28:58下载
- 积分: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
-
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
-
serialpor
多线程串口类及其使用方法,包含完整的CSerialPort类及其使用方法。(A communication class for serial port)
- 2013-08-09 20:16:35下载
- 积分:1