![]() |
The LabVIEW development environment and any applications built out of VIs contain an integrated web server. Beside publishing the same type of documents as other web servers, the built-in web server can also publish pictures of running VIs.
The LabVIEW web server can be manually configured in the Preferences dialog. You can also configure the web server using the Application property node. For detailed configuration information, consult the User Manual.
To turn on the Web server, go to the "Web Server: Configuration" page in the Preferences dialog and check the "Enable Web Server" check box. Using the default settings, you should now be able to connect to the server from a browser by entering http://host.domain.com into the browser's URL field (replace host.domain.com with the internet adderss of your machine, or, if the server and the browser are on the same machine, use the address localhost).
By default, the web server is disabled.
Note: | The Unix version of LabVIEW is by default configured to use Port 8000. This is to allow the LabVIEW web server to run in accounts that do not have root access. If you have root access, you can change the HTTP Port to 80. If you use any port other than 80, you must specify the port number in URLs that refer to your server. |
The "Web Server: Browser Access" page in the Preferences dialog specifies which computers on the Internet have access to your web server. You may want to limit access to only a few specific machines (with entries like host1.domain.com and host2.domain.com) or to all machines within a domain (with an entry like *.domain.com).
By default, all machines have access to your web server.
Use the "Web Server: Visible VIs" page to configure which VI may be viewed using the web server.
By default, all VIs can be viewed.
© National Instruments |