首页 | 官方网站   微博 | 高级检索  
     

某型导弹武器检测训练系统串口通信设计
引用本文:潜继成,张志虎,王旭东.某型导弹武器检测训练系统串口通信设计[J].电脑编程技巧与维护,2014(16):80-82.
作者姓名:潜继成  张志虎  王旭东
作者单位:陆军航空兵学院飞行理论系,北京101123
摘    要:主要解决串口通信的方法。通过定义数据包和用户层协议说明协议定义方法。通过单片机与计算机同步握手实现串口通信协调一致,采用不同线程实现串口通信接收数据与处理数据同步进行,实现系统流畅运行;采用临界区方法管理串口数据队列缓冲区访问,实现系统稳定可靠运行。

关 键 词:串口通信  协议  握手同步  线程

The Design of Com Communication of Missile Weapon Testing Training System
QIAN Ji-cheng,ZHANG Zhi-hu,WANG Xu-dong.The Design of Com Communication of Missile Weapon Testing Training System[J].Computer Programming Skills & Maintenance,2014(16):80-82.
Authors:QIAN Ji-cheng  ZHANG Zhi-hu  WANG Xu-dong
Affiliation:(Army Aviation Institute, Beijing 101123 , China)
Abstract:This paper solves the methud of Corn communication basically. The protocol definition method is explained by definition ,,f data packet and definition of user level protocol. Coordinating sync Corn communication is achieved by chip microcomputer and computer sync shaking hands. System run easy and smooth by Corn communication receiving and processing data synchronization of different thread. The Method of Critical manages visit of Com communication data queue buffer, system runs steadily.
Keywords:Corn communication  Protocol  Syne shaking hands  Thread
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号