Jump to content

[CR] HTML Report Embedded images


Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=200

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:

post-2399-0-97447600-1324157555_thumb.pn

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.