Report Generation & image

Hello,
I have been using Report Generation VIs to print Control/Indicator (Front Panel)icons on Word Document.  The only issue is that it is so white that it blends with the background (example attachment below). Any suggestions.
Also, how can I use Report Generation VIs to print items (i.e. case structure and the items within it) from Block Diagram into Word Doc.
Thanks.
Attachments:
DocumentPicture.doc ‏24 KB

To answer your second question about inserting a Block Diagram image into your report, one way to do it would be to use a VI Invoke Node with the method Block Diagram >> Get Image Scaled to output Image Data for your Block Diagram (or whatever VI's Block Diagram you wire the VI refnum in for). Then use Draw Flattened Pixmap to change the Image Data format into a picture format that you can wire to a picture control. Then create a reference for this picture control and wire it into the Report Generation Toolkit VI called Append Control Image to Report. That will accomplish what you want.
I'll attach an example below, but unfortunately I only have the Report Generation Toolkit installed for LabVIEW 8 right now. I'll also paste the image below so you can get an idea of what I'm doing.
Message Edited by Jarrod S. on 04-14-2006 01:27 PM
Jarrod S.
National Instruments
Attachments:
ReportGenBD_Example.vi ‏20 KB
Screenshot.JPG ‏57 KB

Similar Messages

  • Unable to write an image to excel with report generation toolkit

    I am unable to write an image to excel with the report generation toolkit. The VI works fine for word, but when I select Excel the speadsheet pens but remains blank.

    Ranjeet
    I am using Labview 2013 or 8.0, but here is an image of the very simple test VI.
    Regards
    Steve

  • Report generation toolkit: Avoid a separation of title and image at pagebreak in a work document.

    I want to generate a report with the report generation toolkit in LV7.1.
    In that report I use several report VIs to append text, titles and frontpanel images to a word document template (Office 2003). That works fine.
    Depending on the size and text of my generated report, I have sometimes a problem with pagebreaks: A image is set to a new page if there is not enough space to place it on the old one. That’s ok. The text/title above the image is still on the old page. That's right, but I don’t want this. I know in Word you can use the paragraph formatting options to avoid a separation. But with the corresponding VI from the toolkit (word format paragraph (adv)) it seems not to work. With this VI you should have access to "indents and spacing" and to "line and page breaks". I always and only can change the "indents and spacing". En- or Disabling line or page breaks with this VI does not work, nothing changes in a word document.
    Has anyone some suggestions or other solutions?
    Thanks in advance!

    Thanks for your input. You are right, that works and could be an alternative.
    In the meantime I found a solution with creating my own activex vi instead of that from the toolkit as you can see in the attached image. Maybe this could help someone with similar problems...
    Attachments:
    KeepWithNext.JPG ‏46 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

  • Inserting an image into a Word Table with the Report Generation Toolkit.

    I was wondering if it was possibe to use the Report Generation Toolkit to place an image into the cell of a table in a Word document?
    Solved!
    Go to Solution.

    Hi,
    Yes, you can do this by using the Word Edit Cell VI under Report Generation>>Word Specific>>Word Tables in your block diagram functions pallette.  After creating a table, you can edit specific cells and send the file path of the image saved on your computer to that specific cell.  I put together an example that I've attached here as well to help you out with this.
    Regards,
    Austin S.
    National Instruments
    Academic Field Engineer
    Attachments:
    RGTWordImageInTable.vi ‏14 KB

  • Report generation for FPGA VI

    Hello..
                  I want to include the number of resources used by FPGA (LUTs, slices, blockrams etc) in my report generation. 
    After compilation is completed, a window showing these resources will occur. But, how can I add this compilation report in my report generation...
    Please let me know..
    Thanks
    Prashanth
    Solved!
    Go to Solution.

    Hi
    I made a small code which helps you achieve this functionality.
    Hope it helps!
    In this code: I read from "toplevel_gen_xst.log" file generated for the project; search for the string "Device utilization summary" and extract the part of interest Now you add this extract to your report compiled using report generation toolkit.
    regards,
    Ravi.
    Attachments:
    image.jpg ‏60 KB
    FPGA Utilization.vi ‏10 KB

  • Error 7, report generation toolkits do not work after building.

    Hallo guys:
    one problem. help!
    I tried to build my programs with application builder, unluckly builded exe application does no work well as before, i checked some similar post from this forum, and added that NIReprot.llb in my project and rebuild, the problem still takes place, my program append some text, tables, and charts into a word template with that Report Generation Toolkits, but it always gives out error 7 and 'NI_Word.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> Creat New Report.vi ->...'error information.
    is there anyone can give me some clues about this annoying problem.
    thanks a lot!!!
    Solved!
    Go to Solution.

    When you say "attached all this library to my project", it is not clear whether you answered the question about including the dynamic VIs in your build specifications. See attached image. You will need to select the files in your project and set them to Always Included. Have you done this?
    Attachments:
    alwaysincluded.JPG ‏46 KB

  • Report Generation MS-Word always give error

    Hi
    I am using LV 2012 and MS Office 2010.
    I am using report generation toolkit to have a customised output report.
    When I specify output format as excel, I am able to get the desired result but when I specify output format as word, it always throws an error. I checked running the NI examples meant to give output in word but they all fail while the excel reports are perfect.
    Please find attached an error code for one of the example Sample Report(word).vi
    Please suggest the solution.
    Regards,
    Manbir
    Attachments:
    error_doc.JPG ‏20 KB

    We need to see the code in order to say "Here is the error" or "Try doing it this way".  It also gives us something to try, ourselves.  Do you know how to make "snippets", which are .PNG "pictures" of your code that you can simply put into the message using Insert Image?  We can then drag this image into a LabVIEW Block Diagram, and voilà, working code!
    BS

  • Report Generation Toolkit files in incorrect location after installing deployment

    TestStand 2010 SP1 + LabVIEW 2011 + Report Generation Tookit
    After installing a deployment, the location of NI_Excel.lvclass is expected to be at ...\VIs for <project name>\SupportVIs\Excel\NI_Excel.lvclass (see attachment)
    but the path of the file is located at ...\VIs for <project name>\SupportVIs\data\NI_Excel.lvclass
    In the deployment image, under the target folder, the file is in ...\VIs for <project name>\SupportVIs\data\NI_Excel.lvclass
    and the lvproj finds the file.
    The lvproj in the installation finds the file in ...\VIs for <project name>\SupportVIs\data\NI_Excel.lvclass
    Renaming the folder from data to Excel fixes this problem.
    Has anyone else run into this problem?
    Attachments:
    Report Generation Toolkit Error.png ‏15 KB

    I am facing the same issue when I create the TS deployment through utility using TS2012.I thought of adding the file to the Teststand workspace and give the destination in to supportVIs directory.But even tthat didn't worked as it was copying all excel vis in to two locations.
    Even adding the Directory path in to TS search directory options  to "\data folder"  is not resolving the issue and LAbVIEW Vis are not able to locate it.

  • Report generation same Logo in multiple pages

    hi all
    In NI report generation (word) , how can i generate same Logo(small image) in multiple pages.
    I can able to generate Logo in single page. but i am looking for generating same Logo in multiple pages.

    HI
    You can create the Word template file and place logo in header
    Then generate report using word template file (you can use MS office Report express VI)
    Hope this helps
    Regards
    Santosh

  • Report generation problems on the WinNT target machine

    I'm using report generation VI's to generate a standard report, mixed with text and graphs.
    In development mode (LV 6.0.2; Win-NT 4.0 SP6)there are no problems to print it. As soon as I make an application (application builder 6.0) and transfer it to the target machine (Win-NT 4.0 SP6; run time engine 6.0.2) I get an error -2147352567 unable to load picture..to Append front panel image to report.vi> If I delete the VI "Append front panel image to report.vi", I can print the text of my report without problems. Do you have any idea?

    I could fix the bug in the meantime. I had installed an older version of the Internet Explorer. When I updated the target PC to Internet Explorer Vers. 5.5, there are no problems anymore. I think it must be a problem of ActivX.

  • Error 10 when building an application in LV8 and Report generation toolkit 1.1.1

    I am trying to build an application using LV8.0.1 and Report generation toolkit 1.1.1 and i get this error.
    Error 10 occurred at ABAPI Dist Copy Non-VI Files.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
    Any ideas?
    Scientia est potentia!

    Did you attempt to add the _wordsub.llb and _excelsub.llb files to the application as support files?  I believe in LabVIEW 8.0 instead of adding the entire LLBs you should just add the _Word Dynamic VIs.vi and _Excel Dynamic VIs.vi as dynamic VIs.  I think I've seen a similar post on the discussion forums in the past that recommended this.
    If this suggestion doesn't help, please reply, and attach a simple VI and .lvproj file demonstrating the problem so I can investigate further.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Report generation toolkit (1.1.2) and 8.5

    I am not as crazy as I thought!
    I wrote a program today that collects data from excel reports in many directories using cell names and it worked well.  Unitl I saved it.  I had been saving the sub vi's, but when I went to close them I got a message about unsaved changes and I guess I clicked to save the changes today.  The program never worked the same again.  I would get errors like 41106 and 41110 at random (problems with excel not opening and other stuff).  I tried adding waits which slowed everything down and worked mostly.  But the only way to not drop data and get errors was to have a copy of excel open while getting my data.
      Well I just uninstalled/reinstalled the toolkit and rebuilt the vi that was having problems with the fresh install and everything is great again.  So my question is why does the toolkit have problems when I save it in 8.5?  The warning does say that the vi's are from 7.1 and I cant find any updates so I am hoping this is the latest version that came with my 8.5 suite.

    Hi Bryan,
    There should not be a problem with saving the VIs from the Report Generation toolkit in LabVIEW 8.5. I have checked the readme files to make sure but RGT 1.1.2 should work with any version of LabVIEW later than 7.0. However, the readme does discuss an specific upgrade issue. It says if you previously created VIs that use the built-in Report Generation VIs in LabVIEW Professional, Full, or Base packages or VIs from a previous version of the Report Generation Toolkit, installing the Report Generation Toolkit 1.1.2 might break the VIs you created. If the VIs you created contain any of the following VIs, edit them so they are compatible with the Report Generation Toolkit 1.1.2.
    Append Front Panel Image to Report VI—The Image Format input of the LabVIEW 6.1 version of this VI is a different enumerated type than the current toolkit version. Right-click the input and select Create»Control or Create»Constant from the shortcut menu to create a compatible control or constant.
    Append Table to Report VI—The connector pane position of the show grid lines input changed from the Report Generation Toolkit 1.0.1 version of the VI. Reconnect the original wire to the new input location.
    Get Report Settings VI—The cluster order of the font settings input changed from the Report Generation Toolkit 1.0.1 version of the VI. Right-click the output and select Create»Indicator from the shortcut menu to create a compatible indicator.
    Report Express VI—If a VI includes the LabVIEW built-in version of the Report Express VI on the block diagram, the VI breaks after you install the Report Generation Toolkit 1.1.2. Double-click the Report Express VI to launch its configuration dialog box, then click the OK button. Reconnect all wires to the Report Express VI.
    You might need to relink the following subVIs after installation because the connector panes changed in the Report Generation Toolkit 1.1.2. Right-click the VIs and select Relink to SubVI.
    New Report
    Dispose Report
    Append Front Panel Image to Report
    Append Hypertext Link Anchor to Report
    Append File to Report
    Append Horizontal Line to Report
    Set Report Font
    One thing that might have happened is if you had created the program in an earlier version of the toolkit, then saved it in the new version of the toolkit, maybe some of the upgrade issues regarding the VIs listed aboved cause LabVIEW to start giving you errors. Also, which version of excel are you using? After you re-did the VI program, have you tried to save it again and see if the same problem occurs?
    Carla
    National Instruments
    Applications Engineer

  • Error 10 when building app with Report Generation _wordsub.llb in the project.

    Error 10 occurred at ABAPI Dist Copy Non-VI Files.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> SDBEP_Invoke_Build_Engine.vi -> SDBUIP_Build_Invoke.vi -> SDBUIP_Build_Rule_Editor.vi -> SDBUIP_Item_OnDoProperties.vi -> SDBUIP_Item_OnDoProperties.vi.ProxyCaller
     This is the error I get when a set up _wordsub.llb to use of report generation in a build project.

    Dave,
    thanks for providing me with this information. I didn't hear about this error in the past, but I found a KB, that possibly can help you debugging the application: http://digital.ni.com/public.nsf/websearch/AF12BB5FAC27FE2186256F9400619C84?OpenDocument
    Let me know, if it helped you out
    Stefan
    Impossible is nothing - nothing is impossible

  • How do I initialize a secondary axis with report generation vi's

    I have two cloumns of data. one is around the range of 10 and the
    other one is in 100 range. I want to display these two columns in the
    same graph. Can i use the secondary axis for my second column. Is it
    possible using repport generation VI's. The other question is can I
    specify which coloumn I want to use on x-axis and y-axis.

    Hello Mudda,
    It looks like you are trying to view two groups of data in the same
    graph, and then send that graph to a report.
    If your two columns of data are in separate arrays, you can use the
    �Build Array� function to combine those arrays into a two-dimensional
    array (see �Graph Waveform Arrays.vi� example, which can be found
    under Help >> Find Examples).
    A two-dimensional array can be wired directly into a graph. The two
    arrays will show up on the graph as different plots (in different
    colors), both on the y-axis. The data in the 10 range will show up
    lower than the data in the 100 range.
    If you want to plot your two data columns against each other on
    different axis, wire a two-dimensional array into an �XY Graph� (see
    �XY Graph.vi� example, which can be
    found under Help >> Find
    Examples).
    To view a graph in a report using a report generation VI, use the
    �append front panel image to report� VI. The LabVIEW Report
    Generation Toolkit for Microsoft Office will provide more report
    functionality for adding graphs to Word and Excel, if you do not
    already have it.
    If these suggestions are not exactly what you are looking for, please
    post more information so I can better assist you; or, ideally, attach
    this portion of your application to examine. Have a great day!
    Robert M
    Applications Engineer
    National Instruments

Maybe you are looking for