摘要
为解决实际测控系统中在控制中心的上位机和控制功能设备的下位机之间传送命令和文件的问题,在讨论VC++6.0中MSComm控件的基础上,通过制定通信协议、给命令和文件加入标识构成包进行传送,从而正确地区分了命令和文件。实验表明,基于该通信协议,可以成功地传送命令和多类型文件。
In order to solve the problem of transmitting commands and files between the upper-end computer at control center and the lower-end computers which control the function devices in a real test and control system. Based on the MSComm Control in VC++6.0, adding some flags to the commands and files to compose different packets by designing a series of communication protocols, the commands and files are distignuished.Eexperiments show that it can transmit commands and files of all types successfully based on the communication protocol.
出处
《吉林大学学报(信息科学版)》
CAS
2004年第2期164-168,共5页
Journal of Jilin University(Information Science Edition)
关键词
串口通信
MSCOMM控件
文件传送
通信协议
serial port communication
MSComm control
file transmission
communication protocol