Select Tools»Options to display the Options dialog box and select Web Server from the Category list to display this page.

Use this page to enable and configure the Web Server for remote front panels.

To configure Web Server options for the main application instance, display this page from the Options dialog box. To configure Web Server options for a target, display this page from the Properties dialog box for the target.

This page includes the following components:

Option Description
NI Web Server Use this section to configure the NI Web Server.
  • Configure NI Web Server

    (Windows 64-bit) Launches NI Web Server Configuration for configuring the NI Web Server. Follow the prompts to choose the security and authentication settings for your web server and to enable the web server.

Application Web Server Use this section to configure access to Web services after you enable the Application Web Server and during debugging sessions.
Note After you start a debugging session, changes you make to these settings do not take effect immediately. If the Web service runs on the host computer, you must restart LabVIEW. If the Web service runs on an RT target, restart the target.
  • Configure Application Web Server

    Launches NI Web-based Configuration & Monitoring. Use this browser-based configuration to enable the Application Web Server for use with Web services.

  • Debug HTTP Port

    Specifies the port LabVIEW uses for communication with a Web service during a debugging session. The default is 8001.

  • Allow remote connections while debugging

    (Windows) If checked, allows clients on remote connections to access Web services in debugging sessions. Otherwise, clients must connect to the Web service using localhost or 127.0.0.1. This checkbox is checked by default.

Remote Panel Server Use this section to enable the Remote Panel Web Server.
  • Enable Remote Panel Server

    Enables the Remote Panel Web Server to publish front panel images. This checkbox does not contain a checkmark by default. You must restart LabVIEW to apply changes to this option. Any changes are saved and appear the next time you open LabVIEW.

    You also can use the Web Server:Server Active property to enable the Web Server programmatically. This property immediately changes the status of the Web Server without requiring you to restart LabVIEW. Changes using this property are not saved across sessions of LabVIEW and are not reflected on the Web Server page of the Options dialog box.
  • Reset to defaults

    Resets all options on the Web Server: Configuration page to the default values.

  • Root directory

    Indicates the directory where the Web Server HTML files are located. The default path is labview\www.

    You also can use the Web Server:Root Directory Path property to specify the root directory programmatically.
  • HTTP port

    Indicates the TCP/IP port the Web Server uses for unencrypted communication.

    If another server already uses the port specified by HTTP port on the computer or if you are on a computer where you do not have permission to use reserved ports, such as 80, replace the value of HTTP port with the port you want to use.
  • Remote front panels
  • Snapshot

    Displays a static image of the front panel of a VI currently in memory on the Web Server.

  • SSL

    Enables TLS/SSL support on the Web Server.

    • SSL port

      Indicates the TCP/IP port the Web Server uses for TLS/SSL-encrypted communication. You cannot enable TLS/SSL on the port specified by HTTP port. You must use a unique port for SSL port to allow encrypted communication.

    • SSL certificate File

      Specifies the certificate to use for TLS/SSL encryption on the Web server. You can leave this component blank to use the default LabVIEW self-signed certificate.

    • Discovered certificates

      Lists available certificates on the system specified in the Server address text box.

    • Server address

      Specifies the name or IP address of a system that contains certificates. For example, you can enter localhost to view certificates on the local system.

    • Query

      Queries the system specified in the Server address text box for available certificates. Discovered certificates appear in the Discovered certificates listbox.

Log File Use this section to enable the log file.
  • Use log file

    Enables the log file. This checkbox does not contain a checkmark by default.

    You also can use the Web Server:Logging Enabled property to enable the log file programmatically.
    • Log file path

      Indicates the path of the file where LabVIEW saves web connection information.

      The default path is labview\resource\webserver\logs\access.log. You also can use the Web Server:Logging File Path property to determine programmatically where the built-in Web Server places the log file.
Visible VIs

Use this section to configure and edit the list of VIs that are visible on the web.

You also can use the Web Server:VI Access List property to allow and deny access to VIs programmatically.

  • Visible VIs

    Use this section to configure and edit the list of VIs that are visible on the web.

  • AddAdds a new entry to the Visible VIs list. The new entry appears below the selected entry in the Visible VIs list.
  • RemoveRemoves the selected entry from the Visible VIs list.
  • Visible VI—Allows you to enter a VI to list in Visible VIs. You can use wildcards in the VI name or directory path you enter. To specify a VI that is part of a LabVIEW project, you must include the project name, the project library name, and the target in the path of the VI, when applicable. For example, if MyVI.vi resides in a project called MyProject.lvproj under target My Computer, enter the VI name as MyProject.lvproj/My Computer/MyVI.vi. If the VI is owned by a project library called MyLibrary, also include the project library in the path, as in MyProject.lvproj/My Computer/MyLibrary.lvlib:MyVI.vi. If the VI is not in a project or project library, you can enter the VI name without any additional information.
  • Allow access

    Allows access to the VI selected in the Visible VIs list. This option is selected by default.

  • Deny access—Denies access to the VI selected in the Visible VIs list.
  • Control time limit (seconds)

    Specifies the amount of time in seconds a remote client can control a VI in the Visible VIs list when multiple clients are waiting to control the VI. The default is 300 seconds. If Use default contains a checkmark, you cannot edit this field.

    Note LabVIEW does not begin monitoring the time limit set on a particular VI until a second client requests control of the same VI. If another client requests control, LabVIEW begins monitoring the control time limit. If a second client never requests control of the VI, the initial client never loses control of the VI.
    • Use default

      Sets Control time limit (seconds) to its default value of 300 seconds. This checkbox contains a checkmark by default. To edit Control time limit (seconds), remove the checkmark from the checkbox.

Browser Access This section lists the browser addresses that have access to the Web Server. Use this dialog box to add entries to the Browser access list, remove entries from the list, and set access permissions for items in the list. The Browser access list entries must use correct syntax.

You also can use the Web Server:TCP/IP Access List property to allow and deny access to browser addresses programmatically.

  • Browser access list

    Lists browser addresses that have access to the Web Server. Two green checkmarks appear to the left of the item when you allow viewing and controlling of the front panel, a single green checkmark appears when you allow only viewing of the front panel, and a red X appears when you deny access. If an entry does not have a green checkmark or a red X by its name, the syntax for the entry is incorrect.

  • Add

    Adds a new browser address to the Browser access list. The new address appears below the selected address in the Browser access list.

  • Remove

    Removes the selected browser address from the Browser access list.

  • Browser address

    Specifies a browser address to list in the Browser access list. You can use wildcards in the browser address you enter.

  • Allow viewing and controlling

    Allows the browser address selected in the Browser access list access to the Web Server for viewing and controlling a VI remotely. This option is selected by default.

  • Allow viewing

    Allows the browser address selected in the Browser access list access to the Web Server for viewing VIs and documents.

  • Deny access

    Denies access to the VI selected in the Visible VIs list.