首页 | 本学科首页   官方微博 | 高级检索  
     检索      

DELPHI 6.0中用TApdComPort实现串行通信
引用本文:余文芳,赵文敏.DELPHI 6.0中用TApdComPort实现串行通信[J].哈尔滨商业大学学报(自然科学版),2005,21(3):311-314.
作者姓名:余文芳  赵文敏
作者单位:浙江工商大学,计算机与信息工程学院,浙江,杭州,310035
摘    要:串行通信是计算机与其他仪器设备进行数据交换的一种重要方法,如果没有仪器间的相互通信,很多测试和控制工作就无法进行,要实现PC机的串行通信通常有以下几种方法,利用嵌入式汇编语言编写程序,利用Windows提供的API函数完成与硬件接口的通信,利用第三方串口通信控件来实现等,介绍了在Delphi6.0开发环境下,用TApdComPort控件来实现一台PC机与多台单片机之间的串行通信,并提出了多线程设计方法,同时对通信程序作了详细的说明。

关 键 词:串行通信  单片机  线程APRO  Delphi  6.0
文章编号:1672-0946(2005)03-0311-04
修稿时间:2005年2月20日

Realization of serial communication with TApdComPort in Delphi 6.0
YU Wen-fang,ZHAO Wen-min.Realization of serial communication with TApdComPort in Delphi 6.0[J].Journal of Harbin University of Commerce :Natural Sciences Edition,2005,21(3):311-314.
Authors:YU Wen-fang  ZHAO Wen-min
Abstract:Serial communication is an important way for computers to exchange data with other instruments. Without the mutual communication among instruments,many of tests and control operations cannot be carried out. To accomplish the serial communication of the PC, generally there are several ways as follow: to make use of embedded assemble language to write programs; to make use of Windows API to communicate with hardware ; make use of the third part serial communication components to realize data exchange etc. This paper introduces serial communication between PC and single-chip microcomputers with TApdComPort component based on Delphi 6.0 developing environment.And presents a novel design method of multi-threads; and it also expounds communication program.
Keywords:serial communication  single-chip microcomputer  thread APRO  Delphi 6  0
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号