Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Aug 5, 2008


Feedback


Yes No

Related Links - Developer Zone

Related Links - Products and Services

Scripting in LabVIEW Web Services

1 ratings | 3.00 out of 5
Print

Overview

LabVIEW Web services allow you to run Embedded Server Pages (ESP) scripts that generate dynamic content, such as an HTML interface, on the LabVIEW Web Server. ESP is a scripting language created by MbedThis and supported by the LabVIEW Web Server. ESP has a similar structure and functionality as Javascript.

Activating Scripting on the Web Server

To use scripting with a Web service, you must activate the functionality on the LabVIEW Web Server. In LabVIEW, select Scripting on the Web Server: Configuration page in the Options dialog box to activate scripting on the Web Server.

 

Creating ESP Scripts

ESP scripting works with the LabVIEW Web Server architecture. The following white paper provides information about how ESP scripting works and how to create ESP scripts. 

 LabVIEW Embedded Server Pages Reference White Paper (labview_esp_reference.pdf)

 

Using ESP Scripts in a Web Service (Example)

The following example project demonstrates ESP scripts in a LabVIEW Web Service.

 LabVIEW ESP Demonstration (labview_esp_demo.zip/ESP Demo.lvproj)

 

Related LabVIEW Web Services Documents on ni.com

LabVIEW Web Services Help
Official documentation for LabVIEW 8.6 Web Services.

LabVIEW Web Services Online FAQ/White Paper
Additional information and answers about the new LabVIEW Web services feature.

LabVIEW Web Services Security
Additional information on securing your Web service.

Downloads

labview_esp_demo.zip

labview_esp_reference.pdf

1 ratings | 3.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).