Custom report generation

The program I'm working on has to create a test report. I use an Office-XP word document, provided by my client, as pattern for this report, in which strings, tables and graphs from my program are to be inserted.
My program is made using LabWindows/CVI 7.0. For the test process and report generation I plan to use TestStand 3.0.
My question now is, if and how it is possible, to realize such a custom report in TestStand 3.0?
(I've already learned that all TestStand sequences and process models can be modified to match my individual needs, but the steps in the report generation sequences are a bit cryptic and I can't find any manuals covering this topic in detail.)

Hi,
There is no extra documentation detailing the breakdown of the TestStand report generation, other than the highlevel detail of the different callbacks for the Header, footer and body of the report as found in the Teststand manuals.
But, the flow the the report sequencefile is fairly straight forward, once you are familier to the component parts of the a step.
The easies way to help the understanding is to single step through an small example and watch some of the variables.
Where most of the work is done is the sequence PutOneResultInReport found in the sequencefile reportgen_[xml|html|txt].seq. (note there's a different report generation sequencefile for xml, html and txt.)
For simple modification to the report you make use of the Callback overrides and
there's one for the Header part, one for the Footer and another for the Body.
There is an example in the TS3.0 manual using the Header callback.
If you are making big changes to the report then you will need to change the actual report sequencefile.
Alternatively,
you could try Www.emodularsolutions.com, they have produced a Report Generation package called DocFlex.
Or
Log your results to a database and then use some external package to pull the information and package to a defined stlye sheet. I am sure there are software package that will do this.
Sorry that the answers are a bit general but I hope it gets you started.
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Custom Report generation in the Simple UserInterface

    Hello,
    I've created a workspace, a project and some sequences in TestStand 4.0. I've also created a custom report generation. This all works fine in TestStand.
    The custom report file is a txt file. The custom report generation is chosen above the default report generation, because the workspace directory is placed at the top of the "Search Directories".
    When I open the main sequence file of this project in the SImple UserInterface, the the default report generation is used. Why doesn't it use my custom report generation? And how can I solve this problem?
    Regards,
    Niek Laverman
    3T bv
    Message Edited by Niek L. on 06-23-2008 07:00 AM

    Niek L.
    Before we address your current problem, let me describe a bit about what is currently happening.  First, when working with TestStand, the .tws file that is created when you save a workspace file is something that can only be opened in the Sequence Editor environment.  Which explains why, when you try to open this file using the Simple UI you get an error.  Since you can't open a workspace file in a Simple UI the search directory that your workspace uses is not valid. 
    The easiest way to address this situation is to create a custom search directory from TestStand»Sequence Editor»Configure»Search Directories... then select Add.  This will allow us to hard code a path that will reference the appropriate directory that the workspace is located in.  We can then move this custom search directory to the top of the list.  Now, when we use the use the Simple UI we will be able to load that sequence file because it is now part of the available search directories.  This should also allow you to be able to load your custom report generation.
    A_Ryan
    AES
    National Instruments

  • Custom Report : What is the best way ?

    Hi!
    My customer doesn't like native TestStand 's report layout. He would prefer something like the example enclosed to this post.
    What is the best way to achieve this ?
    XSL customizing (seems heavy work) ?
    Using the report generation toolkit  and a Word template ?
    Any other idea ?
    Attachments:
    Report Style.JPG ‏115 KB

    Have you examined all of the examples found in the TestStand help:

  • Report generation toolkit conditional format - how to?

    Hi
    We are using the Report generation toolkit (2010 version), and have a question regarding this tool.
    I see functions for setting the number format, but not a conditional format. Does this not exist?
    http://zone.ni.com/reference/en-XX/help/372120A-01/lvoffice/excel_set_cell_format/
    This page refers to an example which from the name sets a conditional format. However as I understand it, this example is setting a custom number, not a conditional format.

    Hi,
    the simplest way to do this I guess you can provide a template for your Excel sheet, where you can set the conditional format there.
    From LabVIEW you can just send the values into this sheet-template.
    Maybe you can try these if you want
    http://forums.ni.com/t5/LabVIEW/Using-conditional-formatting-in-excel-through-LabVIEW-activeX/td-p/1...
    http://forums.ni.com/t5/LabVIEW/Excel-Colour-properties-modified-via-LabVIEW/m-p/573748?query.id=218...
    Regards,
    Yan.

  • Report generation tool kit not printing

    I had the report generation tool kit version 1.01 for some time but never used it. I was comfortable with printing front panel vi 's.
    But now I installed it on my computer with a windows 2000 and LabView 6.02 .
    I created an application (executable) that will print (using the report
    genartion tool kit). The application works fine in my development computer
    (win 2000).
    When I installed it on another computer with a win 2000, it prints as
    expected
    but when I try to exit I get a message from windows that the application is not responding (I have to go to task manager and terminate the application).
    Both computers have word and Excell installed
    I installed the application on a third computer (win 2000), but this com
    puter does not have word or excell installed. The application does not print the
    portion of the software that uses the report generation tool kit, but it can print the front panel of vi's (set to print an end of excution).
    In all 3 computers, I have runtime engine 6.02 installed. My vi is simply
    the example vi ""Sample test report.vi"", but customized to my application, printing standard report.
    What is happening ?

    Based on what you sent, the version of Excel and Windows that are being used is a non issue since none of the code makes any calls to either one. They all refer to the older version of the report generation VIs that use NI's proprietary report generator.
    I can think of two explainations. First, you aren't using what you think you are. Second, NI retained the same VI names when they went to the Word/Excel version of the generator, and I am linked into the old version.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Issue in BIP Report Generation - Issue gets fixed when the rtf is opened and re-saved

    Hi,
    We are facing a unique case in BIP reports generation at a Customer site. The BIP installed is a part of the OBIEE 11g installation. The customer report generates most of the times, however there are instances where we get a techinical details error ( custom error ) -  The only way to 'fix' this issue currently is to open the rtf file, hit the spacebar and save this file ( ie re-save this file ) and the report starts to generate correctly again for
    Has anyone else faced such a problem ?
    Also, not sure if this helps - the corresponding xdo has nested tags
    Thanks in Advance
    Orjun - Oracle Financial Services

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Report Generation working on Dev machine but not on Deployment + Lessons learned

    I don't do deployments very often with Teststand. But I have to say, I learned a lot from this one from trial and error and help from the message board. I have got my deployment to final work (almost) with these lessons learned:
    1. Create a base installer for the engines and drivers, that way if you need to update it is much smaller.
    2. Dont install Teststand before Labview on a new development machine (not related to this deployment but I did learn that)
    3. Don't have your Testexec window open, alter the Station Globals, then close the window. It just puts them back to the old version (probably my biggest problem).
    4. Paths are extemely important.
    I think I have figured it out with much time involved and kept notes of what I have done for future. The ONLY issue I have left is this below. My dev machine works as it should but when I deploy, it does not. FYI- I manually copied over Station Globals, Process model, and Testexec. DO I need something else?
    I create serial numbers for my UUT's in the proceses model. It all works fine in development. The serial numbers are generated and the UUT filename is titled [023232232].txt and changes per unit. The path for example lets say is C:\Users\Ryan\Desktop\temp.  A logfile is generated for each and put in that folder.
    When I deploy, it does something different. Instead of putting the files into the temp folder, it errors out saying it is in use. If I delete the temp folder, it creates a file called "temp" which contains my text logfile. This file just keeps getting overwritten.
    Any ideas on this?

    Hi SimpleJack,
    One way you can ensure that the Report Options you want to have stay with your sequence file is to actually override them using a Sequence File Callback.  I have attached a link to a KnowledgeBase article that walks you through how to add the ReportOptions callback to your sequence and programmatically set the options that you would normally set by going to Configure»Report Options from the Sequence Editor.  
    Also, to ensure that the correct Process Model is being used with your sequence file after distributing, you can set the Process Model within the Sequence File Properties.  This can be found by going to Edit»Sequence File Properties, and then going to the Advanced tab.  I have attached a screenshot of this window below, as well.  From here, you can set the Model Option to Require Specific Model, which especially comes in handy if you are using your own custom Process Models.
    I hope this helps, SimpleJack!  Have a great day!
    How Can I Programmatically Enable or Disable Database Logging or Report Generation?
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Problem writing to excel file using report generation toolkit

    hello everyone, i have this report generation toolkit... and i want to output DAQmx Analog I/P data on to an excel sheet. the DAQmx is programmed to collect 
    data at 3samples/sec. however, when i see the excel file that Report Generation Toolkit generates, the time stamp is updated every second instead of every 0.33sec. 
    can anyone please help me?  i am using the MS Office Report Express VI. 
    Now on LabVIEW 10.0 on Win7

    @All, I got rid of the express VI, decided to work on the custom low level VIs instead. however, i have a new problem now... 
    I have a case statement wherein, the user selects if he wants to start generating a report. once the program enters tat loop, the program speed reduces! 
    can anyone please tell me why is it happening? i ahve attached the vi... also another question.. in this VI, i am capturing the unwanted data into the graph as I am indexin the graph input. how can i make a logic 
    that the graph captures the data only when I am switching the CREATE REPORT button (which is in the while loop). is there a way that I can append the data to the graph without creating a new graph every iteration? please let me know
    thanks
    Now on LabVIEW 10.0 on Win7
    Attachments:
    Untitled 7.vi ‏75 KB
    Untitled 7.JPG ‏99 KB

  • Report Generation Toolkit, Print Excel Report, LabVIEW Crash

    Hello,
    when printing a report generated with the report generation toolkit for excel my build application crashes on our customers PC.
    When I run this application on my PC it works fine.
    The problem is the active X invoke node that trys to print the report but i cant get any error messages to find out where to locate the problem.
    Maybe that there is a problem with the active X node or the Excel Version on the customers PC?
    I use LabVIEW 2010 and Excel 2007 the customer has Excel 2003 SP 3.
    I changed the report to generate it in Word where the Print_Report.vi fine on both PCs. But in Word Report there is called another active X invoke node to print the Report. So it seems for me that there really is a problem with the Print in Excel active X invoke node.
    Mybe someon can help me in finding out whats the problem.
    Greetings Daniel.
    Solved!
    Go to Solution.

    Hi Daniel,
    your behavior has been reported by others. For example:
    Application Build Failure on Excel.Print Report call
    http://forums.ni.com/t5/LabVIEW/Application-Build-Failure-on-Excel-Print-Report-call/m-p/1563242
    Problem posted: 05-17-2011 02:19 PM
    Workaround posted: 06-01-2011 and later
    So their workaround was to use Excel 2007 or 2010 instead of 2003. Is this working for your customer?
    Best Regards,
    Jan

  • Report Generation Toolkit Print HTML Problem

    Hi,
    i have a problem printing a html Page at a Costumers PC with the Report Generation Toolkit.
    I use LV 2012 and the Report Generation Toolkit in 32Bit Mode.
    The Target is a Win7 64Bit Machine with IE10 of our Customer with very strong security rules.
    Our Programm generates a HTML Repor which is saved without any problem.
    When i then try to print it with Print Report.vi it doesent work and i get error1 out of the SubVi NI_ReportGenerationCore.lvlibrint HTML Report using IE.vi.
    This Sub.vi simply cant open the HTML Page with the IE.
    I think its the costumers Security Rules that cause the Problem.
    I saw a very strange behavior of the IE.
    When i double click the .html file the IE gets opened and displays the file properly.
    When i then hit the reload button it also gets reloaded.
    When i click in the browsers adress bar and hit enter (Which normaly does a reload) i get an error "Adress Bar, Adresse, access denied".
    And i think that happens in the Sub.vi.
    I talked to some friends an they sad it could be that double clicking and reloding is done with the local user an the clicking and hitting enter reload is maybe the systemuser.
    So i asume that the Sub.vi is also using the systemuser.
    How can i determin which user is used to execute a vi?
    Can i influence the user?
    Has anybody a solution and seen this problem?
    Regards,
    westgate

    If I understand your situation correctly, you are able to use the LabVIEW Report Generation Toolkit to create an HTML report, which you save as an HTML file.  Can you open it in a browser and print it using the browser's Print button?  I've use LabVIEW to generate HTML reports, but have never tried to print the Reports in LabVIEW -- I've always used the "browser route", myself.

  • Report generation vi's-save report to file.vi

    I am a new user of LabVIEW. I'm using the Report Generation Toolkit VI's to do some customized reports.
    1. how can I stop the report from popping up on the front panel when I initialize the report to be done. I know you can use "minimized" but that takes a few seconds to minimize and I would like to NOT see the report I'm generating pop-up at all.
    2. I want use this customized report and constantly be saving data when a reset button is pushed. That is save the time stamp, the change in data etc on a continuous basis in 1 folder. Right now when I use the "Save Report to File. Vi" it over writes the previous data saved and all that data is lost. I need to be constantly saving all the data generated to be able to look back at it.
    Thanks.

    Hi shaef,
    Which version of LV and Report Generation Toolkit are you using?
    Assuming you are using LV 8.5 and RGT 1.1.2, then the attached screenshot should offer some help.  Basically, you need to wire in the existing file as your template in order to not just overwrite the old data.  You also need to make use of the series of 'Append' VIs that are in the toolkit.
    Let us know if this works for you,
    David_B
    Applications Engineer
    National Instruments
    Attachments:
    2008-03-23_165242.png ‏5 KB

  • Exe created with Report Generation toolkit does not work for all users

    I created a exicutable with the report generation toolkit and it only works with some of my users. I use microsoft 2007 and anyone that has microsoft 2007 my exe works well. Most of my users that have microsoft 2010 are able to use my program as well. However, there is one user with 2010 and Windows 2007 that cant get my program to work.
    Any suggestions for troubleshooting this?
    Thanks

    The most likely issue is due to the fact that Microsoft changes the ActiveX object model of Office for each version of Office. The Report Generation Toolkit does a pretty good job of handling this, but it is not 100% effective. Search, for example on the "Set Cell Border" function and you will see what I mean. In these cases it's up to you to handle this issue. How you handle it really depends on your situation. For us to provide a more concrete answer you will need to provide further details, such as what toolkit function is "not working" (whatever that means), and who you "users" are. Is this an internal distribution? Are you selling this program? Is this code written for a project with a specific customer?

  • Dynamic  report generation

    We are migrating our client reports from crystal reports to business object reports and I need your help on how to achieve the below functionality in Business object reports.
    Requirements
    1. We need to generate and deliver around 30,000 statements to clients (mostly ftp and email) from 300 Webi report templates.
    2. This has to be a complete automated process with no user intervention.
    For example: Using Webi / Deski Report1, we need to run the report for each client account and then generate a statement and deliver it to client (only client specific data). Web1 reports are complex and some might take 30 to 60mins for generation.
    Questions
    1) Can it be done by just using BO tools with out coding ( using any .net sdk)?
    2) Can a single BO server handle the load, If not How to load balance reports generation and delivery across multiple servers?
    3) How to dynamically pass parameters to Webi report without coding?
    Thanks for reading my post. Any help/ suggestion is appreciated.

    In our current architecture, 
    1) We use crystal report templates and pass dynamic datasets at runtime to generate multiple client statements.
    2) For load balancing, we have 6 app servers with crystal runtime installed and we distribute load across the servers using custom code.
    My question is if use BO enterprise will there be any performance enhancements?

  • Does the Report Generation Toolkit need Office?

    Quick question: Does the Report Generation Toolkit (V1.1.3 for LV 8.6) need Microsoft Office installed in order to create Word documents?
    I have a need to create reports, preferably in Word format, but the target machine may only have the Word reader installed, not Office.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)
    Solved!
    Go to Solution.

    Yes, you need office.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • National Instruments releases LabVIEW Report Generation Toolkit for Microsoft Office.

    The new LabVIEW Report Generation Toolkit for Microsoft Office is a library of flexible, easy-to-use tools for programmatically creating and editing Microsoft Word and Excel reports from LabVIEW. Whether you need to generate reports summarizing manufacturing test results or compile process statistics to improve your production yields, this toolkit speeds your development of customized, professional reports.
    To see examples of this toolkit or get more information please visit :
    http://www.ni.com/labview/report_gen_toolkit.htm

    It is a bit limiting though. I built my own set of VI's, a toolkit if you will, that does some of what this tookit does. But, I also wrote some functionality that isn't available in NI's kit, such as creating charts as separate worksheets and linking the charts to data on another worksheet. All in all, the toolkit is great, but you can't get as much out of it as you can using the ActiveX calls yourself.

Maybe you are looking for