摘要
讨论了在Delphi环境下建立的一款标准化应用程序框架中通讯模块的实现方法。使用组件和多线程技术实现其主要功能,展示了使用属性编辑器设置多路串口的方法,讨论了在高版本INDY组件下实现网络通信的要点,给出监控程序主执行线程的实时控制流程,采用了通用缓存区的方法作为框架层和业务逻辑层的接口,调试出一款支持本承研单位天线类应用的综合通讯调试器。
This paper discusses the realization method of communication module in a standard application procedure framework in Delphi environment, which uses the VCL component and multithreading technique to realize its main function. It introduces the method of using the property editor to set up the multiple serial port, and discusses the main points for rcalizing the network communication with the higher edition INDY component. The real-time control flow of main execution thread of monitoring procedure is given, and the general buffer is used as the interface between framework layer and operation lone layer. Finally, this paper designs a comprehensive communication debugger supporting antenna application of the 39th Research Institute.
出处
《计算机与网络》
2015年第3期93-96,共4页
Computer & Network
关键词
框架
通讯
线程
通用缓存区
framework
communication
thread
general buffer