摘要: 分析了串行通信控件的特点及和在传输数据中的差异。提出利用型变量处理通信数据,消除了使用型变量处理VBPCPDABytevariant通信数据的缺陷。还简要讨论了传输协议的制定,解决了多种命令和内容传输的问题,真正实现了机和的串行通信。PCPDA
关键词:
串行通信,
Visual Basic,
MSCOMM控件,
PDA,
协议
Abstract: This paper analyzes the characteristics of serial communication control unit of VB and the difference of data transmission between PC and PDA. This method that using Byte variable handles the data remedies the defects of using variant variable to handle the data. It also discusses the transmission protocol and resolves many varieties of question of order and content transmission and realizes the serial communication between PC and PDA.
中图分类号:
尚建华,黄山. 用VB实现PC与PDA的串行通信[J]. , 2002, 28(03): 274-275.
SHANG Jianhua, HUANG Shan. Realization of Serial Communication Between PC and PDA Using Visual Basic[J]. , 2002, 28(03): 274-275.