To make your application available to other users, host your build output on a web server that is accessible to other users.
Before you upload your application or
WebVI on NI Web Server, you must complete the following tasks:
-
Remove the URL, username, and password
from the panel and the diagram to maximize the security of your web application.
Refer to the Hosting Authentication Credentials Securely section of
Security in NI Web
Technology for more information.
NI SystemLink and LabVIEW NXG Web Module both use NI Web Server. Complete the following steps to host your web application
on NI Web Server.
-
Open your web application project (.lvproject), navigate to
SystemDesigner, and open
Design view.
-
Select Web Server on the diagram.
In the configuration pane under , you will find the NI Web Server root directory path. The root
directory path populates SystemDesigner based on your configuration settings in
the NI Web Server Configuration Utility.
Here is an example of a root directory path: C:\Program
Files\National Instruments\Shared\Web Server\htdocs\.
-
Copy your entire web application output directory into the 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.
-
Open a web browser and navigate to
http://localhost/WebApp_Web%20Server/Main.html,
localhost is the IP address of the server and
Main.html is the file name of the top-level WebVI in your web application.