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

串行通信在远程监控系统中的应用
引用本文:陈佩江,周洪玉,赵颖. 串行通信在远程监控系统中的应用[J]. 哈尔滨理工大学学报, 2002, 7(2): 42-45
作者姓名:陈佩江  周洪玉  赵颖
作者单位:1. 哈尔滨理工大学机械动力工程学院,黑龙江,哈尔滨,150080
2. 齐齐哈尔铁路职工大学计算机系,黑龙江,齐齐哈尔,161000
摘    要:由于微软类库中没有对串口进行操作的类,为利用VisualC 开发与硬件接口有关的串行通信程序带来了一定的不便和困难.基于面向对象的编程思想,对Win API函数库中有关串口编程的函数进行了类的封装,提出了串行通信程序设计的一般方法,给出了远程监控系统的软件实现过程.实际运行表明,该系统具有较强的稳定性和可扩展性,适用于监控对人体有害的工作环境.

关 键 词:串行通信  串口编程  远程监控  VisualC   面向对象
文章编号:1007-2683(2002)02-0042-04

The Serial Communication Application in Remote Monitoring System
CHEN Pei-jiang,ZHOU Hong-yu,ZHAO Ying. The Serial Communication Application in Remote Monitoring System[J]. Journal of Harbin University of Science and Technology, 2002, 7(2): 42-45
Authors:CHEN Pei-jiang  ZHOU Hong-yu  ZHAO Ying
Abstract:Microsoft Foundation Class has not a class that can operate serial port, So it is inconvenient and difficult to develop serial communication program about interface of hardware by Visual C . This paper encapsulates some Application Programming Interface functions about serial port program by a class and tells general method of serial communication program designing. This paper also gives process of realizing remote monitoring and controlling system. The field test indicates that the system has strong stability and expansibility. The system, especially, is applicable to monitor and control the working environment that is harmful to human.
Keywords:serial communication  serial port program  remote monitoring  Visual C   object-oriented
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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