沈阳理工大学学士学位论文I摘要本文介绍了一种基于计算机的多点温度采集系统,并对该系统的检测监控管理系统中心实现上位机管理软件开发。上位机监控管理软件采用VB编制,用户可以通过向通讯控制总站发送命令,提取下位机温度数据,完成温度检测;同时可以通过对数据库的访问,查看历史检测数据,进行粮情分析和粮库管理等一系列操作。本设计采用VisualBasic中MSComm控件结合程序代码的方法实现上位机与下位机的数据传输。通过将上传的数据存入后台的Access数据库实现数据的保存。对于已经保存的数据能够实现检索、查询功能。并且,可以将杂乱无章的数据整理成报表输出。或者是以更直观的图例形式显示出来。本系统上位机软件功能齐全,系统实用性强,成本低,数据传输效率高,容量大,可靠性好。它不仅可以应用于粮库的监控管理,而且也可推广到其他监控领域,因此具有广泛的应用前景。关键字:温度监控管理;温度采集;VB;上位机;串行通信沈阳理工大学学士学位论文IIAbstractInthispaper,acomputer-basedmulti-pointtemperatureacquisitionsystemandthesystemofinspectionandmonitoringcentermanagementsystemtoachievethedevelopmentofPCmanagementsoftware.PCmanagementsoftwareusedtomonitorthepreparationofVb,theusercanbesenttothecommunicationterminalcontrolcommand,extractiontemperatureandhumidityundermachine-bitdata,thecompletionoftemperatureandhumiditydetection;Atthesametime,thedatabasecanaccess,viewthehistoryoftestingdataanalysisandGrainaseriesofoperationssuchasgrainstoragemanagement.ThroughthedesignofVisualBasiccodeMSCommcontrolmethodcombinedwiththerealizationofPCmachineswithlowerdatatransmission.FromthedatathroughtheAccessdatabaseintothebackgroundofthepreservationofdata.Forthosewhohavebeenabletoachievethepreservationofdataretrieval,queryfunction.Inaddition,datacanbeorganizedintochaoticoutputstatements.Oramoreintuitiveformofthelegendisdisplayed.Thesystemsoftware,afull-featuredPC,thesystempractical,lowcost,highlyefficientdatatransfer,largecapacity,goodreliability.Itnotonlycanbeusedinmonitoringthemanagementofgrain,butalsocanbeextendedtootherareasofmonitoring,ithasbroadapplicationprospects.Keywords:temperaturemonitoringandmanagement;temperaturecollection;VB;PC;serialcommunication沈阳理工大学学士学位论文III目录1绪论.........................................................................................................................11.1课题背景.........................................................................................................11.2相关研究领域及其发展现状.........................................................................11.3系统设计方案概述.........................................................................................31.3.1系统硬件结构.........................................................................................31.3.2系统的设计目标.....................................................................................32编程语言与编译环境介绍.....................................................................................42.1VisualBasic6.0简介......................................................................................42.2VisualBasic的编程方法................................................................................53管理软件的数据库系统...........................................................................................83.1概述....................................................................................................................83.2管理信息系统....................................................................................................83.3数据库技术........................................................................................................83.3.1数据库技术综述........................................................................................83.3.2数据库技术的发展趋势..........................................................................113.3.3本系统数据库设计说明..........................................................................134总体程序设计.........................................................................................................144.1系统总体设计及功能介绍..............................................................................144.1.1系统人机界面设计..................................................................................154.1.2串口通讯设计.........................................................................................164.1.3背景显示程序设计.................................................................................194.2子程序模块设计...........................................................................................204.2.1参数设置模块设计...............................................................................204.2.2数据采集模块设计...............................................................................224.2.3数据处理模块设计...............................................................................244.2.4实时数据显示模块设计.......................................................................254.2.5数据存储模块设计...............................................................................274.2.6历史数据显示模块设计.......................................................................284.2.7打印功能模块设计...............................................................................29沈阳理工大学学士学位论文IV5程序的编译与调试.................................................................................................31结论...........................................................................................................................33致谢...........................................................................................................................34参考文献:................................................