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

基于Delphi的串口通信程序设计方法
引用本文:付华杰 张遂南 黄巾 陈养平. 基于Delphi的串口通信程序设计方法[J]. 微机发展, 2007, 17(10): 178-180
作者姓名:付华杰 张遂南 黄巾 陈养平
作者单位:西安微电子技术研究所 陕西西安710054
摘    要:概述了串口通信在现代科技领域中的重要地位,介绍了Delphi作为一种面向对象的可视化的高级编程语言在串口通信编程中的优缺点。分析归纳了利用Delphi语言编写串口通信程序的四种方法并且简单阐述了SPCOMM在Delphi环境中作为通信控件的一些属性、方法、函数和事件。最后以实践中编写的一个惯导计算机人机交互测试程序为实例,给出了在Delphi环境中利用SPCOMM控件实现串口通信时所遇到一些常见问题的解决方法、编写串口通信程序的大体框架结构和部分代码。

关 键 词:Delphi  PC串口  SPCOMM  测试程序
文章编号:1673-629X(2007)10-0178-03
修稿时间:2007-01-16

Method of Serial Port Communication Program Design Based on Delphi
FU Hua-jie,ZHANG Sui-nan,HUANG Jin,CHEN Yang-ping. Method of Serial Port Communication Program Design Based on Delphi[J]. Microcomputer Development, 2007, 17(10): 178-180
Authors:FU Hua-jie  ZHANG Sui-nan  HUANG Jin  CHEN Yang-ping
Abstract:Summarize the important status of serial port communication in modern science and technology area,introduce Delphi's advantage and disadvantage as an object oriented visible advance programmable language in serial port communication program.Analyses the four methods using Delphi program serial port communication program and simply explain some attributes,methods,functions and events of SPCOMM based on Delphi.At last,using a serial port communication program as an instance,offer some methods that can solve some familiar questions in serial port communication,frame of programming serial port communication program and part of codes.
Keywords:Delphi  serial port communication  SPCOMM  test program
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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