Web Server Syntax for Browser-Based Remote Front Panel Images
- Updated2026-05-01
- 1 minute(s) read
Web Server Syntax for Browser-Based Remote Front Panel Images
If you embed a static image of a front panel in an existing HTML document for remote viewing instead of using the Web Publishing Tool, you need to include the top-level VI name in certain scenarios.
Note NI recommends using 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 the front panel remotely with
a web browser. This syntax does not apply to using the Web Publishing Tool.
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.
| Situation | Syntax Example |
|---|---|
| Embed the static image of a VI named Example.vi running on the same computer in an HTML document | <IMG SRC="/.snap?Example.vi"> |
| Embed the static image of a VI named Example.vi running on the computer foo in an HTML document | <IMG SRC="http://foo/.snap?Example.vi"> |
| Embed the static image of a VI named Test 1.vi running on the computer foo using image type = png and image depth = 24 | <IMG SRC="http://foo/.snap?Test%201.vi&type=png&depth=24"> |