- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
温湿度测量系统设计
温湿度测量系统设计(上位机软件设计)
摘 要
本课题实现方法是上位机通过RS_485总线及规定的通信协议发出的命令发送给下位机,下位机再根据此命令解释成相应时序信号直接控制传感器。下位机不时读取设备状态数据,转换成数字信号反馈给上位机。上位机对接收到的数据经过处理,在上位机上显示和存储与数据库中等。同时上位机对用户进行管理,方便用户对采集到的数据进行查看及对历史数据的查询等。
介绍了温湿度测量系统上位机的软件构成。用Visual C++作为开发平台,采用MFC类库,利用VC6.0基于对话框的模板,Microsoft Access作为后台开发数据库,并利用MSComm控件完成串口通信设计了一个实时监测上位机软件系统。本文从上位机软件出发,利用面向对象、数据库、串口通信等技术完成系统信息和数据存储、数据和曲线实时显示、历时查询、等功能,实现了上位机系统的监测任务。给出了软件的总体设计方案和各功能模块的设计,说明了该软件的主要功能,并给出了系统的运行界面和应用模式。
关键词:温湿度,数据采集,串口通信,MFC,上位机,MSComm
Temperature and humidity measurement system design
(PC software design)
ABSTRACT
Approach is PC through RS_485 bus and provisions of the communication protocol under orders to send out a machine, lower level computer according to this command to explain again into corresponding timing signal directly control sensor. From lower level computer equipment state data, converted into digital signal feedback to the PC. PC docking receive data processed, in upper machine display and storage and database medium. Meanwhile PC user management, the convenient user for the collected data in view of historical data and the query etc.
Introduced the temperature and humidity measurement system of software constitutes upper machine. Use Visual C + + as a development platform, using MFC libraries, using VC6.0 dialog-based templates, Microsoft Access as a background, and by using the development of database MSComm control design for a complete serial communication real-time monitoring PC software system. This paper, starting from the PC software by using object-oriented, database, serial communication technology complete system information and data storage, data and curve real-time display, lasted inquiry, and other functions, realized the PC system monitoring task. Given the general design of the software solutions and the function module design, shows the softwares main function is presented, and the operation of the system interface and application mode.
KEY WORDS: Temperature and humidity,Serial communi
您可能关注的文档
最近下载
- 匹克球理论考试试题库及答案.docx VIP
- 一+职场应用写作与交流(一):求职和应聘(教学设计)-【中职专用】高二语文上(高教版2023职业模块).docx
- 一 《微写作•描述事物》(教学课件)-【中职专用】高二语文同步精品课堂(高教版2023·职业模块).pptx VIP
- 新疆天泽水利投资发展有限公司招聘考试真题2024.docx VIP
- 匹克球运动 场地的使用要求及检验方法.pdf VIP
- 第十一章第一节《杠杆》实验教学说课稿教科版物理八年级下册.ppt
- TUNP-卧式操纵盘离心爆珠在线植入设备.pdf VIP
- 草布、衣服、床单被服洗涤服务方案.docx
- 2024年新疆天泽水利投资发展有限公司招聘真题.docx VIP
- 高标准农田鱼眼泡低洼地治理方案.docx
文档评论(0)