摘要伴随着当今社会科学技术的迅速发展和船舶自动化水平的提高,各种各样的导航、监控和管理系统在船舶中得到广泛的应用,而这些系统都需要对数据库进行操作。MySQL数据库所占空间较小、运行速度快、成本低、开源并且能够联网,因此本课题选用的是MySQL数据库。84465
本课题主要的内容是通过LabVIEW软件的编程来对MySQL数据库进行写入、检索、查询等操作。论文首先对LabVIEW软件和MySQL数据库的编写语言进行了了解和学习。其次对软件的程序框架以及数据库函数的编程操作进行了理解和学习。最后通过LabVIEW程序的设计,实现了对船舶机舱设备运行数据进行写入、检索、查询等操作,并在前面板做出基本的界面,通过按钮控件来实现操作。
本文最后对设计的程序进行了验证及调试,验证结果表明编写程序的正确性、可行性。
毕业论文关键词:LabVIEW;MySQL;船舶机舱自动化
Abstract With the rapid development of science and technology and the continuous improvement of the ship automation level, all kinds of navigation, monitoring and management systems are used widely in the ship。 And these systems need to operate on the database。 MySQL database footprint is small, fast, low-cost, open-source and can be networked, so this topic is chosen MySQL database。
The main content of this project is to write, search, query and other operations on the MySQL database through the programming of LabVIEW software。 The main content of this project is to write, search, query and other operations on the MySQL database through the programming of LabVIEW software。 Firstly, the preparation of LabVIEW software and the MySQL database language to understand and carry out the study。 Secondly, the program frame of the software and the programming operation of the database function are understood and learned。 Finally LabVIEW program designed to achieve a ship cabin equipment operating data write, search, query and other operations。 In front of the panel, the basic interface is made, and the operation is realized through the button control。
At the end of this paper, the design of the program is verified and debugged, the results show that the preparation of the correctness and feasibility of the program。
Keywords:LabVIEW; MySQL; ship engine room automation
目 录
第一章 绪论 1
1。1 研究背景 1
1。3 本课题研究的目的和内容 3
第二章 LabVIEW介绍 5
2。1 LabVIEW软件简介 5
2。2 LabVIEW与其他编程语言的比较 6
2。3 LabVIEW关于数据库函数介绍 7
2。3。1 LabVIEW访问数据库的几种函数简述 9
2。4 本章小结 10
第三章 MySQL数据库介绍及操作 11
3。1 MySQL数据库简介 11
3。1。1 MySQL数据库编程语言 12
3。2 MySQL软件安装问题 13
3。3 Navicat简介及操作 14
3。4 本章小结 16
第四章 LabVIEW与MySQL数据库程序设计 17
4。1 LabVIEW与MySQL数据库连接 17
4。2 程序设计功能的实现 LabVIEW基于MySQL数据库程序设计+源程序:http://www.youerw.com/zidonghua/lunwen_100241.html