Publishing VIs and Stand-Alone Applications on the Web
- Updated2025-01-22
- 2 minute(s) read
Publishing VIs and Stand-Alone Applications on the Web
Use the LabVIEW Web Server to publish images of front panels from a VI or a stand-alone application to the Web. By default, after you enable the Web Server, all VIs and applications are visible to all Web browsers. However, you can control browser access to the published front panels and configure which VIs are visible on the Web. To display front panels on the Web, the VIs must be in memory on the computer.
The Web Server can generate images of front panels in the JPEG and PNG image formats. The JPEG format compresses graphics well but can lose some graphic detail. This format works best for photos. For line art, front panels, and block diagrams, JPEG compression can result in fuzzy graphics and uneven colors. The PNG format also compresses graphics well, although not always as well as the JPEG format. However, PNG compression does not lose any detail.
Use the Web Publishing Tool to create an HTML document and embed static or animated images of the front panel or to embed a front panel in an HTML document so a client computer can view and control the front panel remotely. You also can embed static images of the front panel in an existing HTML document. To deploy an HTML document with the application, enable and configure the Web Server in a stand-alone application.
Use the Snapshot option in the Web Publishing Tool to return a static image of the front panel of a VI currently in memory on the server computer. Use the Monitor option in the Web Publishing Tool to return an animated image of the front panel of a VI or application currently in memory on the server computer. Use the Embedded option in the Web Publishing Tool to embed a front panel in an HTML document so a client computer can view and control the front panel remotely.
After you publish a VI or an application, you can control the application or front panel remotely or view either using a browser or using LabVIEW.
You can also share VIs with registered users on ni.com.
Related Information
- Enabling and Configuring the Web Server for Remote Front Panels
- Allowing and Denying Web Browser Access
- Specifying Which VIs Are Visible on the Web
- Creating HTML Documents and Embedding Front Panel Images
- Viewing an Application or Front Panel Remotely Using a Browser
- Embedding a Front Panel Image in an Existing HTML Document
- Enabling the Web Server in Stand-Alone Applications
- Controlling an Application or Front Panel Remotely Using a Browser or LabVIEW
- Viewing an Application or Front Panel Remotely Using LabVIEW