节点文献
串行通信的两种格式
Two Mode of Serial Communication
【摘要】 计算机的串行通信有两种传输模式:文本模式和二进制模式。在不同的场合和不同的条件下,对这两种传输模式的不同选择就会得到较高的效率。在一个开发应用中,采用了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.
- 【文献出处】 控制工程 ,Basic Automation , 编辑部邮箱 ,2003年02期
- 【分类号】TP36
- 【被引频次】4
- 【下载频次】110