Teststand Report generation doc

Hi Guys,
I'm looking into TestStand reports right now, but I have to admit that I'm a little bit lost...
I would like to get an easy "manual" on how to edit the reports so I can get my own formating in the report...
For example, I would like to present my test results like this
Description of test (name)    ||    Low limit    ||   Measurement    ||     High Limit     ||    Pass/Fail.
This would be the case for every test step.
Also , I would like to have a customized header with a logo, and some additional Information like operator name, SN, etc
A solution I was thinking about was to send all my data back in LabVIEW and generate the report from there, which is quite easy... I found a way to get back part of my data, but unfortunately, the NumericLimitTest steps don' return the Result... (the function I used is on this page http://forums.ni.com/ni/board/message?board.id=330&message.id=1311&requireLogin=False) >> TestStand-Labview-Resultlist.vi is the one I used.
Could you help me on this?
Thanks a lot
Matthieu

Hi Matthieu,
Here is a Developer Zone article that should help get your starting with understanding how report generation works: Report Generation Explained .
See the following knowledge base article for information about logging data of a step: How do I Modify a Step Type to Log Data into a Report?
If you are using an HTML report, please see the following knowledge base article for information about how to customize your header information: Modifying HTML Report Headers to Include Custom Information in TestStand .
This should get you started with reporting in TestStand.  I think that you will find that TestStand is better suited for reporting as you become more familiar with it.
Jessica
National Instruments
Product Support Engineer

Similar Messages

  • Report generation failed----​error code:-1720​5; Access Denied.

    Hi, All
        i have a trouble about report generation.it seems the error happened at the "write UUT report"--this step is teststand report generation'DLL.
        detail:
        An error occurred calling 'Save' in 'Report' of 'NI TestStand 2010 SP1 API'
    Access Denied.. Error writing to file 'D:\program\seq\xxx.xml'.
    The file might be open in another application. If file access is intermittently denied, you should try disabling the Microsoft FindFast utility. 
        error code:-17205; Access Denied.
        locationtep 'Write UUT Report' of sequence 'Single Pass' in 'SequentialModel.Seq'
        How to fix it?
        Thanks a lot.
    BR

    Hm, it looks like the file might be open in another application. If you see that file accesss is intermittently denied, you should try disabling the Microsoft FindFast utility.
    CTA, CLA, MTFBWY

  • Report generation delay

    Hi,
    I had a problem with teststand report generation at the end of the test. The report generation is taking too long, while it is appending the report.
    My report is in ascii text format and will attach the report to the pre-existing file. The typical test has about 100 steps, and the test exists the sequence when a step fails.
    I had tried before the on-the-fly report option, but I had some other problems with it.
    I think two main reasons for the delay is: Filtering for Failed steps and appending to the big file.
    But I don't how to solve this. Does any body has any ideas without using on-the-fly method.
    Thanks in Advance

    Hi,
    what kind of resultfiltering are you doing? There can be a huge potential of improvement; this is because you can "filter" the results of each step during runtime of the sequence and discard every result which does not pass this filter. The default filterfunction of the reportgeneration takes place during reportgeneration, so after all results already have been collected. This can be inefficient, exp. with large resultlists.
    The function used for "runtime-filtering" woulod be an override od the "PostResultListEntry"-Callback.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • 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

  • XML Report Generation in TestStand 4.1.1

    I'm a fairly new user with TestStand, though I've been working with Labview for a few years now.  I've written a test sequence that will be replacing a previous implementation that was done in VisualBasic.
    The problem I'm running into now, though, is in the test reporting.  I want to use the XML format for the reports, but I cannot seem to figure out how to customize what data is printed.  I want to print the failures, and then there are some global variables that I would like to see printed in the header.  I've seen the XML tutorial for TestStand 4.2, but that doesn't work for 4.1.  Is there anything similar for 4.1?  
    Can anyone provide any resources for how to go about customizing the XML stylesheet for the report generation in 4.1?
    Thanks!

    Hey ADahl,
    NI doesn't really support customizing style sheets.  There is a great tutorial here: http://www.w3schools.com/xsl/default.asp
    It's really not that hard to figure out what to change once you get digging through the style sheets.  I found this site helpful when I customized mine: http://zone.ni.com/reference/en-XX/help/370052H-01​/tssuppref/infotopics/report_stylesheets_details/
     It lays out the sections so you can read the stylesheet better. 
    Failures should automatically be included in the report if that step is set to include results.  Here is a doc on including other data in a report: http://zone.ni.com/devzone/cda/tut/p/id/8289  You should get your globals into the report by using one of the methods in there.
    Honestly though when it comes to customizing the style sheet... there are a million and 1 ways to go about it.  What I did was comb through the xsl file until I found the header information.  Then I just added my own stuff in there and kind of copied off the format they had for the other stuff.  Now it's looking great.  I had to tweak some things here and there to get it exactly right.
    Let me know if you have any other questions,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • LabVIEW VI with Report Generation Toolkit elements in a TestStand sequence does not run with a LabVIEW 8.5 Run-Time Engine

    Hi all,
    I am using LabVIEW 8.5.1 and TestStand 4.1. I have done a TestStand sequence with a VI in it, which uses Report Generation Toolkit elements. On my machine I am using LabVIEW and TestStand with a Development System license. On the other machine I am using TestStand with a Base Deployment license and I have chosen the LabVIEW 8.5 Run-Time Engine in the Adapter Configuration. Everything is running well except of this VI with Report Generation Toolkit elements. The error message is showing that the VI is not executable. It works well only after I have installed LabVIEW with an Evaluation license and chosen LabVIEW 8.5 Development System in the Adapter Configuration.
    I have found other posts and a document in the KnowledgeBase with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9B​D7B1986256F62006AD402?OpenDocument But I am not using EXE files in my sequence, so I don't know how to solve mine. Anybody has an idea?
    Solved!
    Go to Solution.

    Hello guys,
    thank you very much for your answers!
    @Ruediger:
    I tried to follow the instruction for Method 2 in the mentioned document: http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F​3B25B862570AD005D1D3D?OpenDocument, but the steps on my machine are different starting from step 4. After I click "Continue..." in step 3, I dont get a window, the system just makes a new folder with the same VI. 
    To be honest, I am new to LabVIEW and have some difficulties at this time. What I understood from your reply is, that I need to make a LLB-File, where the files from Report Generation Toolkit are in!?
    @GovBob:
    I was following the instruction in the document: http://digital.ni.com/public.nsf/allkb/9E00E7EFE06​35E678625734600779EFE, but it wasnt working. Can you please tell me how I can check if the VI Server is installed and running on the machine?
    I am using LabVIEW 8.5.1 and TestStand 4.1 on my machine, on the deploy machine there is TestStand 4.1.1. The version of my Report Generation Toolkit is 1.1.2.
    Kind regards, Roman

  • Problem with Report Generation in TestStand 3.0

    While using On-the-Fly Test Report Generation capabilities in TestStand 3.0, the PC become very sluggish and occasionally there are error messages containing an error code of -17000 and the statment, "Out of Memory". The error dialog usually appears while attempting to run the "reportgen_html.seq" file. Do you have any suggestions as to how we may correct this problem?

    Hi
    The test which you trying to run could potentially be leaking memory. I would suggest that you do the following.
    1. Run the tests without report generation and result collection. Monitor the memory usage of your test using either taskinfo2000 or PerfMon and monitor your application.
    To turn off result collection go the configure-> station options-> general tab -> Check disable result recording for all Sequences.
    To turn off report generation -> configure-> report options-> and check disable report generation
    If you tests still give a out of memory error then potentially the tests are leaking memory. Also if you see an increase in memory usage when running your tests then you could potentially be leaking memory in the tests
    If your application
    does not give errors then I would turn on result collection and keep report generation disabled and check if you get errors.
    If you get memory errors then you just might need more RAM to store all the results.
    If you still do not get any errors then I would turn on report generation and result collection and set the report to txt. If you still do not get any errors.
    If you get errors then you might just need more memory to generate the report and display it.
    I hope this help
    Regards

  • 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

  • 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 toolkit does not work

    Hello,
    The report generation toolkit does not work.
    It seems to point to the 'Generate Report Data Members.ctl'.
    I suppose it has something to do with the wrong set of active X-controls ?
    I work with Win 2000 and Office XP
    How can i solve this problem ?
    Thanks in advance !
    Regards
    Christine

    Hello Julien,
    Sorry for the late answer
    I become a broken arrow, when openening the example Sample Report (Excel).vi
    Searching further for the cause of the error it brings me to the sub vi tables.
    Print screens in attachment
    Regards
    Christine
    Attachments:
    error Ni Reports.doc ‏67 KB

  • Report Generation Performance

    Hi!
    I am currently implementing a report generation module because I have to add some features (for example: 'Additional results'). Especially I want it to be fast(!). Apart from my new implementation which is done in LabVIEW I have an implementation in C++ (cosed source) and an implementation in VB.NET (self written). All three implementation produce the same output format (one text line per measurement)
    For 500 steps to process (no deep nesting) the report body generation duration takes:
    Implementation A (c++ DLL; closed source): 240ms
    Implementation B (VB.NET; rekursive result tree traversal): 260ms
    Implementation C (LabVIEW; rekursive result tree traversal): 460ms
    Using the LV profiler it seems to me that the Teststand API is the bottleneck - the more TS property nodes I execute per step the longer the duration.
    My questions (to CTAs :-)
    - Can I speed up the report generation by using parallel loops to process the TS Property nodes; or does the TS API not support parallel (read) requests? (like a web server does)
    - Can the recursive (reentrant VIs) approach be the reason why the performance is not so good (for performance better to process the result tree in iterative manner)? Remark: no deep nesting!
    Versions used: TS2010 & LV2010
    Remark: I know that TS2012 has implemented async report generation possibility!
    w.

    Are you using the LabVIEW runtime or the development environment when running your VIs?
    -Doug

  • 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

  • Report Generation Toolkit doesn't work after patches A thru I.

    For LV7 Express, RGT demo doesn't run any of its operations, Word, Excel,... See attach for cause. Can anyone tell me how to fix this?
    Attachments:
    RGDemo1.doc ‏36 KB

    Hi,
    When you get this error, it's normally because the version of the Report Generation Toolkit VIs in your VI that you are trying to open is different from the one on your PC. Normally you can just right click on the bad VIs on the block diagram and choose "Relink To SubVI".
    There's a KnowledgeBase that describes another issue when using different versions of Microsoft Office.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • Will loading V2011 break Report Generation in V2010?

    My report generation toolkit seems to have stopped working almost entirely.
    In V2010, the example "Generate Report From Template(Word).vi" will go as far as loading the Word file. After that it reports the error:
    (Error 1 occurred at NI_ReportGenerationToolkit.lvlib:ex_RGT_Append Anything To Report.vi -> NI_ReportGenerationToolkit.lvlib:subMS Office Report Block.vi -> Generate Report From Template (Word).vi:MS Office Report.vi-> Generate Report From Template (Word).vi   while processing the chart input.)
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    My application which was working a week ago is providing the same error message.
    From scratch I tried making a small word template file and a vi to work with the template which also provided the same error
    I loaded the same example into V2011 and with some modifications indicated by error messages, I ran the program and it will not load the file and simply reports Error 7 that it cannot find the file.
    Has my loading V2011 broken the report generation toolkit?
    I have had to go back to using V2010 due to other reasons, so I need to have 2010 working.
    Shall I uninstall 2011 and 2010 and then reinstall 2010? (all day job I would like to avoid)
    Is it possible to uninstall and reinstall the toolkit to repair the problem? (I've tried once and I am not sure that uninstall worked as the messages resulting from an install from the NI disc reported no uninstall and no install)
    In the attached zip file is the example as well as the word.doc and .dot files from V2010.
    Thanks,
    Chris
    Attachments:
    Word Reports.zip ‏221 KB

    Hi Chris,
    I have tried running your VIs on my computer running 2011 and they work fine. Can I just confirm that the issue you are seeing is present in both LabVIEW 2010 and LabVIEW 2011?
    My first recommendation would be to try and repair the 2011 LabVIEW version. This can be done through the 'Programs and Features' within the control panel. The dialog box will be available when you select National Instruments within 'Programs and Features'.  Hopefully this will solve the problem.
    What version of the Report Generation Toolkit are you using?
    Let me know if the repair of LV2011 goes. If it doesn't fix the problem let me know and I will look into this further for you.
    Regards,
    Aaron. E
    Applications Engineer Team Lead
    National Instruments
    ni.com/support

Maybe you are looking for

  • Changed our ASA IP address and we're no longer able to Authenticate with RSA.

    Hi, We changed our ASA IP last night and since then we can no longer authenticate with RSA.  I know we had to modify the IAS policy on our DC to the new IP but I'm not sure where I would change that in RSA.  Any one have an idea? ASA 5510 (8.3) RSA (

  • I have a new iphone 4 but have a problem in that the network reads Sim not provisioned, please advise how to overcome this problem?

    My new iphone has been recognised by itunes, updated the software but unable to connect to a network, on checking "Network" the phone is searching but to no avail. In "About, Network, there is a statement reading SIM not provisioned". I have no idea

  • [WRT45G] Can't update firmware and other problems

    Nevermind. I'm buying a different brand since rather than getting any help, I get my post censored because I mentioned that I've had problems with other Linksys routers. Thanks for nothing Linksys.Message Edited by Samutz on 08-27-2006 09:13 AM

  • Issue in APD

    Hi guys , I have an issue in APD . I have created a new APD with a Query as source and an Application file as the data target . (In between , I have various filters , sorts, etc) After succesfully executing this APD , the log which appears does not s

  • Film Loop Moving?

    Hello, I have an image of a fish, and when you roll your mouse over it, it gets swapped with a film loop - showing 3 bubbles coming out of its mouth. However, when you roll over it, the film loop pushes the fish down for some reason. They all have th