LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When would I want scripting without web services?

Just a curiousity question for 8.6.  The default Web Server configuration (clicking "Reset to Defaults") includes Scripting but does not include Web Services.  When would you want to use Scripting without Web Services?
0 Kudos
Message 1 of 2
(2,775 Views)

Good question! Actually that sounds like a bug. 🙂

 

The new web server supports a text based scripting language called Embedded Server Pages or ESP. This scripting language is based on JavaScript but with intentionally sparse functionality.We integrated web services with this language to provide another mechanism for writing a presentation layer.

 

It is possible to use the ESP scripting language without the web services integration so we made it possible in tools->options but that is not the use case we anticipate being the most useful.

 

If you haven't seen it here is a document about scripting with web services- it includes a description of the ESP syntax:

Web services scripting

Message 2 of 2
(2,768 Views)