摘要
根据串口通信的基本原理 ,结合 Windows环境下的多任务并发机制 ,采用 Windows的多线程技术来实现串口动态实时通信 .有效地解决了在串口通信中的实时响应问题 ,降低了数据的丢失率 ,提高了系统的可靠性 .同时提出了在 Windows环境下实现串口通信的一般方法和步骤 .实践证明 。
Present a kind of method which is used to communicate between serial serial port and peripheral equipment dynamicly and real\|time using multithreading technique based on the basic principle of communication and multitasking mechanism in the circumstance of Windows.This method resolves the question of Real\|time answering in the serial communication validly,reduces losing rate of data and improves reliability of system.This article presents a general method used in the serial communication which is practical.
出处
《武汉大学学报(自然科学版)》
CSCD
2000年第3期373-375,共3页
Journal of Wuhan University(Natural Science Edition)
基金
九五国家重点科技攻关项目!(204980340)