This post is part of the LabVIEW Web Services Series, which covers topics from install LabVIEW to creating an AJAX web app powered by LabVIEW.
LabVIEW Web Services received a great update for 2013. Web Services are now easier to use and run in the same context as the other VIs in a LabVIEW project. Remote front panels can now be created that can be accessed from any mobile device with a web browser.
This is a very simple tutorial showing how to serve static html webpages with the LabVIEW 2013 Web Service. The next example shows how to dynamically update a webpage.
Get started by creating a Blank Project. Then right click on My Computer -> New -> Web Service
![](/sites/default/files/styles/large/public/new-web-service.png)
Right click on WebService1 ->Add Public Content Folder...
![](/sites/default/files/styles/large/public/add-public-content-folder.png)
Create a new folder and name it dist
![](/sites/default/files/styles/large/public/create-new-folder.png)
Select the newly created dist folder.
![](/sites/default/files/styles/large/public/new-folder-dist.png)
Open Notepad and create a new document. Paste in a simple HTML code.
<!DOCTYPE html>
<html>
<body>
<h1>LabVIEW 2013 Web Services</h1>
<p>My first paragraph.</p>
</body>
</html>
![](/sites/default/files/styles/large/public/basic-html-page.png)
Save the document as index.html. (Make sure the extension is html and txt.)
![](/sites/default/files/styles/large/public/save-as-index-html.png)
Verify that index.html is indeed an html type document.
![](/sites/default/files/styles/large/public/verify-doc-type-html.png)
Right click on WebService1 -> Start. This will start the web server.
![](/sites/default/files/styles/large/public/start-web-service.png)
Right click on index.html in the LabVIEW project and select Show Public URL...
![](/sites/default/files/styles/large/public/show-public-url.png)
Copy the public URL from index.html and paste it in a new web browser window. The index.html file will be displayed in the web browser.
![](/sites/default/files/styles/large/public/paste-public-url-in-ie.png)
Next example: LabVIEW Web Services - Dynamically update an HTML page