LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in Append Control Image to Report in 8.5?

I am now at an end with this.  I seem to have some sort of problem when using the Append Control Image to Report.  I have a program that creates two reports.  One is a condensed version, the other detailed.  Both reports contain JPG images of some front panel displays.  For the most part it seems to work except what ever it is doing appears very unstable.  The problem seems to center around me trying to include a Multicoulmn Listbox.  I create a Reference of it and then run that to my Append Control Image, just like any other image I want to include.  If I probe the Reference, it appears to be correct, i.e. the name, etc. all seem right.  However, what the image that gets included is a whole different graphic.   Some times I will get the listbox, other times nothing at all.  If I look in the directory and bring up the images, indeed, if it prints the wrong graphics, it also has created two of the ne that it includes. 
 
Running the same program unmodifed seems to do the same thing, i.e. it always will print the wrong graphic.  As I have tried different things to try and skirt the problem, I get different effects.  
 
I have seen the same problem with other graphics as well, not just the listbox, but I can't come up with any hint as to why it does what it does. 
 
 
 
 
 
0 Kudos
Message 1 of 4
(2,994 Views)
I have dug into this a little further and it appears this bug has to do with creating two reports at the same time. If I only generate a single report, everything works flawless. I placed the sections of the code that append data to the reports into a sequence so they would not happen at the same time. This seemed to have some effect, but the reports were still incorrect. Is LabView just not able to create two reports within a single progeam? I can work around this by creating just the detailed report for now, but it would sure be nice if there were a way to make it work.
0 Kudos
Message 2 of 4
(2,967 Views)
Hi Lecroy,
 
This was reported to R&D (#40612) for further investigation. A possible workaround is to add the wait vi between the 2 appending operations, the 2nd image then can be appended to the 2nd html file.
 
Thanks for the feedback!
Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 3 of 4
(2,949 Views)
When making office reports, I have found that the activeX calls (or whatever they use now) tend to just send the data to the most front office window, could this be your problem?
0 Kudos
Message 4 of 4
(2,921 Views)