登录
首页 » Visual C++ » winAPI_Sport_comm

winAPI_Sport_comm

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

代码说明:

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

文件列表:

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

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

发表评论

0 个回复

  • VCPP-Code4
    VC++环境下用MSComm控件进行串口通讯编程 模型飞机测控平台(VC++ environment serial communication programming model aircraft monitoring platform with MSComm control)
    2014-05-10 10:27:17下载
    积分:1
  • VB
    说明:  对松下FP系列PLC通讯串口的调试,了解串口使用的方法(Panasonic FP series PLC serial communications debugging of serial use)
    2013-01-24 15:51:31下载
    积分:1
  • serial_test_Programs
    几种常用的串口调试软件,注意:那个sscom32不能使用奇偶校验(several serial test programs)
    2014-05-29 14:34:16下载
    积分:1
  • CharTerminal
    说明:  简单的串口通讯例子,有主机,目标机组成,发送数据,接受数据(Simple example of serial communication, a host, target composition, send data, receive data)
    2011-04-10 18:48:55下载
    积分:1
  • SCOMMV23
    一个功能比较全面的串口调试工具。你值得拥有。(A more comprehensive functional serial debugging tools. You deserve. )
    2013-07-19 16:10:07下载
    积分:1
  • SerialPort
    基于VC实现的串口通信,可以实现串口的数据读取。(Based on the VC serial communications)
    2013-11-25 10:57:22下载
    积分:1
  • helper-for-serialport
    基于MFC的强大的串口通信程序,可以用于串口通信测试(Based on the powerful serial communication Demo MFC can be used to test)
    2014-04-28 15:45:37下载
    积分: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
  • ControlProject
    VC实现和S7-200PLC的串口通信程序,很有价值哦(VC and S7-200PLC Serial Communication Program and of great value oh)
    2007-06-04 14:29:42下载
    积分:1
  • Zigbee
    Zigbee开发文档和常见案例 18B20可休眠温度采集方案快速搭建手册 串口透传方案快速上手指南(Zigbee )
    2013-10-18 15:57:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载