摘要
直径为3 m的海洋资料浮标作为海洋自动监测系统的重要环节,在海况监测、海洋气象预报、海洋环境保护等方面发挥着重要作用。作为存储浮标原始数据的U盘存储器,其中存储了各个水文、气象要素的原始采样数据,是研究海洋特性和数据统计的重要资料。为了实现对浮标U盘中数据的可视化处理和分析,设计和实现了该系统。系统设计采用功能强大的Visual Studio 2008作为开发语言,利用Access 2003和ADO数据库开发技术实现数据的存储和处理。引入MFC中的BCG界面库来优化人机接口界面,系统不仅要生成可视化的文本文档,还要在程序界面中链接到数据库,查询显示各个水温气象的参数,实现Excel表格的导出等功能。融合MATLAB在生成图表方面的优势,采用Visual Studio 2008与MATLAB混合编程,以便进行数据的分析。通过程序的实际调试运行,圆满实现了预期功能,在实际运行中,系统工作稳定,数据分析方法合理,可以实现U盘数据的可视化处理及分析。
As an important part of the marine automatic monitoring system, the 3-meter data buoy plays an important role in the ocean condition monitoring, marine meteorological forecast and marine environmental protection. As U disk of storing buoy raw data,in which stores the original sampling data of the various hydrological and meteorological elements, are important materials for study of marine fea- tures and data statistics. In order to realize the visualization processing and analysis of buoy U data, design and implement the system. The application development is using C programming language based on the powerful Visual Studio 2008 alongside with using the Access 2003 and ADO database technology to store and process the data has been caught. Furthermore, using the BCG interface library makes the user interface more optimized and data more visible. The software can not only create the visual text documents, but also connect to the database to query and display the hydrometeorological parameters, due to the advantage of Visual Studio 2008, which can read and gener- ate data in Office Excel form. The system uses MATLAB in advantages on mathematical graphics, to plot the hydrometeorological graph. After testing and debugging, the system can successfully and stably read and analyze the data from the USB drive, plot the data and gener- ate the proper Excel files, which are easy to be visualized and read by the users, as expected. All these interfaces and visualizations are done by using hybrid programming method.
出处
《计算机技术与发展》
2015年第10期170-173,共4页
Computer Technology and Development
基金
海洋公益性行业科研专项经费项目(201005001)