Name: HTML Report Embedded images
Submitter: Ton Plomp
Submitted: 17 Dec 2011
Category: *Uncertified*
LabVIEW Version: 2010
License Type: BSD (Most common)
This class adds a special version for the HTML-report generation VIs.
By using this class you can use the normal report generation functions, however images will be embedded in the HTML file inside the <IMG> tag.
This tool adds a special override class for the Report Generation toolkit. With this class come 3 overrides for the following functions:
Append Control Image to report
Append Image to report (path)
Append Image to report (string)
These functions allow you to embed the added image into the HTML IMG tag. With this functionality it's possible to generate HTML reports that can be shipped without depending on a file-layout or web-server.
The included DEMO VI shows you how to use this class (only the initiate function is required), and loads a sample file into your default web-browser.
Click here to download this file
This tool shows absolutely the power of LVOOP programming, in 1 hour I made a inherited class that overrode 3 VIs and thus created new functionality!
I hope you like it, if you have more ideas for improvement please let me know!
This function usese the Base64 code from ChristianL
Here's the full screenshot: