TestStandModelReportOptions.ini in teststand 2012?

Hi,
I've just upgraded from Teststand 2010 to 2012.  We've always had our teststand configuration directory pointing to a directory under our source control tree.  In this directory, teststand used to store changes to the report configuration to a file called TestStandModelReportOptions.ini.  This does not appear to be the case any longer with 2012.  What file is it storing the report configuration to?  Is there a way to force it to the old behavior (storing in configuration directory defined in Configure/Station Options/Preferences/Configuration Directory)?
Thanks
David J.
Solved!
Go to Solution.

The report configuration(s) (and database, and any other result processor configurations) are now stored in <teststand configuration directory>\ModelPlugins\ResultProcessing.cfg.
Thus, it is still under the configuration directory location you specify, just in a subfolder.

Similar Messages

  • Reporting mechanism on HTML report file, using TestStand 2012 SP1

    Hi,
    I am using TestStand 2012 SP1, where the reporting mechanism is configured to be in HTML format.
    I am not getting the full report of the sequence file which is executed, however I get a part of it printed on the HTML file.
    The following are the configured "Report options",
    ===========
    Contents Tab:
    ===========
    Report Format : HTML Document
    Default Numeric Format : %$.13f
    Include Step Result: Checked
                  Result Filtering Expression : Result.Status=="Failed"
                  Include Test Limits : Checked
                  Include Measurements : Checked
                  Include Arrays : Insert Table
                  Filter : Include All
    Include Execution Times : Checked
    On-The-Fly Rporting and Only Display Latest Results : Checked
    Select a Report Generator for producing the Report Body : DLL
    ===========
    Report File Pathname Tab:
    ===========
    Generate Report File Path : Checked
           File Name/Directory Options : Specify Report File Path by Expression
           Report File Path (Sequential Model) :
                            StationGlobals.TopLevelReportPath
                            +RunState.ProcessModelClient.AsPropertyObjectFile.​DisplayName+"Report_[<FileDate>]<Unique>.<FileExte​nsion>"
    Please let me know a solution to this problem.
    Thanks,
    Dharani

    Jason,
    Thankyou for replying.
    Yes, I need only the steps which had failed to print on the report file.
    The problem what I am facing is, if there are 10 failed steps, the report is not printed for all.
    Also the order of printing is not correct for the first step and the last step which is printed on the report file.
    I had used "Post Expression" for printing data for all the failed steps. Normally these post expressions should be printed beneath the step in the report file.
    However,
    1) For the first step which is printed on the html file, the post expression gets printed just above the step and also it gets printed beneath the step.
    2) For the last step which is printed on the html file, the post expression is not printed beneath the step.
    Please let me know if i need to provide some more information.
    Thanks,
    Dharani

  • How do I add a logo in the header of a TestStand 2012 HTML report?

    I've been trying to add a company logo to the header of a HTML report on TestStand 2012 without success. I've followed the help topic below however this seems to be for TestStand 3.1 and does not work on 2012. 
    http://digital.ni.com/public.nsf/allkb/3FD69C34EEF13E3786257448006A5F43
    I'm able to add pictures to the XML and ATML reports however I want to stick with HTML and everything I try does not seem to work!
    Any help would be hugely appreciated. 
    Many Thanks
    Sam Beutelspacher

    In TestStand 2012, the ReportHeader string no longer contains a <body> tag, so you can directly append the extra HTML to the parameter without needing to do a search and replace.  The following expression worked in my case:
    Parameters.ReportHeader = "\R\N<IMG src=\"C:\\NI.JPG\" ALT=\"NATIONAL INSTRUMENTS\">" + Parameters.ReportHeader
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Change the HTML Report format the same as TestStand 2010 SP1 in TestStand 2012

    I have a lot of test steps (~10K)  that gets executed and the indentations on HTML report format in TestStand 2012 gets too deep.  I have to slide the horizontal bar to the right to see the report when l'm in the middle.  I did not have this issue in TestStand 2010 SP1.  
    Is ther a way to change the HTML Report format (style) the same as TestStand 2010 SP1 in TestStand 2012? 

    dexrays:
    We are currently investigating this issue. In order to help us with the investigation could you post a sequence file and configuration that reproduce the problem? The configuration file is located in C:\ProgramData\National Instruments\TestStand 2012\Cfg\ModelPlugins\ResultProcessing.cfg for Windows Vista / Windows 7 or you can use the Cfg link in the TestStand 2012 installation directory. 
    You can use the Legacy Model Switcher (included in TestStand 2012) to use the legacy models instead of the new models. The legacy models are more backward compatible, however, this also means that you will not be able to use the improvements in the new models (for example, the new plug-in architecture). If this is acceptable then you can use the legacy model switcher to switch to the legacy models. The Legacy Model Switcher is located in the Start Menu under Programs->National Instruments->TestStand 2012->Tools->Compatibility. For more information on Legacy Model Switcher please read the online help.
    Thanks for your report and for your help with diagnosing this issue. 
    - Francisco

  • TestStand 2012 Custom Report Path/Name

    Does anybody know how to get a TestStand 2012 report placed in a custom location with a custom name, both of which are determined using information obtained in MainSequence? I had a method of accomplishing this in TestStand 2010, but it does not work in 2012.
    Overriding parameters in the ReportOptions callback does not work because MainSequence has not been called yet, and moving the report file in ProcessCleanup doesn't work because the report apparently has not been closed by TestStand yet, so there's nothing that can be moved
    Thanks!

    Btw, the report file not being closed during Process Cleanup is probably due to New Thread option being set for your report in the Result Processing Dialog Box (click Show More Options to see it). You can turn this option off it you want.

  • Getting Report File Path location at execution in TestStand 2012 and later

    I need to include PNG pictures into my TestStand Report (HTML, XML, ATML).
    When report generation was made through plugins (before TestStand 2012), it was easy to get report file location during execution through variable RunState.Root.Locals.ReportFilePath in order to save PNG files near the report file (in same directory).
    I didn't find yet an easy an simple way to do the same in TestStand 2012 with Result Processing Plugins.
    Any idea ?
    Remarks :
    Since this functionnality has to be included within MESULOG TS+ last version which is a TestStand Add-on, I cannot modify Report Options, Process Model or include a callback (like GetReportFilePath.
    In need ReportFilePath within a Custom Step Type which cannot wait for PostUUT or ReportGeneration to save its PNG files.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

    jiggawax,
    Thank you for you quick answer.
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.Directory is valid only if  
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[<plugin index>].PluginSpecific.Options.DirectoryType is set to "SpecificDirectory".
    It seems that I cannot get the complete ReportFilePath before "UUT Done" plugin entry which is after MainSequence execution.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • Report directory property in teststand 2012

    Hi,
    I'm trying to programmatically access the report file directory in teststand 2012, the location of which changed vs. 2010.  I found one at:
    RunState.Root.Locals.ModelPluginConfiguration.Plug​ins[0].PluginSpecific.Options.Directory
    But the "[0]" tells me it's 0 probably because the report is the first item in the result processing list, and if that ever changed, my code would break. Is there another location besides the above that holds the report directory?
    Thanks
    David J.

    The problem about using [0] is that you are also under the assumption that someone has NOT reordered the list of plugins in the Result Processor list.   To fix that you could check for the name of the Plugin instead of the index.
    To do this you could utilize the ModelPluginConfiguration callback.
    Foreach { Parameters.ModelPluginConfiguration.Plugins }
     if { Locals.Plugin.Base.DisplayNameExpression == "\"Report\"" }
           Then obtain the ReportFilePath
    Now, if someone decides to delete the Report plugin, then that is another story.
    Is there someway to prevent someone from DELETING a Plugin from the Results Processor window?  I imagine privileges probably wouldn't allow a technician or operator to do this, but an admin probably still could.    When it is deleted, it does not appear in the Configuration List, I would assume.
    Thanks,
    PH

  • Teststand 2012 plugin architecture

    Hi all,
    Any tutorials on teststand 2012 plugin architecture. I searched on net but could find only few white papers and video tutorial which gives you an overview.
    Thanks

    You have three options:
    A. Make your plug-in a result processor, even if it doesn't process results. This allows it to be inserted and configured in the Result Processing Dialog Box.
    B. Make your plug-in an Addon. See http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/pmpconfiguring/,  Model Plug-in Add-ons and Addons.cfg section.
    C. Create your own configuration file:
    For option (C), you can create additional model plug-in configuration files in the following ways:
    1. Call the DisplayModelPluginDialogEx function from ModelSupport2.dll as defined in ResultProcessing.h to display a dialog that creates and edits a configuration file.
    Note that this dialog will be programmatically customizable in a future version of TestStand. Also, the complete source code is already provided.
    2. Copy an existing configuration file to a new file name. Open the new file in a text editor. Replace any occurrence of the previous file name with the new file name. Thus, you could use the Result Processing Dialog Box to create a ResultProcessing.cfg file with your plug-in in it and then copy the file before removing your plug-in from the dialog.
    3. Create a configuration file programmatically using the TestStand API. You create a Model Plug-in configuration file with an instance of the PropertyObjectFile class with a file type of FileType_PropertyObjectFile. The PropertyObjectFile.Data property of the file must be of type NI_ModelPluginConfigurationSet. Currently there is no example of this, but the source code in ResultProcessing.c performs similar actions.

  • TestStand 2012 Report File Location variable

    Hi,
    In TestStand 2010 SP1, I have the "report file path" as one of the column into the database using the RunState.Report.Location.  This has been working until I upgraded to TestStand 2012.  The RunState.Report.Location is always empty.  I also tried to use the RunState.Root.Locals.ReportFilePath but I get an error that this is an unknow variable when logging to the database.  Even when removing the <UUTStatus> from the file path expression below, there is no difference.  
    I am using the following report file path expression:
    "C:\\TSReports\\<UUTStatus>\\<ClientFileName>_Report[<FileDate>][<FileTime>][UUT]_<UUTStatus>.<FileExtension>"
    Which variable contains the report file path in TestStand 2012.  
    Solved!
    Go to Solution.

    I haven't tried it, but RunState.Report.Location might work if you set the New Thread option on the Report and Database to False (assuming the report is first in the list) so you can be sure that the Report has been generated before you check that value.
    You have to set the Configure>>Result Processing>>Show More Options to see the New Thread options.
    This should give you access to the path of the Displayed report (the one with the checkmark in the Display column). However, in TS 2012, you can have any number of reports.
    There is a new callback, GetReportFilePath, you can add to your sequences to obtain the report paths as they are determined. You could store the paths in a station global or runtime variable for later use if needed.

  • ModifyRepo​rtHeader from ProcessMod​el in Teststand 2012

    I need to add information to the report header.  I want to do this from the process model because all UUTs will need to put this information in the report and I don't want each client sequence file to use the modifyreportheader callback.  I had this working in 2010 by simply putting my custom report stuff in the sequence inside sequentialModel.seq.  Since report processing doesn't work the same due to the new features in 2012, I'm having trouble finding a solution. 
    I understand that I could go to NI_ReportGenerator.seq and add my code there.  However, for source control reasons I don't want any customized code to reside under C:\program files.  The "Call Model Plugin - UUT Done" step which contains the actual report gen steps seems to be hard coded to use C:\Program Files (x86)\National Instruments\TestStand 2012\Components\Models\ModelPlugins\NI_ReportGener​ator.seq. 
    I see two solutions, but haven't been successful implementing either.
    1.  Somehow change the parameter in ModelSupport.seq->"Call Model Plugin - UUT Done" to a custom path for the ReportGenerator.seq.
    or
    2. Force Teststand to use the "ModifyReportHeader" sequence that is in SequentialModel.seq instead of using the one in NI_ReportGenerator.seq
    Thanks,
    Kevin

    Yes.  I have my custom sequentialmodel.seq located in my source control local repository on disk.
    After running into this problem, I copied the entire C:\Program Files (x86)\National Instruments\TestStand 2012\Components\Models directory to my local repository.  Teststand now executes ModelSupport.seq from my copy, but when it gets to the step shown below it still points to the Program Files.
    The image below was captured after deleting the ResultsProcessing.cfg file and restarting Teststand.  Which I didn't try until you suggested it.

  • Background color of TestStand 2012 User Interface Reverts Back to Default After Changing

    I changed the background color and other properties of the Execution and Sequence TestStand Controls in the TestStand 2012 User Interface example code. When I execute the Top Level.vi the TestStand User Controls revert back to their default colors/properties. I saw this problem in the list of TestStand 2010 known issues, is it also a known problem in 2012?

    Hey kelsayd,
    I just tried changing the color of the user interface controls in my user interface (from TestStand 2012) and saw the same behavior. I believe this is because the controls are ActiveX controls and do not permit the same level of customization as LabVIEW controls. I did find this KnowledgeBase article, which mentions the issue and gives one possible solution to the issue: http://digital.ni.com/public.nsf/allkb/4E40FA5AEAF3937B86256E89007C74C4?OpenDocument
    Hopefully that will help show how you can set this up, and let us know if you have any further questions about it!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Error in installing TestStand 2012

    Hi,
    I am seeing strange error while installing TS 2012. The attached files shows the error. My system has P4 processor with 2 GB memory and Win XP is the OS. Please help me in installing TS 2012.
    Thanks
    Attachments:
    1.JPG ‏13 KB
    2.JPG ‏22 KB
    setup.ini ‏33 KB

    Hi,
    Installer Error 1106 are caused by misconfigured system files within the OS if I am not wrong. You could try this:
    http://www.almuseo.com/1106-error.php
    Before that, also try the alternate setup.ini file provided. Replace your setup.ini with this and try the installation.
    Attachments:
    setup.ini ‏33 KB

  • Type casting in TestStand 2012

    Hello,
    I really do not understand why my TestStand 4.2.1 sequences are not working in 2012. Here is a simple example.
    SequenceCall: GetTime
    Sequence: GetTime
    Everything worked perfect till I installed new Version of TesStand.
    Now in GetTime Sequence writing aTestDuration gives error because it says aTestDuration is not of type UInt64, so I used Typecase i.e.
    in TestStand2012 I use:
    But no use because result is always 0.
    I have already tried formatting aTestDuration as %ui64 etc. etc. Nothing helps.
    After giving up, I tried using object with Number as attribute. It works but:
    - How will I convert this object to UInt64?
    - Secondly, I do not want to use object because then I have to change 1000s of sequence calls in my source code and then let the program run which is weeks long unnecessary task for me.
    I am sure that am missing something. I hope you people can help.
    Regards
    Ricky

    The .NET adapter in TestStand 4.2.1 was storing the UInt64 in a double precision floating point number. This was somewhat of a bug in that numbers at the higher end of the values a UInt64 stores cannot be accurrately represented in a double precision floating point number. Thus, in order to avoid unintended loss of precision with 64-bit integer values, we now no longer allow you to directly store a 64-bit integer in a double precision floating point number. Perhaps in your use case you will never use the higher values of the 64-bit integer, but if you had, you would have run into problems when storing such values in a double precision floating point number.
    (NOTE: The .NET adapter was the only adapter in 4.2.1 doing this, no other adapters supported 64-bit integers at all until we added the 64-bit integer types in TestStand 2010)
    Hope this helps explain things. Let me know if this explanation is unclear or if you have additional questions related to this.
    -Doug

  • Teststand 2012 temp file

    Hello
     In teststand 2010,  I am able to re-directed temp file to a different location by issue this expresion in the PostUUTLoop Calback:
    ThisContext.Report.TempFileDirectory= "C:\\tmp"
    It does not work with Teststand2012 when I set a similar expression to the PostUUTLoop callback:
    Runstate.Report.TempFileDirectory= "C:\\temp"
    Please help , it is very anoying to have report "temp" file littering all the test data record folder every where when using the viewer.
    Tphan

    Hi Tphan,
    By default, TestStand typically creates temporary files within the TestStand directory. If you are using the HTML report, there will be one TempReport.html file that is created, as detailed in the KnowledgeBase article included below. Is this the file that you are trying to move? How does your sequence react now? Does it seem to ignore the command, or is there some sort of error?
    When Does TestStand Create Temporary Files: http://digital.ni.com/public.nsf/allkb/D327A5B3227E8F40862568470008409F?OpenDocument
    Regards,
    Jason D
    Applications Engineer
    National Instruments

  • How to build a TestStand 2012 workspace ( insert a project / insert a folder) programmat​ically using LabVIEW 2012 and the TestStand API.

    Hi everybody!
    I am just trying to find out how to create a TestStand workspace … in LabVIEW using the TestStand API.
    To create a new workspace was quite easy. Unfortunately I am not successful to insert a new or existing project to the workspace.
    Furthermore I have to insert a folder from disk to the new or existing project in the way that I can use an absolute path for the directory …  
    Maybe someone had already solved this problem, in any case  I am thankful for any hint.
    Greetings from Germany,
    Norbert

    Have you find out how to add a folder to a project? I'm looking for this to... I tried WorkspaceObject.NewFolder[Name]whitout success...
    For creating Workspace and project see the newer resolved thread I created.
    Martin

Maybe you are looking for