检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京理工大学自动化学院,南京210094 [2]中国航天科工二院706所 [3]北方信息控制集团有限公司
出 处:《单片机与嵌入式系统应用》2017年第9期55-58,共4页Microcontrollers & Embedded Systems
基 金:连云港市科技项目(SH1441)
摘 要:火灾监控系统需要实时获取来自接收机串口的检测数据和视频数据,对串口进行实时监控的同时还可以进行一些其他的操作。利用基于多线程的串口通信编程思想方法可以很好地解决这一问题。本文介绍多线程的基本概念和上位机C#串口通信编程技术,分析了火灾监控系统的基本功能和需求,着重阐述了采用基于多线程串口通信方法来获取和配置火灾检测参数,并且给出了C#SerialPort类的使用方法。经过最终调试,程序运行稳定,效果良好。The fire monitoring system needs the test data and video data from the serial port of the receiver in real-time, and other opera- tions can also be carried out during the real-time monitoring period.The problem can he solvedusing the multithreading serial communi- cation 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.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:13.59.113.183