检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
分 类 号:TP393.02[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28