登录
首页 » Visual C++ » winAPI_Sport_comm

winAPI_Sport_comm

于 2007-08-02 发布 文件大小:5KB
0 201
下载积分: 1 下载次数: 192

代码说明:

  实现串行通讯的相关API函数 API函数不仅提供了打开和读写通讯端口的操作方法,还提供了名目繁多的函数以支持对串行通讯的各种操作。 函数名 作用 CreateFile 打开串口 GetCommState 检测串口设置 SetCommState 设置串口 BuilderCommDCB 用字符串中的值来填充设备控制块 GetCommTimeouts 检测通信超时设置 SetCommTimeouts 设置通信超时参数 SetCommMask 设定被监控事件 WaitCommEvent 等待被监控事件发生 WaitForMultipleObjects 等待多个被监测对象的结果 WriteFile 发送数据 ReadFile 接收数据 GetOverlappedResult 返回最后重叠(异步)操作结果 PurgeComm 清空串口缓冲区,退出所有相关操作 ClearCommError 更新串口状态结构体,并清除所有串口硬件错误 CloseHandle 关闭串行口()

文件列表:

用API函数实现串行通讯.txt

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SCOMM
    改进后的龚建伟串口调试助手V2.3.exe 的VC++6.0工程源程序(Gong Jianwei serial improved debugging the assistant V2.3.exe VC++ 6.0 project source)
    2012-04-29 15:34:19下载
    积分:1
  • vbPaccessPseria
    visual basic+数据库access+串口+实时显示曲线(vb+database access+serial)
    2012-05-11 09:10:15下载
    积分:1
  • pack
    C++串口通信代码,接收下位机的数据点,并在前面板画出图形。(数据格式* , , /)内附STM32串口发送数据程序(C++ serial communication code, receive under the data points, and the front panel to draw graphics. (Data format,*, /) containing STM32 serial transmit data program)
    2013-10-28 20:14:38下载
    积分:1
  • SSCOM2.3
    串口大师的源码程序,c语言。学习串口或者是学习c都是很好的例子。(the sourcecode of the comm communication)
    2011-12-06 18:39:49下载
    积分:1
  • 1
    说明:  VC++编写上位机串口通信界面,原创VC++编写串口通信上位机界面 本人做接口实验时上位机部分 (VC++ write PC serial communication interface, the preparation of original VC++ serial communication interface, PC interface, I do some PC experiments)
    2010-08-30 11:15:53下载
    积分:1
  • Serial-port-control-PTZ-camera
    串口控制云台摄像头的程序,已经测试过了,可以参考(Serial control PTZ camera program has been tested, you can refer)
    2014-11-26 17:47:47下载
    积分:1
  • serial
    可以向串口发送数据,或从指定串口接收数据 VC源码-基础编程-源程序代码免费注册下载(Can send data to a serial port, or from specified serial ports receive data source-basic programming VC-source code downloaded free registration )
    2011-12-12 11:39:33下载
    积分: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
  • 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
  • RS232
    串口通信程序,MSComm方式实现,有参考价值(Serial communication program, MSComm ways, have reference value)
    2013-11-28 08:45:23下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载