节点文献

串行通信的两种格式

Two Mode of Serial Communication

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 梁佩鹏赵惠敏王晓宁

【Author】 LIANG Peipeng, ZHAO Huimin,WANG Xiaoning(Department of Electronic and Information of Dalian Railway Institute, Dalian 116028, China)

【机构】 大连铁道学院电气信息分院大连铁道学院电气信息分院 辽宁大连 116028辽宁大连 116028辽宁大连 116028

【摘要】 计算机的串行通信有两种传输模式:文本模式和二进制模式。在不同的场合和不同的条件下,对这两种传输模式的不同选择就会得到较高的效率。在一个开发应用中,采用了VB6 0中的MSComm通信控件对两种传输模式分别进行实现和优化搭配,结合以往的经验发现,当传输的数据中包含文件、控制字符以及包含数量较大的数值数据时,应该采用二进制模式;当传输的数据中包含的是指令及可见字符,数值数据也比较少时,采用文本模式效率较高。相关结论对计算机控制外设的应用场合具有一定的参考意义。

【Abstract】 There are two transfer modes in serial communication of computer : Text mode and Binary mode. More efficient results for different selection in different circumstances and situations were got.In a design application,respectively realizing and optimization matching the two transfer modes with MSComm communication control in VB6.0. with the previous experiences,it can be found that when the transfer data includes files,control characteristics and a more large number of numerical value data,the Binary mode should be used, when the transfer data includes commands,eyeable characteristics and less numerical value data,the Text mode is more efficient.The relative conclusion has some reference significance to the application circumstances of computer controlling peripheral devices.

【关键词】 文本模式二进制模式VB60串行通信
【Key words】 Text modeBinary modeVB6.0serial communication
  • 【文献出处】 控制工程 ,Basic Automation , 编辑部邮箱 ,2003年02期
  • 【分类号】TP36
  • 【被引频次】4
  • 【下载频次】110
节点文献中: