LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Append Image to Report VI keeps old file

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.

0 Kudos
Message 1 of 4
(2,710 Views)

@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 

0 Kudos
Message 2 of 4
(2,679 Views)

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.

0 Kudos
Message 3 of 4
(2,662 Views)

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).

 

Download All
0 Kudos
Message 4 of 4
(2,645 Views)