基于labview的消防水系统显示界面设计毕业论文

 2021-04-15 12:04

摘 要

在消防系统中,对数据的处理和分析显得十分重要,为此应运而生的是基于计算机的测控仪器—虚拟仪器。而这款属于虚拟仪器类别的LabVIEW编程软件的特点是基于通用计算机等标准软硬件资源平台,实现构建灵活、层次体系明晰、功能强大且人机界面友好的测控系统。

本次设计以LabVIEW2015为主要软件开发平台,主要应对的是对下位机发送过来的数据进行处理并且对用户给出相应的应答。对数据的分析与处理由本设计软件直接完成。本文采用模块化分部讲解,通过解析接收到的数据字符串并分别截取后转回数值以在波形图中实时显示液位数据及波形,通过使用INSERT INTO语句向数据表插入新的实时液位、温度数据值以保存数据,通过选定固定时间段从数据库表中调出所需时间段的数据实现调用已保存数据,通过对已经调用的数据进行导出波形图到剪贴板操作来打印数据,通过对解析完成的液位数据与规定数值比较实现超出警戒值就以布尔显示灯亮作为报警等功能,最后集成完整的设计程序。经过调试,能够满足设计需求,具有一定的应用可行性。

关键词:虚拟仪器;消防水系统;显示界面;数据;LabVIEW

Design of Display Interface of Fire Water System based on LabVIEW

ABSTRACT

In the firefighting system, the processing and analysis of data is very important. For this reason, a computer-based measurement and control instrument—virtual instrument—was born. This LabVIEW programming software, which belongs to the category of virtual instruments, is based on a standard software and hardware resource platform such as a general-purpose computer, and realizes a measurement and control system that is flexible in construction, has a clear hierarchical system, is powerful, and has a friendly human-machine interface.

This design uses LabVIEW2015 as the main software development platform. The main response is to process the data sent by the lower computer and give the user a corresponding response. The analysis and processing of the data is done directly by the design software. In this paper, modular divisions are used to explain the data string and waveform after real-time display in the waveform diagram by parsing the received data string and then cutting back the values and inserting a new real-time level into the data table by using the INSERT INTO statement. , temperature data values to save the data, select a fixed period of time from the database table to call the required time period data to achieve the call saved data, by exporting the data has been called to the clipboard operation to print the data, Through the analysis of the completed liquid level data and the specified value to achieve exceeding the alert value, Boolean display lights up as an alarm and other functions, and finally integrate the complete design process. After debugging, it can meet the design requirements and has certain application feasibility.

Key words:Virtual Instrument; Fire Water System; Display Interface; Data; LabVIEW

目 录

1 前言 1

1.1 课题研究的背景及意义 1

1.2 国内外同类研究概况 2

1.3 设计内容及实现功能 5

2 消防水系统显示界面的设计 6

2.1 基于LABVIEW的编程 6

2.2 实时时间显示模块的设计 7

2.3 串口模块的设计 10

2.4 数据库存取模块的设计 13

2.5 数据解析模块的设计 16

2.6 液位数据显示模块的设计 17

2.7 波形打印模块的设计 19

2.8 液位报警模块的设计 20

3 下位机采集设计 22

3.1 电源模块设计 22

3.2 采集数据模块设计 23

3.3 无线串口模块设计 23

4 系统调试 27

4.1 调试环境 27

4.2 调试的操作过程 28

4.3 系统调试结果 31

4.4 系统调试心得 32

5 结论与展望 34

5.1 结论 34

5.2 展望 34

致 谢 35

参考文献 36

前言

1.1 课题研究的背景及意义

随着社会的进步,消防系统在日常生活中的重要性日益增加。而消防系统也已经不是传统意义上的简单的报警设备,而是融入了计算机技术、电子技术、自动控制技术、传感器的应用等各领域知识的新型系统。为了使消防员的工作更加方便,并满足社会生活的需要,能够实时反映建筑物中为消防提供的水量是否符合要求以及为后台人员排除隐患提供便利条件的消防水系统越来越显得重要。

火是人类生存的重要条件。“防治预防”的防火方针是有关工程技术人员必须执行的。作为一门专门学科,随着现代科学技术的发展,“消防”正在进入高科技综合学科的行列,是现代生活的重要组成部分。有效监控火灾,扑灭火灾,确保人民群众生命财产安全,维护国家经济建设是消防水系统的任务。今天的消防设备是集成了电子技术、网络技术和通信技术等信息技术和设备的组合。为了大众的生活保障和消防员的工作便利,一套更加智能化、网络化的消防水系统设计急需开发使用。

您需要先支付 80元 才能查看全部内容!立即支付

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。