首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC++6.0和数据库的温度监控系统软件的开发
引用本文:谷庆华,李成贵.基于VC++6.0和数据库的温度监控系统软件的开发[J].青岛科技大学学报,2008,29(1):64-67.
作者姓名:谷庆华  李成贵
作者单位:北京航空航天大学,仪器科学与光电工程学院,北京,100083;北京航空航天大学,仪器科学与光电工程学院,北京,100083
摘    要:针对监控系统的特殊情况,开发了基于API(Application Programming Inter-face)和Access2000数据库的串行通信软件。该软件在Visual C++6.0环境下,利用API函数,配合多线程的程序设计,完成了数据的实时采集与动态图形显示。系统数据库模块采用标准的SQL结构化查询语言,选用ODBC数据库访问技术,将现场采集的数据存储在Access2000数据库中,存储速度快,内存消耗少,操作简单,实现了系统数据库的有效管理。系统成功应用于现场温度监控系统,得到了很好的监控效果,实践证明本方案能更灵活和直接地完成串口数据的操纵和存储任务。

关 键 词:串口通信  VC++  API  ODBC  温度
文章编号:1672-6987(2008)01-0064-04
修稿时间:2007年4月26日

Development of Temperature Monitoring System Based on VC++6.0 and Database
GU Qing-hua,LI Cheng-gui.Development of Temperature Monitoring System Based on VC++6.0 and Database[J].Journal of Qingdao University of Science and Technology:Natutral Science Edition,2008,29(1):64-67.
Authors:GU Qing-hua  LI Cheng-gui
Abstract:A serial communication software based on API functions and Access 2000 database is developed for temperature monitoring system.Real-time data collection and dynamic image display are accomplished using API functions and multiply threads with VC++、 SQL(structured query language) and ODBC database access technology are adopted by database module of the system.The data collected from the spot are stored in Access 2000.The technology adopted by the system has the advantage of high memory speed,occupying very little space and can deal with data efficiently.The software has already been used in monitoring the temperature of a warehouse,and a good monitoring result has been achieved,which indicates that the software can deal with and store data from the spot effectively.
Keywords:serial communication  VC++  API  ODBC  temperature
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号