LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.html report stored in a file, the current report?

I would like to make an .html report previously stored in a file, the cuurent report referred to by the report reference number. Any help would be appreciated.
0 Kudos
Message 1 of 4
(2,783 Views)
Stan,

To do this you need to take advantage of the "Template" terminal on the "New Report" VI. If you wire the path to your existing html file to that terminal the report will now point to that file. You can then make the additions to the report you would like. When you are all done you can then save it to a new file path, or overwrite the existing html file.

Here is a KnowledgeBase and example that discusses how to do this with a word document, but the idea is the same. Opening Existing Word/Excel Files Using the LabVIEW Office Report Generation Toolkit

I also attached a simple example. I hope these help.

Evan
National Instruments
0 Kudos
Message 2 of 4
(2,783 Views)
Unfortunatly, the first .vi in your example doesn't seem to be included in my Professional version of LV7 Express. The unlinked icon that comes up is called new report.vi. When I re-link to the .vi, it doesn't have the same input nodes on it. no sweat though, I think I found a way to do it. see below.
0 Kudos
Message 3 of 4
(2,783 Views)
Stan,

That is a great solution. You learn something new everyday.

Evan
0 Kudos
Message 4 of 4
(2,783 Views)