节点文献

虚拟仪器实验室设计与实现

The Design and Realization of Virtual Instrument Laboratory

【作者】 郑利锋

【导师】 杨小雪;

【作者基本信息】 西南交通大学 , 通信与信息系统, 2002, 硕士

【摘要】 虚拟仪器实验室是虚拟仪器技术、软件编程技术、数据库技术、网络技术相结合的产物。借助于数据采集卡,将实验数据采集到计算机内,利用虚拟仪器进行分析和测量,把结果通过网络传送到服务器端的数据库中,从而完成整个实验的操作及报告文档的处理。教师从网上批改学生的实验报告,形成网络化教学。使用虚拟仪器实验室可以节约实验仪器设备成本投入,提高各种仪器性能,完善实验手段,方便学生及教师的使用。 论文从硬件结构和软件组成两个方面介绍了虚拟电子学实验室的设计和实现。硬件结构部分,分析了数据采集卡的性能指标。软件是整个设计的关键。整个软件由虚拟仪器、数据库、应用程序三部分组成。 首先,本文介绍了虚拟仪器的基本原理,对其与传统仪器的区别进行了比较。概述了虚拟仪器开发平台LabVIEW的特点。详细的分析了基于LabVIEW的虚拟数字存储示波器、虚拟频谱分析仪和虚拟函数发生器的设计和实现的原理及算法,并且对于各虚拟仪器进行了性能测试,给出了性能指标。 接着,分析了SQL Server数据库的特点,给出了数据库开发过程,针对各种类型的数据结构,对表的构造进行了深入的探讨。为了使程序具有很好的适应性和可移植性,采用ODBC建立应用程序与SQL Server数据之间的连接。 然后,介绍了应用程序的开发。应用程序由C++Builder开发,文中详细的阐述了各主要模块的实现方法。 最后,进行了系统调试,并列举了在虚拟仪器实验室系统里完成的一个具体实验,验证了虚拟仪器实验室的实用性和优越性。

【Abstract】 The virtual instrument laboratory is the outcome of the technologies combining, including virtual instrument, software programming, database and network technologies. In virtue of data acquisition board, the experiment data are put into the computer, analyzed and measured by the virtual instrument. The results are transmitted into the database of server through the network. The teacher can remark the reports of the students on line. By this way, the network education system is formed. The advantages of virtual instrument laboratory lie in cutting the cost of the device, improving the performance of the instrument, perfecting the means of experiment, easing the use.In this paper the design and realization of the virtual instrument laboratory is introduced from hardware structure and software composing. The performance characteristics of the data acquisition board are enumerated. The software is the key of the whole design. The software is composed of virtual instrument, database and application program.First of all, the basic principle of virtual instrument is introduced. The difference between virtual instrument and traditional instrument is given. The character of LabVIEW is summarized. The principles and arithmetic for designing and realizing the virtual digital stored oscilloscope, virtual frequency analyzer and virtual function generator, which are based on LabVIEW, are discussed in detail. The performance of the virtual instruments is tested, and the specification is given. Second, the characteristic of the SQL Server database is analyzed. The procedure of the database design is given. Aimed at all kinds of data structure, the structure of the tables is discussed. In order to have good adaptability, the ODBC(Open DataBase Connectivity) is used to create the relationship between the SQL Server database and application program. Third, the design of application program is presented. It is programmed by C++ Builder 5. The realization of main modules is explained. Finally, the whole system is debugged. An experiment fulfilled by the virtual electronic laboratory is mentioned. It validates the practicability and superiority of the virtual instrument laboratory.

  • 【分类号】TP399
  • 【被引频次】22
  • 【下载频次】896
节点文献中: