To download NI software, including the products shown below, visit ni.com/downloads.
This VI shows how to share and refresh your front panel in the web browser.
Are you using Web Publishing Tool to share your front panel over the web? Do you want to get a little more functionality out of it? This example mimics the functionality of the Web Publishing Tool mirror setting, but gives you more flexibility in terms of the appearance. This example was made with LabVIEW 2013, which has an object-oriented approach to web services.
The following stpe is the tutorial about how to build the required web service project.
Step 1: Create Web Service
Step 2: Add the VI You Want to Publish
Step 3: Add the GetImage.vi
Step 4: Configure Web Service
Step 5: Add a Static Web Page
Note: this auto-populating subfolder will contain all web pages you want to host on this web service.
Step 6: Modify HTML Code
Steps to Implement or Execute Code
Additional Information or References
VI Snippet of Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.