Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Web Server Syntax Examples

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Use the Web Publishing Tool to embed a static or animated image of a front panel in an HTML document or to embed a front panel in an HTML document so a client computer can view and control the front panel remotely. To embed the static image of a front panel in an existing HTML document, enter the top-level VI name of the application in the following scenarios.

To embed the static image of a VI named Example.vi running on the same computer in an HTML document, use the following code in the HTML document:

<IMG SRC="/.snap?Example.vi">

To embed the static image of a VI named Example.vi running on the computer foo in an HTML document, use the following code in the HTML document:

<IMG SRC="http://foo/.snap?Example.vi">

To embed the static image of a VI named Test 1.vi running on the computer foo using image type=png and image depth=24, use the following code in the HTML document:

<IMG SRC="http://foo/.snap?Test%201.vi&type=png&depth=24">


 

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