登录
首页 » Visual C++ » winAPI_Sport_comm

winAPI_Sport_comm

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

代码说明:

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

文件列表:

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

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

发表评论

0 个回复

  • rs232
    基于labwindows/cvi的串口通信的实现,希望对有需要的朋友提高参考(Based on labwindows/cvi Serial Communication, in the hope that there is a need to increase the references friends)
    2009-04-19 14:22:41下载
    积分:1
  • smsDatabase
    说明:  VB做的一个短信收发的例子,功能比较强大,可以好好参考(VB do an SMS transceiver example, function more powerful and can make reference to)
    2005-11-28 14:24:58下载
    积分:1
  • wireless-voting-machine
    基于单片机的无线表决器下位机程序,实现数据的无线传输及和上位机之间的串口通信(Microcontroller-based wireless voting machine computer program under)
    2011-09-22 18:41:10下载
    积分:1
  • Open
    说明:  Wincc使用MSComm控件串口通讯,VB中发送十六进制数据(Wincc uses MSComm control to communicate through serial port and sends hexadecimal data in VB)
    2020-06-16 22:40: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
  • tcptocom
    国外经典的TCP转串口的程序,VC++编写,有较强的参考价值(Foreign classic TCP to serial program, VC++ write, there is a strong reference value)
    2020-11-22 11:29:35下载
    积分:1
  • RS232
    串口通信程序,MSComm方式实现,有参考价值(Serial communication program, MSComm ways, have reference value)
    2013-11-28 08:45:23下载
    积分:1
  • SerialportSample
    vc++写的串口通信程序,对于学习串口通信会有很大的帮助(vc++ write the serial communication program, learning serial communication will be of great help)
    2015-12-07 23:54:23下载
    积分:1
  • 通信
    一个很好的COM口通讯类(An uart mfc example)
    2020-06-26 10:00:02下载
    积分:1
  • SeriesPort
    说明:  通过CreatFile SetupComm GetCommStat等API函数来创建一个串口传输程序(CreatFile SetupComm GetCommStat such as through the API function to create a serial transfer procedure)
    2008-10-08 22:44:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载