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. 
Attachments:
LABVIEW_err.jpg ‏18 KB

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.

Similar Messages

  • Cluster not saved correctly in Append Control Image to Report VI

    [LV8 with Windows XP]
    I'm using the Append Control Image to Report VI to save the image of a control to Word (the same problem occurs if I save to Excel). This VI seems to work fine with all my controls except clusters. Not all of the contents of the cluster show up in the saved image. I have to expand the edges of the cluster way beyond the cluster contents in order for all the contents to show up in the saved image. Is this a bug? Is there a way to "realign" the contents of the cluster within the boundaries?
    George

    Hi,
    just had a customer with the problem with this cluster picture function and I wrote a little VI that manually gets the picture, resizes it to the cluster and the rest is up to you. The only thing is, that you have to place the "zero point" of the frontpanel in the upper left corner to get the proper image.
    For Users who want to upgrade: This issue is fixed with the next LabVIEW release.
    Best Regards,
     Andreas Pistek
    ~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~
    Attachments:
    better picture.vi ‏19 KB

  • I can't append control image to report on 1 page with appended text report

    I am attempting to create a report which is simply header, experiment information, and two graphs of data. I am using a Easy Text Report and Append Control Image to Report. I have successfully printed out this report, but on two separate pages. The header info is on the first page, and the graphs on the second page. This doesn't seem to be a margins problem, as the header is very brief and the graphs aren't that large either. I would like to make this into a one page report.  Any help is greatly appreciated.
    Message Edited by csmrunman on 01-15-2010 10:18 AM

    Nevermind. I neglected to see the Append Report Text.vi. That solved everything.

  • Append Control Image to Report stops Source Distributi​on from working

    I have a top level built executeable that calls various external vi's using the "Call by Reference Node" function.  This seems to work ok, to a point.  An additional point here is this is code that I had running well in LV8.2 and am now trying to get running in LV2010 as there have been some significant changes in LV that have impacted on this project and this has forced me to change things.
    The external vi that is called is stored in a "Source Distribution" directory structure, which has been generated via its own project specifications.  An examination of the directories and vi's stored at the destination looks like everything should be there. 
    When it comes to running the vi in the source distribution directory (from the top level built executeable) I get the following error message "Error 1003 occurred at Open VI Reference in Run HTML Report Generation VI LV10.vi->Generate Reports.vi", with the additional suggestion " The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.".  So it looks like there is something missing in the "Source Distribution" directories.
    Doing as suggested, opening the vi in the "Source Distribution" with the development environment, shows that it has no broken arrow.  My suspicion is the development environment is supplying whatever it is missing.
    Using the built top level application, using trial and error and using the diagram disable structure, I have narrowed down the location of the problem to an "Append Control Image to Report" sub vi (its from the NI Report menus).  Disabling this vi at the level it is called, allows the "Source Distribution" vi to run.  "Append Control Image to Report" is part of a class structure and I must say I have not used class structures so my understanding of their implications is very limited.
    If I instead dive into "Append Control Image to Report" vi and disable the vast majority of its diagram (everything in the "No Error" case), the original error pops up again.  Bit strange considering there are only controls and indicators and a case statement left.
    I would appreciate any suggestions, as this has got me stumped.  Hopefully I have made myself clear enough as it is all a bit complicated.  Let me know if I haven't.  Thanks.
    Herbert Niesler

        Hi Caleb,
          "When the VI displays the broken arrow and displays that error in the dialog, does it take you to a particular diagram component? Does the diagram have any broken arrows or something?"...      it doesn't take me to a particular diagram.  Is this possible in the RTE?  If it is how do I enable it?
       I can follow the chain of broken arrows (front panel only) down to my vi that calls the NIreport vi that is causing the problem.  However I am unable to open the NIreport vi's in the RTE, so cannot chase this any further down the call chain.
      I have tried opening the offending top level vi (on a network drive) and it opens ok.  When I close it, it wants to save some changes which i think might point at where the problem is.  The attached file shows the screen shots of the "Explain Changes" window.  Hopefully they mean something to you.
           Cheers
                    Herbert
    Herbert Niesler
    Attachments:
    Explain Changes.jpg ‏46 KB

  • Print report and append control image to report.vi problem

    why print report.vi and control image to report.vi can't executable in xp service pack 3??
    before that, i use xp service pack 1. these sub vi can use successful. but after i transfer all ni file into xp service pack 3, that sub vi can't executable..why it happen???
    please, help me...

    When you said that you used your VIs in service pack 1 and then transferred to Service pack 3, are you referring to 2 different computers or you simply updated the computer with SP1 to SP3?
    If you are using 2 different computers, were all the software and the toolkit also installed in the pc with SP3? I am using XP with SP3 and I am not having any problems with the print vi.
    If you have more information, like if you get an error message, kindly post it here as well.
    Best regards,
    Mary Anne
    .....YOU WONT LEARN IF YOU ALREADY KNOW.....

  • Append control image

    Hi,
    I Have a problem with the append control image to report VI. I Have a Array of clusters that contain 3 numeric indicators and 2 vertical pointer slides. When i try to append this iamge to a report, the picture thats appended downt contain the whole control, and has some weird artefacts. With other controls the append control image to report vi works fine.. Is this a bugin LV 8.0 or am i doing something wrong?
    Thnx
    Bart
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl

    Ok here is an example, the cluster is being appended in the subvi
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl
    Attachments:
    subvi.vi ‏35 KB
    problem.vi ‏14 KB

  • Append control image requires vi to be open

    Having a curious problem with the append control image vi in the report toolkit.
    I'm using LV8.6 with the current report toolkit .
    I have an application that merges the information from 4 sections into one html report.
    Using the append control image vi I add images to the report in two subvi.
    When the subvi are open on the desktop everything works fine.
    As soon as I minimise them to the toolbar or open them up so the image I am grabbing is not fully visible, I either miss the image entirely or only capture a portion of the image.
    Am I doing this wrong?
    Is there a workaround or better method to achieve this ?
    I am trying to avoid using  word or excell as these products may not be available on the target machine.
    henry

    Hi Henry,
    From what you are saying it sound very similar to KnowledgeBase 339HAFUW Append Control Image to Report Does Not Update the Correct Value of my Hidden....
    I made a subVI that writes to an indicator and then in the main VI I use that indictor’s reference as the input to the Append Image VI. I write to an HTML report and the image appears fine for me. During this time I never the subVI opened.  However, if I open the subVI and then minimize it I notice that blanks images are outputted to the HTML file.
    I will be investigating this behaviour a some more.
    I have attached my VI for reference.
    Message Edited by DiscoBall on 05-01-2009 03:21 PM
    Message Edited by DiscoBall on 05-01-2009 03:21 PM
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources
    Attachments:
    cvilv.vi ‏12 KB
    time.vi ‏6 KB

  • Standard Report - Append Control Image Width Problem / Limitation or Bug?

    I am trying to create a Standard Report and am having a hard time placing a XY Graph control on the report. My problem is I want to use the maximum page area to view the graph. For this reason, I am keeping the margins small and increasing the size of the control so that it occupies almost all of the page. What I find is that after a certain limit, the XY graph image output on the report does not increase in size even if you increase the control size. In fact the image will get worse with larger size once beyond the limit. No matter How I try, the Image will not occupy all the area between the Horizontal Margins.
    Either this is a bug or undocumented limitation.
    Ahh.. One other possibility exists, that I am not smart enough. But if some one can help me here, It will be greatly appreciated.
    I am Using LV 8.2 on XP machine.
    I am attaching the VI and two PDF files, In "MyReport w1000.pdf" The XY Graph is 1000 Pixels Wide. In "MyReport w2000.pdf" I made it 2000 Pixels wide, however the size of the image did not increase on the report. Also You can notice the difference in quality between the two reports.
    To use my vi just size the graph to different sizes and run it, It will output to the default Printer. If you have a PDF writer set as default printer, It will save it to file.
    If anyone can help, I thank you and wish you...
    Good Luck!
    Mache

    I do not like Vivek's workaround. "Use HTML report"  is not acceptable when the question is about Standard report. People may want to use Standard report and there is a reason it is called standard.
    Anyway one solution is to size the image to most optimum size - as large as possible but retaining the graphical quality. This will still leave you with large white spaces around your graph object.
    Second solution that I am using is to Put the graph object and any other elements that I want on my report on a Front panel of a VI. Size the objects and front panel and objects appropriately and then use Print Panel to Printer method to Print the whole VI front panel. In my app. This VI which mimics the report is called from my app and is called Print Preview.  There is even a Vi that allows you to choose the printer. http://zone.ni.com/devzone/cda/epd/p/id/1327
    I am attaching a Sample Report and Code Snippet to look at.
    Good Luck!
    Mache
    Attachments:
    Labview Document.pdf ‏21 KB
    Print Code.jpg ‏30 KB

  • Control image to report doesn't take all width

    I want to add and print a control to my report, but the control image doesn't take all the width avalaible on my report.
    It's stretched before the margin.
    Take a look to my exemple in attachement
    thanks
    Attachments:
    print_panel.vi ‏38 KB

    Hi,
    I regret to say that the image size is a known bug with the Report Generator. There is currently no workaround for this issue. The image size cannot be greater than a 1� margin on both sides. I hope you�ll be able to work around this. The issue will be fixed in a future version of LV.
    Danny G.
    Applications Engineer
    National Instruments

  • How could I arrange control images in a report?

    I appended 4 control images to a report using Append Control Image to Report. I wanted to lay two of these images in the first line and the other two in the second line. But the result of my program was one image in one line. (BTW, I did not use any New Report Line). How could I arrange control images?

    Mike is right, unless the images are too wide, the report VIs will put them next to each other on the same line.
    Please find the attached example that appends two charts on the HTML report. Open the .htm file with the web browser. If you make the browser window smaller, the charts will move one below the other.
    Zvezdana S.
    Attachments:
    image.zip ‏13 KB

  • Image resolution report generation

    Hello,
    I am using the vis on the report generation palette in labview 7.1 to
    produce an html report that includes images from intensity graphs on
    the front panel.
    I create a control reference to the intensity graph and then wire the
    control reference to "append control image to report.vi" with the image
    type set to jpg. The report contains a low resolution (appears to be 8
    bit) image. Is there a way to have 24 bits true color images included
    in the report instead.
    Thank you
    Jean-Michel Maarek

    Hi Jean-Michel,
    You can open the Append Control Image to Report.vi and go to the "HTML" case of the case structure and change the constant value wired to the "Image Depth" parameter of the Get Image method from '8' to '24'.  I plan on adding this as an input to the VI in a future LabVIEW version.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Appending orbit plots to report

    Hey everyone,
    I have been having issues appending images of orbit plots and polar plots to excel reports that I am generating using the Report Generation Toolkit. Within the report there are multiple orbit plots that I am generating, and the first one is always blank. It seems like no matter what I do I can't get that first one to show any data. If I change the axis label that will show up, but never any data. Only for the first plot though, the rest show up just fine. Also if I append just a generic plot that seems to work just fine, so I don't think it's any issues with the front panel not loading.
    Has anybody else ran into this problem? Were you able to fix it?
    Thanks and Best Regards,
    Ryan
    Attachments:
    polar_plot.jpg ‏220 KB

    Hey Travis,
    I am using the Append Control Image to Report block to generate these pictures. So I am sending a reference of the control to the block and the block then puts the image of the control in the excel report. The reason I'm doing it this way is because the plots make it easy to look at only certain orders of the signal, which would be a lot harder to do within excel.
    I have an inkling of a feeling that it has to do with the way the plots are set up, they allow you to calculate many different orders and then select which order you want to look at. Well since my report generation process is automated I don't really need to select which plot I want to look at because I will only be sending one plot at a time to the report. What I think is happening is the data gets calculated correctly, but when it gets plotted the one order that I want to send to my report never gets selected, so the plot remains blank. I can't really explain to you why its only happening to the first one though.
    I am using Labview 2010 with Excel 2007.
    Thanks for the help,
    Ryan
    Attachments:
    polar_plot_code.jpg ‏88 KB

  • Printed front panel graphics quality (Print Panel to Printer method vs. Append Front Panel Image to Report.vi)

    LV 6.02 (or 6.1)
    NT 4.0
    I have a vi that the front panel includes all the information I need to print except that it is on different pages of a tab control to conserve screen space. I was attempting to programatically cycle the value of the tab control in a For loop and invoke the Print Panel to Printer method to print 7 pages of the front panel, each with a different tab page selected. The printouts were excellent quality but beginning with the second consecutive Print Panel to Printer method the on screen front panel image of the VI being printed would become jumbled (sometimes, by the time 7 printings were done, the entire front panel image would disappe
    ar and a bitmap of the desktop or underlying windows would be visible in the VI's panel frame) yet the subsequent Print Panel to Printer methods continued to print the panel as they should appear. The visible front panel graphics would never return to normal and the only solution was to close the vi (in the dev system) or exe (compiled) and re-launch. I tried a lot of things (like hiding the panel to print before printing and showing it after printing) with no luck. It appears that two or more of these consecutive invoke methods caused the problem regardless of whether the tabs were cycling, or even if there was no tab control and much fewer controls on the panel to be printed than normal. I also had the same problem with LV 6.1.
    Finally, I was forced to switch to the report generation toolkit vi's, I cycle through the tab pages and use the Append Front Panel Image to Report.vi to append each image to the report. This is faster and control returns to my program quicker but I a
    m unhappy with the printed quality of the graphics of the front panels. They are not as high of resolution as those generated via the Print Panel to Printer method.
    Any suggestions?

    You might try changing the way the VI is printed by going to tools >> options >> printing. Try the postscript and bitmap settings.
    Jeremy

  • Append Multiple Control Images as a 2-D array/tabl​e ?

    All
    I am trying to generate a report and I wish to have the following pattern:
    Image      Blank      Image
    Blank      Image      Blank
    Image      Blank      Image
    Where I intend to place my control images at "Image" and no image at "Blank"
    I thought I can build a table of control images and append but it accepts only string/numeric tables.
    Is there a easier way to include images into WORD report, equivalent to: me inserting a 3x3 table in a word document, and pasting images in 1st row 1st column, 1st row 3rd colum, 2nd row 2nd colum, 3rd row 1st column, 3rd row 3rd column.
    Please let me know, thanks
    Kudos always welcome for helpful posts

    That example was cool. I wish to add images to table using control reference.
    I tried using the control reference to get image, save as a png and then use it to add images. Is there a way that I can use the control reference to add images to my table directly ?
    Kudos always welcome for helpful posts

  • Problem with Append Front Panel Image To Report.vi

    I'm using LV 7.0 with the MicroSoft Report Generation toolkit installed. Under the Report Generation palette there exists an Append Front Panel Image To Report vi. Also on the same palette there is an Easy Print VI Panel or Documentation.vi which uses another Append Front Panel Image To Report vi located under the VI Documentation subpalette. Here is the problem; I have serval vi's that use Append Front Panel Image To Report.vi from the Report Generation palette and I have a couple of vi's that use the Easy Print VI Panel or Documentation.vi which is linked to the Append Front Panel Image To Report.vi located under the VI Documentation subpalette. Clear as mud!
    This creates a conflict of intrest. In a nut shell th
    ere are two vi's with the same name in different locations doing different things. I have a program with subvi's that need to call each respective Append Front Panel Image To Report.vi and that just is not working.
    Is this a known issue with LV7.0 that has already been addressed and/or resloved?
    Thanks.

    ATC Herman,
    Based on the picture you posted and what you are describing, it looks like you might have an incomplete install. What version of the toolkit do you have? Was it first installed on an earlier version of LabVIEW, or did you install it first on 7.0? Your VI Documentation Palette appears the same as if you hadn�t installed the toolkit. I�ve attached a screenshot of what it should look like. The VI in question is a polymorphic VI, which may be causing some of the confusion. If you right-click on it and select �Open Polymorphic VI�, it will show you what options you have, depending on the input. I opened both test and test1, and they appeared the same for me. I was able to have them both on the block diagram. The path to bo
    th of them was C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\printing\ReportDocExtensions.llb\Append Front Panel Image to Report.vi. The .llb ReportDocExtensions has the polymorphic VI, as well as copies of each of the possible instantiations. Make sure you have these VI�s in the .llb in that directory.
    There is a KB on having the toolkit on multiple versions of LabVIEW and what files you need. Make sure you have all the files listed.
    Please let me know if you are able to get to the bottom of the issue with the above information.
    Thanks, and have a happy day!
    Robert M
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments
    Attachments:
    Report_Palettes.JPG ‏57 KB

Maybe you are looking for

  • Error while Deploying Opaque view

    Hi, I have created an opaque view by selecting the New Physical table...option by right clicking on the database schema. I have written a statement by selecting the Table type as SELECT in the Physical Table dialog box as follows, CREATE VIEW <view n

  • Self-Assigned IP....Internet Not Working

    Hi-- Let me start off by saying I have absolutely no idea how this happened. I went to start my Macbook this morning and the Internet didn't work. Usually this is not big deal, and I just unplug the router and everything works fine. However, this tim

  • After encoding a sequence, music audio (Track 1) is fine, but speech audio (Track 2) is sped up and crackling.

    Hello forumites, So I've run into an odd problem I haven't experienced before. I exported my docu film last night. I have my music audio on A1 and speech audio on A2 in the timeline. When reviewing it, the music audio plays back fine, but the speech

  • The ipod could not be restored. an unknown error occured(4005).

    tried to restore and update ipod, it goes through the motions but says its waiting for ipod to respond the it but then the error 4005 comes up as above, now ipod is dead!!

  • ISE 1.1.1 Iphones Guest CWA connection dropouts

    Hi all I have deployed wireless guest access utilising CWA. I have no posture or client provisioning enabled on the deployment therefore it is a straightforward configuration. In short my issue pertains directly to Iphones (I haven't tested with othe