期刊文献+

基于Win32 API的多线程串行通信程序设计 被引量:3

Programming of Multi-threading Serial Communication Based on Win32 API
下载PDF
导出
摘要 在工业控制中,常需要进行PC机和单片机之间的通信,而串行通信是最常用的通信手段。本文在对Win32(Windows9x/NT/2000)环境下实现串行通信的API(Application Program Interface)函数介绍的基础上,结合Win32的多线程技术和消息响应机制,给出了在Win32环境下以VisualC++6.0为开发平台的多线程串行通信程序的实现方案,最后以印花机控制系统PC机程序的开发为例实现了简单、高效、多线程的串行通信程序,并给出了部分代码。 In industrial control,they often need to carry on the communication between the PC and singlechip computer,and serial communication is the most frequently used communication means. This paper introduces some API(Application Program Interface) functions which can realize serial communication, and multi- threading technology, message response mechanism under Win32 (Windows9x/NT/2000). Provide a method of implementation of high -efficiency serial communication which use API function and multi-threading technology with Visual C++ 6.0 under Win32, Finally,this paper realize a serial communication program which high - efficiency and multi-threading on PC in Printing machine Control system. And also gives some codes of serial communication.
作者 赵彦锋 李钢
出处 《现代电子技术》 2005年第19期110-112,共3页 Modern Electronics Technique
关键词 串行通信 WIN32 多线程 消息响应 API serial communication Win32 multi-threading message response API
  • 相关文献

参考文献4

二级参考文献13

  • 1(美)Bennett D 徐军 等.Visual C++5开发人员指南[M].北京:机械工业出版社,1998..
  • 2马忠梅.单片机的C语言应用程序设计(修订版)[M].北京:北京航空航天大学出版社,1998..
  • 3郑纬民.函数程序设计语言:计算模型、编译技术、系统结构[M].北京:清华大学出版社,1996..
  • 4王鼎兴(译).高等计算机系统结构:并行性、可扩展性、可编译性[M].北京:清华大学出版社,1995..
  • 5David J Kruglinski,Programming Visual C++,1999年
  • 6Raj Rajagopal,Windows NT 4 Advanced Programming,1998年
  • 7郑纬民,函数程序设计语言:计算模型、编译技术、系统结构,1996年
  • 8王鼎兴,高等计算机系统结构——并行性、可扩展性、可编译性,1995年
  • 9徐军,Visual C++ 5开发人员指南,1998年
  • 10马忠梅,单片机的C语言应用程序设计(修订版),1998年

共引文献46

同被引文献17

引证文献3

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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