多机串口通信的实现  被引量:4

Realization of Serial Communication for Multi-computer System

在线阅读下载全文

作  者:王秀森[1] 蒋永馨[2] 叶喜勇[1] 

机构地区:[1]海军大连舰艇学院航海系,辽宁省大连市116018 [2]海军大连舰艇学院光电技术研究所,辽宁省大连市116018

出  处:《电子工程师》2007年第5期56-58,共3页Electronic Engineer

摘  要:串口通信是测控系统组网的主要形式,其中自定义协议是一个关键环节。文中首先给出了串口通信自定义协议的一般格式,然后结合某测控系统给出了实际应用中协议内容的具体定义,并详细分析了信息传输控制过程,解决了串口通信编程中的技术难点,为自定义协议在多机串口通信中的应用提供了一种开发模式。最后,以VC++6.0为开发工具,给出了通信协议的实现,并编程实现了通信报文的传输控制过程。实用表明,采用该方案可以获得良好的通信可靠性。Serial communication is the important technique to build up network and the self-defined protocol is one of the key technology. This paper presents the basic conceptions about self-defined protocol of serial communication. Through a certain test system, detailed analysis about information receiving and transmission is provided. Obviously, we overcome the technically difficulty in programming for serial communication and the plan can be easily used in some other applications. Finally, the realization of the communication protocol using VC++ is given and high reliability in practice is botained.

关 键 词:串口通信 协议 VC++ 

分 类 号:TP393.02[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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