06-29-2018 04:17 AM - edited 06-29-2018 04:27 AM
Hello friends.
I try to build an HTML report in LV2011 with a jpg-image, specified by path.
I did it once, then changed the image but report anyway keeps old picture.
Neither LV restart nor PC restart do not help, image stays the same all the time.
What can be the reason of this issue?
Thanks.
06-29-2018 08:00 AM
@VictorYanko wrote:
What can be the reason of this issue?.
There's either a bug in your code, a mis-understanding about some aspect of the RGT, or you have found a bug in some part of LabVIEW that has been working well for years
Would you like us to guess? Take a vote? Or help you find a solution to your problem? If the latter, please assemble a Folder with the Code (VIs) you use to generate this Report, along with sample Data. We will be able to tell what Version of LabVIEW you are using (which you also failed to tell us) from the code, will try to reproduce your observation, and can then be in a position to help you "do what you want to do, not what you said to do".
Bob Schor
06-30-2018 03:25 AM
I unfortunately cannot provide details until Monday, but the solution was to rename the jpeg-file and respectively change the path in the VI's input each time I change the picture. Thus it started to append a new image.
07-02-2018 05:53 AM
Hello Bob.
Thanks for assistance.
Actually, the reason is the following:
if temporary folder with HTML report already contains jpg-file with the same name, the new updated image is not copied there.
I delete all temporary information and image in the report is now updated.
Here is the code sample and 2 sample images.
If I switch images names (while keeping the same path in the VI), the image in the report stays the same.
Labview is 2001 SP1, v11.0.f2 (32-bit).