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

多线程串口通信技术及其在火灾监测中的应用
引用本文:周一帆,闫国玉,吕明. 多线程串口通信技术及其在火灾监测中的应用[J]. 单片机与嵌入式系统应用, 2017, 0(9): 55-58
作者姓名:周一帆  闫国玉  吕明
作者单位:1. 南京理工大学自动化学院,南京,210094;2. 中国航天科工二院706所;3. 北方信息控制集团有限公司
摘    要:火灾监控系统需要实时获取来自接收机串口的检测数据和视频数据,对串口进行实时监控的同时还可以进行一些其他的操作.利用基于多线程的串口通信编程思想方法可以很好地解决这一问题.本文介绍多线程的基本概念和上位机C#串口通信编程技术,分析了火灾监控系统的基本功能和需求,着重阐述了采用基于多线程串口通信方法来获取和配置火灾检测参数,并且给出了C# SerialPort类的使用方法.经过最终调试,程序运行稳定,效果良好.

关 键 词:多线程  串口通信  火灾监测

Multithreading Serial Communication Technology and Application in Fire Monitoring
Abstract:The fire monitoring system needs the test data and video data from the serial port of the receiver in real-time,and other operations can also be carried out during the real-time monitoring period.The problem can be solvedusing the multithreading serial communication programming.Firstly,the basic concepts of multithreading and the programming technology of c # serial port communication are introduced.Then,the basic functions and requirements of the fire monitoring system are analyzed.Specifically,the use of multithreading serial communication method to obtain and configure the fire detection parameters are focused on,and the use of C # SerialPort class is given.After the final debugging,the results prove the method effectively.
Keywords:multithreading  serial communication  fire monitoring
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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