摘要
介绍了一种在 Windows9x及以上操作系统下利用 Win3 2 API函数实现串行通讯的方法 ,引入多线程、异步 I/O操作及事件驱动机制 ,成功地解决了在 3 2位视窗操作系统下计算机监控系统实时串行通讯问题 。
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.
出处
《现代电子技术》
2004年第11期70-73,共4页
Modern Electronics Technique