期刊文献+

基于VC++和Windows API的串口通信程序设计 被引量:4

Programming Design of Serial Communication Based on VC++ and Windows API
在线阅读 下载PDF
导出
摘要 基于VC++6.0和Windows API函数开发了一种串口通信程序。该程序采用单线程消息响应机制,利用定时器消息响应查询串口来实现数据的接收。编程方法减小了设计难度,提高了开发效率。给出了基于消息机制的程序框图和部分程序代码,并编制了友好的人机交互界面。在实际使用过程中,稳定可靠,可作为其他串口通信编程的参考。 This paper Development a Programming of serial communication based on VC++6.0 and Windows API, the Pro- gramming with a single threaded and message response mechanism, receive data by querying serial port with the timer messages. With this approach it reduces the design difficulty, improves the development efficiency. This paper gives the block diagram, part of program codes and the friendly man-machine interface. It' s stable and reliable in the practical application. So this paper can be a reference for the other serial communication programs.
作者 骆拓 龚寄
出处 《电脑编程技巧与维护》 2014年第18期66-68,共3页 Computer Programming Skills & Maintenance
基金 湖南省教育厅项目资助 项目编号:14C0649
关键词 串口通信 WINDOWS API函数 定时器消息机制 Serial Communication Windows API function Timer Message mechanism
作者简介 骆拓(1975-),男,硕士,工程师,研究方向:机械自动化、电机控制等研发 龚寄(1976-),女,硕士,讲师,研究方向:复杂机电系统建模及控制.
  • 相关文献

参考文献3

二级参考文献11

共引文献17

同被引文献37

引证文献4

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部