LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving jpeg and html file into different folders

Hi, all.
 
I developed a VI that generates, on a timely basis, reports (HTML format) that contain some text, numerical values and graph images (jpeg). The problem is that when it saves a HTML file to a folder, JPEG files are also saved into the same folder.
 
Is there any way I can save these html and jpeg into different folders?
Or is it even possible to generate html report with some graph images without having to have save jpeg files? (this would be even better).
 
I included a screen shot of the VI.
 
Thanks in advance for your help.
0 Kudos
Message 1 of 3
(2,463 Views)

There is currently no way, with the Report Generation VIs, to save the image files for an HTML report to a separate folder.  If you think this would be a helpful feature, please submit your request to the Product Suggestion Center, and we will look into possibly including this feature in a future release.  For now, the only workaround I can think of would be for you to use the File I/O VIs to manually create another folder and move the image files to it, then use the string manipulation functions to edit the contents of the HTML file to point all image file references to the new location.

As for not generating images, I don't know of an easy way to have an HTML page with images where there are not corresponding image files.

Good luck,
-D

0 Kudos
Message 2 of 3
(2,457 Views)

I appreciate your comments.

Well, I was hoping there was a way to do so. I guess I will have to try something else. 

Thanks a million!!Smiley Happy

0 Kudos
Message 3 of 3
(2,445 Views)