摘要
针对自动灌溉控制系统的需求,本文借助于虚拟仪器技术开发了上位机软件,设计了基于Lab VIEW软件的上位机监测子系统,对测试结果进行显示和分析。监测子系统与下位机通过串口进行通讯,借助于Lab VIEW软件的VISA函数完成串口数据的读写。利用Lab VIEW软件的循环结构、层叠式顺序结构、条件结构等函数将自动灌溉系统的各个终端节点的土壤湿度测量值与水泵的开关状态通过图表、数值、指示灯等进行显示,完成实时监测。实验结果表明,子系统的设计方案切实可行,能够方便有效地对自动灌溉控制系统进行实时监测。
Aiming at the requirement of automatic irrigation control system,the monitoring system of epigynous machine based on LabVIEW software is designed. The monitoring system communicates with the hypogynous machine through the serial port. The data of serial port is read and written with the aid of the VISA function of the Lab VIEW software. The soil moisture conditions and the switching state of the water pump of each terminal node of automatic irrigation system are displayed by numerical charts,data and indicator light,completing real-time monitoring,using the loop structure,stacked sequence structure,conditional structure of Lab VIEW software. The experimental results show that the design of the system is feasible and can be used for real-time monitoring of the automatic irrigation control system.
作者
韩新风
HAN Xin-feng(College of Electrical and Electronic Engineering,Anhui Science and Technology University,Fengyang Anhui 233100,China)
出处
《长春师范大学学报》
2018年第10期63-67,共5页
Journal of Changchun Normal University
基金
安徽科技学院校级研究项目"基于Zig Bee无线网络的自动灌溉控制系统的设计"(ZRC2016493)
安徽省教育厅重点研究项目"连续超混沌生成的研究"(KJ2017A518)
安徽科技学院2018年优秀人才项目(优秀中青年骨干教师)
关键词
LABVIEW
实时监测
湿度测量与控制
串口
LabVIEW
real-time monitoring
humidity measurement and control
serial port