首页 | 本学科首页   官方微博 | 高级检索  
     

一种利用Win32 API函数实现串口实时通迅的方法
引用本文:罗云虎.一种利用Win32 API函数实现串口实时通迅的方法[J].现代电子技术,2004,27(11):70-73.
作者姓名:罗云虎
作者单位:中国船舶重工集团公司,第七一○研究所,湖北,宜昌,443003
摘    要:介绍了一种在Windows 9x及以上操作系统下利用Win32 API函数实现串行通讯的方法,引入多线程、异步I/O操作及事件驱动机制,成功地解决了在32位视窗操作系统下计算机监控系统实时串行通讯问题,并给出了部分串口通讯的源代码。

关 键 词:Win  32应用程序接口  多线程  异步I/O操作  事件驱动  实时串行通讯
文章编号:1004-373X(2004)11-070-04
修稿时间:2004年2月6日

A Method of Real Time Communication on Serial Port Using Win32 APIs
LUO Yunhu.A Method of Real Time Communication on Serial Port Using Win32 APIs[J].Modern Electronic Technique,2004,27(11):70-73.
Authors:LUO Yunhu
Abstract:This paper presents a method for real time communication on serial port which program with Win32 API and run under Win9X or above operating systems. By using of multithread, asynchronous I/O operations and events drive mechanism,the problem of real time communication on serial port which encounter in the computer surveillance and control systems work under 32bits operating systems, had being successfully solved. Part of the communication program codes are presented in the paper.
Keywords:Win32 API  multiThread  asynchronous(Overlapped) I/O operations  events drive  realtime serial communication  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号