admin 管理员组

文章数量: 1087139


2024年5月20日发(作者:alter的搭配)

LabVIEW Internet Toolkit User Guide

Version 6.0

The LabVIEW Internet Toolkit provides you with the ability to incorporate

Internet capabilities into VIs. You can use LabVIEW to work with XML

documents, build CGI programs and URLs, and send and receive data.

The Internet Toolkit includes the following components:

XML DOM Parser and VIs—Create, access, and edit XML

documents in LabVIEW.

CGI VIs—Build CGI programs and manage client state information.

G Web Server—Publish VIs to the Web and host CGI applications.

Online examples—Learn how to build and use CGI VIs by reviewing

online example VIs that you can run from the G Web Server.

URL Client VIs—Parse and build URLs and download data from

Internet servers.

FTP VIs—Store and retrieve files from FTP (File Transfer Protocol)

servers.

Telnet VIs—Send and receive data using the Telnet protocol.

Refer to the LabVIEW Help for more information about the URL Client

VIs, FTP VIs, and Telnet VIs.

Contents

Upgrading from Version 2

Getting Started with the XML 2

Using XML DOM .3

Validating 3

Configuring the XML 4

Using CGI 5

Maintaining Client State Information with .6

Using 7

Using 7

Getting Started with the G 8

LabVIEW™, National Instruments™, NI™, ™, and NI Developer Zone™ are trademarks of NationalInstruments

Corporation. Product and company names mentioned hereinare trademarks or trade names of their respective

companies. For patents covering NationalInstruments products, refer to the appropriate location: Help»Patents in your

software, the file on your CD, or /patents.

January 2004

323747A-01

© 1999–2004 National Instruments Corp. All rights reserved.

Configuring the G 9

Running the G 10

Viewing 12

Examining Online 12

Displaying the G Web Server Window in 13

Using CGI VIs with the G .15

Publishing Front Panel Images with the G 15

Where to Go 15

Upgrading from Version 5.0

The Internet Toolkit version 6.0 contains the following changes from

version 5.0:

You can use the Internet Toolkit version 6.0 only with LabVIEW

version 7.0 or later.

You can select one of two different modes to run the G Web Server.

Inindependent mode, the G Web Server runs on a port different from

the one on which the LabVIEW Web Server runs. In shared-port mode,

the G Web Server shares a port with the LabVIEW Web Server and

handles only CGI requests, while the LabVIEW Web Server handles

other requests. Refer to the Configuring the G Web Server section for

more information about selecting modes for the G Web Server.

You can use XML DOM Parser features to read, write, or process XML

documents. Refer to the Getting Started with the XML DOM Parser

section for more information about using XML features in LabVIEW.

You can find the SMTP E-mail VIs on the Functions palette in the Full

and Professional Development Systems of LabVIEW version 7.0. The

filenames for these VI changed slightly. The Internet Toolkit includes

compatibility libraries that automatically replace the version 5.0 VIs

with the LabVIEW 7.0 VIs when you open a VI that contains the older

version of the SMTP E-mail VIs.

Getting Started with the XML DOM Parser

XML (Extensible Markup Language) is a platform-independent subset of

SGML (Standard Generalized Markup Language) that you can use to store

and exchange information. When you work with XML documents, you can

use a parser to extract and manipulate data without having to translate the

XML format directly. For example, the DOM (Document Object Model)

Core specification defines a programming interface for creating, reading,

and modifying XML documents. The DOM Core specification defines the

properties and methods that an XML DOM Parser must support.

LabVIEW Internet Toolkit User


本文标签: 搭配 作者