节点文献
LabVIEW测控系统的网络访问技术研究
The Research of Network Accessing Technology on LabVIEW Measurement & Control System
【作者】 毛顿;
【导师】 郭庆平;
【作者基本信息】 武汉理工大学 , 计算机应用技术, 2002, 硕士
【摘要】 LabVIEW是美国NI公司实现虚拟仪器(Virtual Instrument-VI)技术的G语言图形化编程开发平台,其特点是基于通用计算机等标准软硬件资源平台,实现构建灵活、层次体系明晰、功能强大且人机界面友好的测控系统,因此在国内外许多测控应用中被广泛采用,但目前用LabVIEW实现的虚拟仪器应用大多是基于单机运行的LabVIEW程序。 本论文在国内首次较全面系统深入地研究了LabVIEW的网络化功能,在概述了LabVIEWG语言编程后,系统分析了LabVIEW的TCP/IP、VI服务器及DataSocket三种网络通信机制,详细讨论了每种机制的原理及功能特点,并设计了相应的LabVIEW程序。 针对DataSocket网络通信机制及DSTP协议是美国NI公司专门为LabVIEW/BridgeVIEW等虚拟仪器通信提出的新型通信标准,进一步研究了基于DataSocket的开发,并初步设计实现了基于DataSocket通信机制访问远程虚拟仪器应用程序的ActiveX控件和Java小应用程序,而它们都能运行于普通WEB浏览器中,其中用Java实现的虚拟仪器远程访问应用,采用DataSocket JavaBean和第三方的界面组件及IBM VisualAge for Java开发平台,实现了有一定虚拟仪器界面和具有较好安全性和跨平台性的Java应用,具有一定的先进性和创新性。 本文还分析了LabVIEW中对ActiveX的两类基本应用:ActiveX自动化(即VI可作自动化服务器,或者自动化客户机)与ActiveX容器。以VisualBasic为客户机程序设计语言,给出了VI作为ActiveX自动化服务器时的客户机软件设计要点等;分析了当VI作为ActiveX自动化客户机时,LabVIEW中相关功能模块的使用方法。 本文还研究了在LabVIEW发布HTML文档的主要技术和应用。叙述了LabVIEW内置WEB服务器的配置和使用。根据WEB文档发布的特点和限制,提出了一种“一分为二”的应用策略,即为一个虚拟仪器应用同时设计一大一小两个前面板窗口,较大的前面板用于本地操作使用,较小的但可以满足显示需要的前面板则用于远程发布。 武汉理工大学硕士学位论文 本文进一步简要分析和展望了XML在LabVIEW虚拟仪器系统的可能应用,概述了HTML的缺点及XML的优点和基本原理,提出以lAVA小应用程序解析VIML文件的技术路线。 本文以测试某型装备的项目为应用背景,为有关单位开发了一个演示用示意系统,并以此示意系统为对象进行了网络化扩展,井讨论了相关的开发技术及安全控制问题。 本文还认为电子商务趋向于信息网络与测控网络等全面无缝集成,提出虚拟仪器技术应该同电子商务平台技术相结合,概述了新一代WEB组件一-Web Service技术的基本特点,指出应该研究Web Service技术在虚拟仪器与信息网络集成上的应用。最后认为用软件取代硬件功能,和用硬件取代软件功能,其实质都是软件功能向物质功能的渗透,将有利于实现全面集成。
【Abstract】 As the G Language graphical development tool for implementing Virtual Instrumentation (VI), Lab VIEW has been one of the most popular solution for creating powerful, flexible, well-structured, cost-effective and friendly HMI (Human-Machine Interface) measurement & controlling system. However, although most PC can be easily networked into Intranet or even Internet, most current LabVIEW applications are run on single PC without making use of the advantages of network.This thesis researches deeply and comprehensively the applications of the network functions of LabVIEW, based on extensive reading and intensive analysis of LabVIEW manuals, application notes and hands-on development experience.After summarizing the LabVIEW G Language programming, we research three network communication mechanisms of LabVIEW: the TCP/IP functions, the VI Server mechanism and the DataSocket technology. We analyze each mechanism in detail and develop related G programs to show their functions.In comparison with other communication mechanisms, DataSocket and DSTP protocol are the most important standards for real time VI data communication presented by NI. We also discuss the security considerations of DataSocket and introduces the support to OPC with DataSocket in LabVIEW. Based on DataSocket API and DSTP protocol, we develop the programs of ActiveX controls and Java Applet, which can be run in Web browser to access remote VI application. The Java Applet is developed with DataSocket JavaBean and third-party Interface components at IBM VisualAge for Java, We regard it as a way for cross-platform interactive access solution in the future.We also research the support of ActiveX in LabVIEW, presents the main techniques for creating ActiveX Automation Client VI and client application for VI as a ActiveX server.We introduce two ways of publishing HTML documents from Lab VIEW and the configuration and usage of LabVIEW built-in Web server, presents a "One Divides Into Two" strategy for practical Web publishing in LabVIEW applications, and also discusses how to embed the Web browser ActiveX controls in VI. Since XML has many advantages over HTML, we also discuss the possible application of XML in LabVIEW and implementing strategy of using Java Applet to parse VIML documents.We develop a Demo LabVIEW application for a measurement & controlling project, and impletment its network application.Finally, we support the future trend of seamless integration of VI applications into Information network, and emphasize the need for researching e-Business architecture and emerging technology such as Web Service which will influence the next step of LabVIEW.
- 【网络出版投稿人】 武汉理工大学 【网络出版年期】2002年 02期
- 【分类号】TP311.52
- 【被引频次】26
- 【下载频次】1650