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

串口通信技术在粮情测控系统中的应用
引用本文:张爱筠,施伟祥.串口通信技术在粮情测控系统中的应用[J].应用科技,2004,31(9):13-14,25.
作者姓名:张爱筠  施伟祥
作者单位:哈尔滨工程大学,自动化学院,黑龙江,哈尔滨,150001
摘    要:为实现粮情测控系统中PC机与单片机之间的多机通信,提出了一种在Windows环境下利用VC 6.0的MSComm控件来实现此多机通信的可行方法,并简要介绍了VC 6.0的MSComm控件以及多机通信的原理,给出了进行多机通信的具体实现步骤与通信程序的主要代码.此多机通信的编程方法简化了复杂的通信协议,使串口编程显得比较简洁,且易于用其他的开发软件实现.

关 键 词:多机通信  MSComm控件  辅助线程
文章编号:1009-671X(2004)09-0013-02

Application of serial port communication technology to the monitor system of grain depot's states
ZHANG Ai-jun,SHI Wei-xiang.Application of serial port communication technology to the monitor system of grain depot''''s states[J].Applied Science and Technology,2004,31(9):13-14,25.
Authors:ZHANG Ai-jun  SHI Wei-xiang
Abstract:In order to realize multicomputer communication between the PC and SCM in the monitor system of grain depot's states, an approach to realizing this multicomputer communication is presented with the MSComm control component in VC 6.0. Furthermore, the MSComm control component in VC 6.0 is introduced and the principle of multicomputer communication is discussed. The steps of multicomputer communication and the communication program are also provided. The communication protocol is concise and the serial port program is easy by using the approach. It is easy to realize the approach with other development tools.
Keywords:multicomputer communication  MSComm control component  assist thread
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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