Table Of Contents

Hosting a Web Application on the LabVIEW Application Web Server

Last Modified: October 2, 2018

To make your web application available to other users, host your build output on a web server that is accessible to other users.

Before you begin, you must complete the following tasks.
  • Install a version of LabVIEW from 2009 or later.
  • Build your web application.
To host your web application on the Application Web Server, choose from the following options.
Option Description
Host your web application on the Application Web Server through LabVIEW Web Services.
  1. In your LabVIEW Web Service, create a public or private content folder. For more information, refer to integrating static content into a web service.
  2. Copy your entire web application output directory into the public or private content folder you created.
  3. Publish your LabVIEW Web Service.
Manually host your web application files on the Application Web Server.
  1. Navigate to the LabVIEW web server directory.

    Example: C:\Program Files (x86)\National Instruments\Shared\NI WebServer\www.

  2. Copy your entire web application output directory into the LabVIEW web server directory.

    To navigate to your web application output on your machine, click Locate directory in Windows Explorer on the Document tab of your web application component document.

  3. Open a web browser and navigate to http://localhost:8080/WebApp_Web%20Server/Main.html, where Main.html is the file name of the top-level WebVI in your web application.
    spd-note-note
    Note  

    You can update the port in the URL, if necessary, to match the Application Web Server HTTP port.


Recently Viewed Topics