摘要
根据串行通信的基本原理,结合Windows环境下的多任务并发机制,采用Windows的多线程技术来实现串行动态实时通信。有效地解决了在串口通信中的实时响应问题,降低了数据的丢失率,提高了系统的可靠性。并结合实例给出了基本的通讯程序。
This paper presents a kind of high efficiency and real-time method which is used to communicate between PC and peripheral equipment with multithread technique .Based on the basic principle of communication and multitask programming technology, this method rapidly decreases data lose rate and improves reliability of system, and the basic communication program codes are given based on multithread .
出处
《弹箭与制导学报》
CSCD
北大核心
2004年第3期10-13,共4页
Journal of Projectiles,Rockets,Missiles and Guidance