Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Web Server: Configuration Page (Options Dialog Box)

NI LabVIEW 8.6 Help
June 2008

NI Part Number:
371361E-01

»View Product Info

Installed With: Base Package

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

Use this page to enable and configure the Web Server. You can configure multiple interfaces of the Web Server.

This page includes the following components:

  • Enable Web Server—Enables the Web Server to publish front panel images and HTML documents and to publish a VI as a Web service. This checkbox does not contain a checkmark by default. You also can use the Web Server:Server Active property to enable the Web Server programmatically.
    • 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.
    • Server Labels (Ports)—Displays the server label and HTTP port for available interfaces of the Web Server.
      • Add—Adds a new interface to the Web Server.
      • Remove—Removes the selected interface from the Web Server.
    • Server Label—Specifies the label of the Web Server interface.
    • 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 the selected server interface. 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.

      You also can use the Web Server:HTTP Port property to set the port to which the built-in Web Server listens for HTTP requests.
      Note  If you use a port other than 80, such as 8000, you must specify the port on URLs that refer to the server, as shown in the following example:

      http://hostname:8000/index.htm
    • IP Address of Listener—Specifies the IP address of the selected Web Server interface. The IP Address of Listener pull-down menu contains all addresses available on the local computer. When you use an RT target, you must manually enter an IP address because the field does not automatically populate.
    • Allow Access—Configures available features for the Web Server.
      • Remote Front Panels—Allows you to view and control front panels remotely.
      • Web Services—Activates Web services.
      • Snapshot—Displays a static image of the front panel of a VI currently in memory on the Web Server.
      • Scripting—Allows you to run scripts that generate dynamic content, such as an HTML interface, on the Web Server.
      • Static Content—Allows static content, such as HTML pages, on the Web Server.
    • Timeout (sec)—Indicates the number of seconds the Web Server waits while reading a request before the Web Server times out. The default is 60 seconds. You also can use the Web Server:Read Timeout property to determine programmatically how long the built-in Web Server waits for read operations to complete.
      • Use default—Sets Timeout (sec) to its default value of 60 seconds. This checkbox contains a checkmark by default. To set Timeout (sec), remove the checkmark from the checkbox.
  • Reset to Defaults—Resets all options on the Web Server: Configuration page to the default values.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit