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

Similar Messages

  • 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

  • Standard report appended image

    Hi,
    I'm using XPsp2, LV 2011sp1, standard report, append image VI.
    The appended image appears at a low resolution (screen resolution?) when printed. Text is perfect.
    If i resize the image to a larger resolution (dpi) it resizes it to fit within the margins but retains the low resolution. The auto-re-sizing results in a distorted image if it is resizes to fit the width, but does not need to resize to fit the height.
    Can i increase the resolution of the printed images in the report? -to 150 or 300 dpi so they do not looks so pixelated when printed?
    Thanks.

    To follow up, the response from an email support request.
    "Hi Blue,
    Thanks for the information; it was really helpful in understanding your problem further.  I've managed to print out the exact same type of response as you've been getting; the larger DPI image just comes out a lot bigger for Standard reports than the smaller DPI image. I also dragged the files into MS Word and saw that the images were resized appropriately. Interestingly enough, I set the type of the report to 'Word' and when printed, the images came out at the appropriate resolution. This means that inside of the MS Office programs, there is some internal compensation for recognition of image DPI scaling that isn't native in the Standard report in LabVIEW.
    I also selected to print a 'HTML' implementation of the report. The images were again mismatched in this state.
    Q: How do we work around this issue?
    A: There are two options I see at this point. We can either try reconfiguring the DPI of the printer that we're printing to, or we can take a copy of the resized image in Word by taking a snap of the screen and then cutting the resized image out. I just tried this out and the resized image that I cut out from a printscreen of MS Word looks just as expected on the report.
    I took a look inside the Report Generation VIs that were used for printing and I couldn't find any aspects that we could modify to alter the interpreted DPI of the images. This is because the lower level print functionality is hidden within the higher level LabVIEW Property Nodes and is therefore inaccessable from any Block Diagram code. In this regard, I don't believe that there are any direct features native in LabVIEW that as LabVIEW Users, we will be able to modify. I made a VI to resize the image in LabVIEW and then print the output, however the issue with this is all of the quality in the original image was inevitably lost.
    You can head over to the LabVIEW Idea Exchange and post this feature request on the forums and get other LabVIEW Users to Kudos it; the higher the Kudos, the more change of the feature being incorporated into a newer release of the toolkit. I definitely agree that this would be a great feature and I'd be more than happy to contribute.
    LabVIEW Idea Exchange - 
    http://forums.ni.com/t5/ideas/v2/ideaexchangepage/blog-id/labviewideas
    I hope that this is okay. If you have any further questions or ideas, please don't hesitate to get back in touch. I want to make sure you're completely satisfied with the solution that we reach.
    Kind Regards,
    So in summary: No, you cannot adjust the resolution (DPI) at which the Standard Report Generation toolkit processes appended images.... Unless anyone knows better? ...i can not get satisfactory results from either of the suggested work arounds.
    BR
    Blue

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

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

  • 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

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

  • Controlling image width in XML brought into TextField via RSS

    Hello. First off, let me say that I am new to these forums,
    and new to AS 3.0
    Here's my question.
    I'm building an RSS Reader. Everything is working great,
    except I can't figure out how to control the size of images
    embedded in the XML of the blog posts.
    I attempted to set up a textField with an attached css
    stylesheet to limit image widths, but I couldn't get that to
    function. Should I try saving the remote XML to my server via PHP,
    and then adding my desired maximum width to every <img> tag?
    That seems like a lot of work for a simple task.
    Ideally, I'm dreaming of a textField or TextArea or
    ScrollPane property that would force contents to obey the
    container's width. Can you tell I usually write css?
    Thanks in advance for any advice.

    Assuming that html is valid xml, and it apparently is if you
    are working with it successfully, you would access that value like
    this:
    description.img.(@src)
    A labelFunction would make it easy to display that string.
    I haven't worked much with in-line renderers so ai am not
    sure you you would do it in there.
    Tracy

  • Branding image width problem

    Hi,
    I have developed a customer spesific theme, added it to a dektop and it works. My problem is that in the theme generetor the image looks fine, but when I actully use the theme there is a large gap between the branding area and the masthead funtion area. Can someone help me solve my problem ?

    Hi Ingvild,
    You can do one more thing then ie you can edit the original masthead file and then redeploy that.
    For this you download com.sap.portal.navigation.masthead.par  from the server.
    Import it into NWDS.
    Also Extract the par file
    You can find two jar files one in private folder and other in lib folder.
    com.sap.portal.navigation.masterhead_core.jar and
    com.sap.portal.navigation.masterhead_api.jar respectivily.
    Add these files to the corresponding folders in your project.
    Then in NWDS goto PORTAL-INF->jsp the u will find the file HeaderiView.jsp.
    Its jsp file with the layout and functionality of masthead. U edit it and reduce the gap here.
    also it is a normal jsp file with html tags in it so u can play with html tags in it... and can change the look and feel of the masthead further.
    Hope atleast this will work
    Thanx & Regards
    Anish

  • Image won't use full width of page in Standard Report

    Using LabVIEW 2012 in both Windows XP and Win7
    Specifically, I'm trying to use a cluster control  with strings and numerics for a generic report page.  I stuff the strings and numerics with the info that's needed to create the desired page content.
    I am creating a standard report.  The use of Word or Excel is not considered due to compatibility issues when either NI or Microsoft release version upgrades.
    I have tried setting the report margins as well as leaving them at default; the results are the same.
    I set the header text and footer text to indicate where the report generation function believes the margins to be.  Both header and footer honor the margin settings and appear on the report page as they are expected.
    When I "append control image to report" using the reference to the cluster control, the resulting image is 6.2" wide and hugs the left margin regardless of what size the control actually is.  If the control is widened, it is rescaled to 6.2" wide.  I tried using picture and array controls; results are the same.  I tried using the "append front panel image to report"; same results.  The "Alignment" input seems to have no effect.  The issue seems to be with the way images are handled in the report generation.
    Oddly enough, the height seems to behave quite normally.  If the object is too large in height, it is simply truncated at the bottom margin.
    I tried using landscape orientation which functionally exhibits the same issue; object hangs on left margin and will not fill the width of the page.
    I tried HTML which centers the image on the page but doesn't honor margins and prints info at top and bottom that I can't get rid of.
    I contacted NI support and generated an active support question reference# 7369484.  So far, no solution.
    Any help would be appreciated!

    Similar problem using LV2011. I have to print labels on a 100x70 mm paper without borders. No chance to scale the control image to fit.
    Calculating the size of the initial picture (480x360 pixels) scaled at 96 DPI would result in a size of 127x95 mm.
    Actually the height printed is exactly this, but the width shrinked to about 45-50 mm.
    A part of the solution might be to create an image (use 'create/invoke node/get image') and send this to the printer (how to do this?). Actually the HTML report creates an 96 DPI image together with the html page.
    In my case I should create an image of at least 150 DPI (300 or 600 DPI prefered). But there are no options in either the 'get image' or append control image to standard report to set the resolution.
    Bad thing!
    Attachments:
    CT0181860494.jpg ‏26 KB

  • SSRS Report Viewer control not displaying images properly

    Hi All,
    when i execute the report in Report Manager i am able to see the report with out any issue,but when i am running the report using report viewer control images getting chopped or Croped like below screen
    shot.
    i am using VS.net 2012 and Sql server 2012 and calling server reports in the asp.net application using Report Viewer control version 11.0
    One interesting thing is some times i am able to see the images some times not (like below screen).
    Any help will be greatly appreciated.
    Thank you.
    Using Report View Control

    Hi siva9000,
    As per my understanding, there is a report with image. When you run the report in report manager, it works fine. When you run the report using report viewer control, the image could not be displayed properly.
    I tried to reproduce this issue on my local machine. However, the report works fine for me when configure a ReportViewer control for remote or local processing. According to your description, the report itself has no problem. The issue may be caused by browser
    or third-party plug-in. To troubleshooting the problem, please refer to the following steps:
    Please run the report using IE, since other browsers may have compatibility problems.
    Open the Internet options of the IE and add the web site into trusted site in the Security tab.
    Please check if you installed third-party plug-in to the browser.
    For more information about Configuring ReportViewer for Remote Processing, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/ms252075(v=vs.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • 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

  • 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

Maybe you are looking for

  • Problems signing in to iCloud..

    When I try to sign in to my icould account, it says it will send me a verification email to my secondary email address. However, I do not receive any such email and therefore I am unable to use the icloud service. Any help will be much appreciated.

  • Disabling bold fonts in various terminals

    Alright, I've been using Xfce4-terminal ever since I started using Linux. At various points in time I've tried to switch to more lightweight terminals, but there's one feature Xfce4-terminal has that I can't find anywhere else. It has an option to di

  • View change documents for risks and functions

    Is there a way to see what changes have been made to risks and/or functions?  Our SOX group would like to monitor the changes that have been made, who they've been made by and when.  Currently we can go into the individual functions and risks and loo

  • I cant Hear Radio in N73

    Sup guys i have N73 and i cant hear radio even i have its Genuine handsfree dont know whats problem anyone knows whats goin on? i also update its software means firmware lol Help me

  • Can anyone tell me why i have blue lines and blue boxes on my iphone 5 screen after updating it to IOS 8.1.2

    i am getting blue boxes and blue lines on my iphone 5 screen since i have updated to IOS 8.1.2 can anyone help please?