基于Win32 API函数和多线程技术的串行通信编程  被引量:5

Serial Communication Programming Based on Win32API Function and Multithread Technology

在线阅读下载全文

作  者:颜波[1] 谢存禧[1] 张铁[1] 

机构地区:[1]华南理工大学机电工程系,广州510640

出  处:《计算机工程与应用》2002年第18期136-136,181,共2页Computer Engineering and Applications

基  金:中国科学院机器人学开放研究实验室基金项目(编号:RL199904);广东省自然科学基金项目(编号:000478)资助

摘  要:运用Win32API函数和多线程技术,对磁悬浮伺服装置控制系统中PC机与单片机间串行通信进行编程。介绍了开关串口、初始化串口、设置缓冲区、读写串口、重叠I/O操作、监视通信事件等与串行通信编程密切相关的API函数及其参数设置。Win32API function and Multithread technology are adopted to program Serial communication between PC and micro controller unit in the control system of magnetic levitation servo device.API functions and their parameters setting such as opening and closing serial port,setting buffer area,reading and writing serial port,overlapped I /O opera-tion,watching communication event ,which are relevant closely to serial communication programming,are introduced.

关 键 词:API函数 多线程 串行通信编程 WINDOWS32 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象