Creating HTML Documents and Embedding VI Front Panel Images

Complete the following steps to create an HTML document and embed static or animated images of the front panel. You also can embed images of the front panel in an existing HTML document.

Note  To display VI front panels on the Web, the VIs must be in memory on your computer.
  1. Select Tools»Web Publishing Tool to display the Web Publishing Tool dialog box.
  2. Enter a VI name in the VI Name field or select Browse from the VI Name pull-down menu and navigate to a VI.
  3. Enter text in the Document Title, Text 1, and Text 2 text boxes.
  4. In the Viewing Options field, select if you want to embed, take a snapshot, or intermittently update a front panel.
  5. If you want to preview the document in your default browser, click the Start Web Server button and then click the Preview in Browser button. If the Start Web Server button is dimmed, the Web Server is already running.
  6. Click the Save to Disk button to save the title, text, and VI front panel image in an HTML document. If you want to view the document from a remote computer, save the HTML document in the Web Server root directory, usually labview\www. The Document URL dialog box appears with the URL for your HTML document.
  7. Click the Connect button to view the HTML document, or click the OK button to return to the Web Publishing Tool dialog box.
  8. Click the Done button to exit the Web Publishing Tool.
  9. (Optional) If you started the Web Server in the Web Publishing Tool and need to turn off the Web Server, complete the following steps.
    1. Select Tools»Options to display the Options dialog box.
    2. Select Web Server: Configuration from the pull-down menu at the top of the Options dialog box.
    3. Click the Enable Web Server checkbox to remove the checkmark.
    4. Click the OK button to close the Options dialog box and save the changes.
  10. If you want clients who do not have LabVIEW installed to view and control a front panel remotely, they must install the LabVIEW Run-Time Engine, then view the front panel remotely.