TESTSTAND 2013 中的UUT report 参数路径

我在用TestStand做测试时,需要自己制作一个Excel报表,里面要用到UUT Report 中Execution Time 和UUT Result 两项的结果,这两项的参数路径分别是什么

在插件中,你会得到的执行时间和UUT的结果。然后你可以把那些到Excel使用LabVIEW或代码模块。
希望这会有所帮助,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • RunState.Caller.Locals.ReportOptions.Directory unknown in Teststand 2013

    Hello,
    I have a problem due to migration between TestStand 4.1.2 and TestStand 2013.
    In previous sequences I used the variables: RunState.Caller.Locals.ReportOptions.Directory, RunState.Caller.Locals.StartDate.Text, RunState.Caller.Locals.UUT.SerialNumber, RunState.Caller.Locals.ReportFilePath and others... without problem.
    Now in TestStand 2013, the variables cannot be evaluated , generates an Teststand error and thus I cannot personnalize my report name and directory.
    Hereafter the complete expression that cause problems:
    RunState.Caller.Locals.ReportOptions.Directory=FileGlobals.Report_Directory + "\\" + RunState.Caller.Locals.StartDate.Text + "\\" + RunState.Caller.Locals.UUT.SerialNumber ,
    RunState.Caller.Locals.ReportFilePath=FileGlobals.Report_Directory + "\\" + RunState.Caller.Locals.StartDate.Text + "\\" + RunState.Caller.Locals.UUT.SerialNumber + "\\" + "Report ["+ RunState.Caller.Locals.UUT.SerialNumber +"][" + Str(RunState.Caller.Locals.StartTime.Hours) +" "+ Str(RunState.Caller.Locals.StartTime.Minutes) +" "+ Str(RunState.Caller.Locals.StartTime.Seconds) + "]" + ".html",
    FileGlobals.UUT_Time = "[" + RunState.Caller.Locals.UUT.SerialNumber+"][" + Str(RunState.Caller.Locals.StartTime.Hours) +" "+ Str(RunState.Caller.Locals.StartTime.Minutes) +" "+ Str(RunState.Caller.Locals.StartTime.Seconds) + "]" , FileGlobals.fileDir=RunState.Caller.Locals.ReportOptions.Directory 
    Thanks for your help.

    If you using these expressions to set the report path and directory, then, do consider using TestStand expression to specify the report path in Report Options dialog. Its lot easier to use compared to setting values to subproperties of Runstate.Caller.Locals.ReportOptions variable.
    You can get more information in the following links
    http://zone.ni.com/reference/en-XX/help/370052K-01/tsref/infotopics/specifyreportfilepath_byexpressi...
    http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/reports_expressions/
    http://digital.ni.com/public.nsf/allkb/78E88742D0F8C3C5862576D4006B8E44
    Coming to your error, please provide more information regarding which sequence file and sequence did you modify.
    Also note that, in TestStand 2012, process models had major change to support plug-in architecture. Process models without the plug-in architecture (like the one used in TestStand 4.1.2) is installed in "<TestStand>\Components\Models\TestStandModels\TestStand 2010 Process Models (Legacy)" directory. If you want to migrate your process model changes, it might be valid to update the legacy process models instead of new models.
    You can see brief description of TestStand 2012 process model changes in http://zone.ni.com/reference/en-XX/help/370052K-01/tshelp/infotopics/2012whatsnew/#plugin
    - Shashidhar

  • Can I modify the name of UUT report

    Hi, I am a new one of TS! Can I modify the name of UUT report? Who can help me. Thanks in advance!
    Under Normal Circumstances, I finish the UUT test,TS generating the report like this"Report[4F492CAB04][13 29 06][2012-11-28].html".
    Can I modify something,When TS generating report will like this"Report[4F492CAB04][13 29][2012-11-28].html" without the seconds!
    Solved!
    Go to Solution.

    Ivrat, Thank you for your reply! This way can modify the name of UUT report certainly!
    But, it is difficult to me deal with deleting seconds when use functions(like SerachAndReplace) !
    In these days I also find another way to solve this problem and I think your way much better than mine! Can you show me more details about use functions to solve this problem!
    My way show as below:
    1.Find this file"SequentialModel.seq". The path is"C:\Program Files (x86)\National Instruments\TestStand 2010\Components\Models\TestStandModels" .
    If you are using TS2012,the path is"C:\Program Files (x86)\National Instruments\TestStand 2012\Components\Models\ModelPlugins\NI_ReportGenerator.seq"
    2.You can find "Determine Report File Path Expression"
    3.Use function Left(Time(),5)

  • TestStand 2013 ships with invalid SQL scripts

    Hi all,
    I tried to submit this through the official support channel, but ran into this roadblock. So, I'm reporting the issue here.
    =================================================
    I wanted to set up TestStand to log results to an SQL Server 2008 R2 database. I followed the instructions at http://zone.ni.com/reference/en-XX/help/370052M-01/tsfundamentals/infotopics/database_logging/
    I tried to run C:\Program Files\National Instruments\TestStand 2013\Components\Models\TestStandModels\Database\SQL Server Create Generic Recordset Result Tables.sql However, SQL Server reported that the script contains syntax errors.
    To fix the issue, I had to modify the script (replace "//" with "--", and replace "~" with ";") before running it.
    It looks like other scripts in this folder have syntax errors too. Please fix the SQL scripts shipped with TestStand.

    Hey JKSH,
    Thanks for reporting this--we've filed an internal report for one of our developers to examine the syntax of our SQL files.
    In the meantime, it sounds like you were able to work around the issue by changing the characters in the scripts, but have you run into any other problems using the scripts? I'd be happy to help out in any way I can. Just let us know if there's anything we can do to assist!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • I want to change serial number in the Batch report and in the special UUT report

    I use Batch Model, sequential mode.
    I want to change serial number in the Batch report and I want to change UUT serial number in each TestSocket report.
    I overrided ModifyReportHeader, I did
    Parameters.UUT.SerialNumber = "....."
    but the serial number changed only in the Batch Report, not in UUT Report. How can I change serial number in UUT Report too?

    Marta,
    There is actually a ModifyBatchReportHeader in addition to the ModifyReportHeader that you already used.  That would be the first thing to do.
    After that, I think I need a more detailed description of what you are trying to do (perhaps with screenshots) in order to be able to help effectively.
    Josh W. | National Instruments | Applications Engineering
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • DCOM problem Teststand 2013

    I receive attached error everytime i try to launch Teststand 2013 on a PC i recently installed. 
    My user is administrator and the operating system is Windows 7 Pro.
    I tried all the instructions at http://digital.ni.com/public.nsf/allkb/ABA98DF5D5A824DB862570AD007C55E7 but it still doesn't work.
    I never received such an error before for my many previous installations
    Please help me on that
    Attachments:
    Adsız.jpg ‏310 KB

    Hey hedehodo,
    As a first step, could you try running the TestStand Version Selector and setting TestStand 2013 to be the active version, even if the Version Selector already reports 2013 as active? This operation re-registers TestStand components with the operating system and can sometimes resolve these types of issues.
    I would also recommend restarting the machine--this can often reset the configuration to a working state.
    Let us know how it goes, and we'll be happy to help you troubleshoot further if needed.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • TestStand 2013 - Edit VI button disabled

    Hello to everyone,
    I am using TestStand 2013 development system, and I also have Labview 2009 SP1 Full development system.
    I introduce a step with a labview action in my sequence. The Edit VI button is disabled, with the message "Requires LabVIEW Development System"...
    Anyone can help me?
    Much thanks for your time and dedication!
    Solved!
    Go to Solution.

    What is your LabVIEW adapter set to?  Is it set to use the development enviornment or is it set to use the run time engine?
    You can check by going to Configure>>Adapters...
    Choose LabVIEW and select Configure
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Access 2013 Email Report ribbon button always disabled

    Access 2013 Email Report ribbon button is always disabled. This happens on one PC, All other installs are ok.
    Reinstalled Office and Access and problem continues. System is Win 8.1
    Default email client is Outlook 2013.
    Any suggestions?

    Hi,
    Printer is installed?
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • How to Install Inspection Step in Teststand 2013?

    Hello
    I try to install the NI Vision Builder Inspection Step to Teststand 2013. I Installed  NI Vision Builder Automated Inspection 3.6 and Ni Vision Acquisition Software 8.5.1 and I Installed from "ts_vbai_36_and_older_july10.zip" the inspection step to TS2013.(http://www.ni.com/white-paper/4007/en/)
    But when i try to run inspection step connect target i got an error message. (See screenshot)   I dont know what s wrong and how to solve!?

    The only way I can reproduce this error code is by specifying a different version than 3.6.0 in the "VBAI Version".  Tested in TestStand 2010 SP1 with VBAI 3.6.1.
    Attachments:
    VBAIConnect.png ‏21 KB

  • Utilisation d'énumération sous TestStand 2013

    Bonjour.
    Je travaille sur un projet sous TestStand 2013 où je dois créer des Step Types à partir d'une dll en .NET.
    Certaines fonctions de cette dll appellent des énumérations en entrée (exemple ci-dessous).
    Je load ensuite ce Step dans un Type afin de créer un Step Type.
    J'aurais aimé que ceux qui plus tard créeront des séquences à partir de mes Step Type accèdent directement à ces énumération dans leur séquence.
    Cependant je n'arrive pas à créer de structures équivalentes à une énumération sous TestStand.
    J'ai essayé avec des Containers et des Objects Reference mais impossible de faire apparaître un énumération dans le Step Type.
    Du coup, j'ai crée une fonction par élément de la liste ("SetBayerPatternBGBG", "SetBayerPatternGRGR", ...) mais ça ne me plaît gère car multipie les Step Type similaires.
    Exemple pour la fonction précédente avec le cas BGBG :
    Y'a t'il un moyen de créer un paramètre équivalent à une énumération sous TestStand ou de récupérer celle de la dll.net pour la mettre en paramètre d'entrée de mon Step Type ??
    Merci.

    Bonjour.
    Oui, j'avais déjà vu cette discution lors de mes recherches et vu que l'on pouvais utiliser des containers.
    Du coup, c'est ce que je m'apprêter à faire
    Ce qui m'ennuie un peu avec cette méthode, c'est que je suis obligé de re-créer toutes les énumérations de ma dll sous TestStand. Certaines de ces énumérations comme "Parity" ou "StopBits" proviennent du Framework 4 et j'aurais préféré les utiliser directement. Ainsi, les personnes qui feraient les séquences avec mes Step Type par la suite accederaient directement à l'énumération plutôt que d'utiliser mes containers.

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Teststand 2010 code work under teststand 2013

    Hi,
    We have some code developed in Teststand 2010 and planning to migrate to Teststand 2013 by adding some improvements to the existing code.
    Question is will the existing Teststand 2010 code  works fine in Teststand 2013 without any changes?
    please clarify me on this.
    regards,
    Ramjee

    ramjeev wrote:
    Hi,
    We have some code developed in Teststand 2010 and planning to migrate to Teststand 2013 by adding some improvements to the existing code.
    Question is will the existing Teststand 2010 code  works fine in Teststand 2013 without any changes?
    please clarify me on this.
    regards,
    Ramjee
    In general, we strive to make TestStand as backwards compatible as possible, and in many cases you can just open a sequence file in the newer version of TestStand and it will work without any changes. Though since TestStand allows for a wide variety of customization, the ease of the migration somewhat depends on how and what you have customized, for example, process models, step types, etc. might require some additional work to migrate to the newer version of TestStand. There is a migration tool in newer versions of TestStand that should be able to help you with this process when you install on a machine with an older version containing the customizations you wish to migrate.
    Hope this helps,
    -Doug

  • Due to the requirement of a UUT report with pageheaders, I am looking for solution to print an MS Access report from TestStand. I am using TestStand 4.2 and LabView 8.6.

    Solved!
    Go to Solution.

    You can customize your process model with LabVIEW steps. You can connect to the access database http://digital.ni.com/public.nsf/allkb/1D5EB4DCBD13106486256B9D005E11B0 you can also get the data and format it and print it with the report generation toolkit, or you could see if Access exposes those functions through an ActiveX server. What functionality exactly are you looking for, and at the end of the day how much time are you willing to develop your own customized microsoft access reporting function?
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • Teststand automatic test report printing using LabView workaround

    I tried the LabView workaround for the automatic printing of test reports in TestStand (see email message below). 
    It will work if I set the URL to a specific HTML TempReport.  However, TestStand is configured to generate a unique test report for each UUT.  So, in the test report directory there are xml reports and the occasional HTML report, example TestReport_00104.html.  Not sure then what to set the URL to?
    Note:  Your reference number is included in the Subject field of this message.  It is very important that you do not remove or modify this reference number, or your message may be returned to you.
    Hi Bill,
    Thanks you for your reply.
    Right ok. Well, if you are interested in the LabVIEW workaround, I can send this to place it in your modified sequential model.
    The workaround works as desired. It does it all automatically. I have set it to not prompt the user for the print dialogue but this can be easily changed. Therefore, for any example program in Teststand, if it is based on the modified sequential model, an HTML style report will be printed on the default printer automatically.
    It needs to be placed in the following location:
    Within the Sequential Model, within 'Single Pass>>Print Report' do the following:
    - Replace all the 'Main' steps (Navigate to HTML, Print HTML File & Close IE Browser) with the LabVIEW function call.
    - This one function call will do all the steps above at once.
    NOTE: In the LabVIEW VI, you will need to select the correct directory where the new html files are being created. Otherwise the print function will not work. This is called URL. Make you sure you have checked this.
    For ease of understanding I have included these steps in a word document with screen shots.
    As I do not know which version of LabVIEW you might have, I have attached three versions of the .vi file; 2012, 2011 and 2010.
    In regards to the mention of Teststand not having built in functionality for automatic printing of reports, unfortunately this is the case.
    I hope this will be a sufficient workaround for you.
    If you problems implementing this solution, please ask me for further information. However, it should be fairly simple to do.
    Just to inform you, I will be out of the office from 12.45pm today for the rest of the week on annual leave.
    I will be back in the office on Monday 14th January 2013, should you have any further queries.
    Kind Regards,
    Dominic Clarke
    National Instruments
    Applications Engineering
    www.ni.com/support
    Attachments:
    Print HTML file from LabVIEW.zip ‏39 KB

    Hi Bill,
    I managed to implement this.
    In the sequential model I added a LabVIEW action after 'Add Root Tags To XML Report'
    As URL I use a sequence local: Locals.ReportFilePath
    I points to the ML report in my case and then the VI works fine.
    However I'm looking for extra functionality and that is waiting untill printing is completed.
    Can you help me on that ?

  • Modify UUT report file name

    Hello,
    I use TesStand 3.1 in Batchmode with 4 Testsockets and generate a XML Testreport for every UUT with the serial number in the file name.
    I leave the "Enter UUT Serial Number" dialog boxes at the begin empty.
    After that i read out the Serial Number of my UUTs at the runtime via CAN and use the "PostUUT-Callback" to modify the "Parameters.UUT.SerialNumber".
    Because of that the UUT Serial Number appears in the Report Header.
    But the report filename is always "Report[NO_UUT_SERIAL_NUM0][date][time].xml".
    Is it possible to modify the "UUT Serial Number" in the Report File Name, too?
    Thanx for your answers!
    Greetz ALIEN

    We modify the report name to include error count, Model, build, etc. but it requires that the Report be complete at that point (file no longer locked by TestStand). 
    In order to do this, you'll need to create a Sequence (with no Process Model) to call the test sequence using Subsequence call with the "Run Sequence in a New Execution" selected in the "Specify Module", Multithreading selection ring.
    There may be other ways to do what you're attempting, but this gives you freedom to rename the file. 
    Mike

Maybe you are looking for