摘要
串口是计算机最重要的外设接口之一,因此对其通信程序实现方法进行研究有着重要的意义.叙述了在Delphi 6环境下串口通信程序的四种实现方法:采用直接嵌入汇编、利用Windows的API通信函数、利用ActiveX控件MSComm、利用第三方控件SPComm.同时对各种实现方法进行了比较,并给出了编程实例.
COM is one of the most important peripheral interfaces in computer and therefore, it is significant to study program design method in serial communication. This paper deals with the four programming design methods for serial communication on Delphi 6 platform: direct embedded assembler, Windows API functions, MSComm component based on the technique of ActiveX and Third-Party component SPComm. The four programming examples and the compared results of their design methods are also given.
出处
《兰州大学学报(自然科学版)》
CAS
CSCD
北大核心
2004年第4期41-44,共4页
Journal of Lanzhou University(Natural Sciences)