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

Similar Messages

  • Adding batch serial number to report file name in sequential model

    Hi,
    I'm using a Sequential model in TS 4.0 and have learned how to add the UUT serial number to the report file name. But I would like to add the batch serial number instead. Is this possible? Any modifications to the ReportOptions callback seem to only modify the temp report name.
    Thanks!
    Chris

    Hi Chris,
    While Paul's suggestion may be useful in this case, if you would like the flexibility of customizing your Report File Pathnames further, you may want to consider upgrading to TestStand 4.2.
    In TestStand 4.2 we introduced predefined macros and the ability to use custom expressions to specify the Report File Pathname. For example, the <Batch> macro will add the Batch Serial Number to the Report File Pathname as you specify it.
    Please see the Using Expressions to Customize Report File Paths section of the TestStand 4.2 Reference Manual for more information on these new reporting features and how one might use them. For a specific explanation of the different macros and what they might be used for, please see the Specifying Report File Paths by Expression section of the TestStand 4.2 Online Help.
    Manooch H.
    National Instruments

  • Report file name error with Chinese Date format

    Hello,
    I am seeing an error at
    step Write UUT report in the standard model files.  This step is
    calling the API method save on the object Runstate.Report.
    The issue occurs on computers using chinese localization with the date in the report file name.
    Is this a known issue?  Is there a way to modify the filename before calling the above method to eliminate the problem?
    Solved!
    Go to Solution.

    An Error Message is attached. 
    WE have seen this on both Vista and XP.  We are using TestStand version 4.1.1.  I am not sure about the localization, but I have seen this on computers from Taiwan, Korea and Japan.  
    If I put a breakpoint in the Model file at the Write UUT Report Step, you can see Chinese Characters in the time portion of the file name.
    If you change the report name to not include the time and date, the error does not occur.
    We have seen this with ASCII and xml.  With XML, the error also occurs at the step "Add Root Tags to XML Report"
    Attachments:
    FileNameError.JPG ‏134 KB

  • Overwrite crystal report file name with new version but keep history

    I am writing a Crystal Reports .NET SDK in C# code to upload a crystal report files from its destination to CMC folder on BO XI R2 Platform.
    On "Upload Button" click_event, validate the two check boxes controls named "Keep History", and "Remove History". Once "Keep History" check box is selected, check If the SAME report file name exists in the same destination CMC folder, if Yes, overwrite it BUT Keep the History and all its associated objects like "recurring objects". If "Remove History" is selected, then remove the existing report and upload the new report file name.
    Please provide me some codes on how to do this task. This is definitely a "WIN" - "WIN" effort and contribution to my Team Goals.
    P.S. This is a similar scenario when you are uploading report on BO Enterprise R2 CMC.
    When Uploading a new report to a folder but same report file name exists, the BO System will promt message "Report File Name" already exists. Do you want to Overwrite it?" If Yes, then system will overwrite the file but it will keep the history and recurring objects.
    Any help would be greatly appreciated.
    Thanks,
    Bien

    Suggest looking at [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETBusinessObjectsEnterpriseSDKSamples] wiki for links to pertinent samples. Also, check out the [Developer Help File|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_server/default.htm]. Searching these forums for similar queries may also prove to be fruitful
    Ludek

  • How to print the report file name and path and the last mod date

    Good morning,
    I am trying to print on the footer of the report the report file name and path as well as the report last modification date.
    Anyone would know how I can do that? I have checked the doc but found nothing.
    Thks. Philippe.

    Did you ever determine how to print report name and report last mod date?
    Thanks

  • How can I change the report file name depending on which seq file is run in the main seq?

    I'm using TestStand 3.0.
    I have a main sequence file with a menu option to select one of several sequence files to run.
    How can I get TestStand to change report file name to the selected sequence file rather than the main sequence file name?
    Thanks
    Harminder

    Hi Harminder
    Try RunState.Root.Locals.ReportFilePath = "PathToMyFile.xxx"
    regards
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Retrieve Current Report File Name

    i am using Forms and Reports 6i.
    in Forms, i am using the following statement to get the current form name -
    GET_FORM_PROPERTY (:system.current_form, FILE_NAME)
    i didn't find a similar statement in report to get the report file name,
    plz help...

    Hello,
    You will have more chance to get an answer by sending this question in the Reports forum.
    Francois

  • Get report file name in oracle report builder at run time

    Dear All,
    Is there any way to get the report file name in oracle report builder at run time?
    for example "HR_REP012.REP"
    i need this very important...
    Regards,
    Yousef
    Edited by: Yousef_m on Jun 2, 2012 5:18 AM

    Hello,
    Did you try the builtin SRW.GET_REPORT_NAME built-in function ?
    Example
    function AfterPForm return boolean is
    my_var varchar2(80);
    BEGIN
    SRW.GET_REPORT_NAME(my_var);
    SRW.MESSAGE(0,'Report Filename = '||my_var);
    RETURN (TRUE);
    END;
    Regards

  • Report file name as parameter

    There's probably a simple answer to this but I can't figure it out...
    I have made a jsp-page to view my report using CR4E's Create Viewer JSP wizard. Instead of hard-coded report file name, I'm taking the name from URL parameter like this
    myviewer.jsp?report=myreport.rpt
    The report shows fine until I click any of the controls (next page, print, export, etc.) in HTML-viewer. This seems to run some javascript code that calls the myviewer.jsp again, but loses all URL parameters! How can I preserve those parameters?

    Page navigation with the viewer works by post-back to the page where you've defined the viewer - the viewer interprets the postback GET parameters for the action required.
    This means that the ReportSource must be available for every postback - usually, it's stored in HTTP Session.
    Check out the following sample codes:
    http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp
    Sincerely,
    Ted Ueda

  • Get report file name

    i am using 9ids
    i use
    web.show_document() to run report.
    now report gets generated into cache and then it is viewed. now i want two things.
    1) i want to get the genrated report file name.
    2) copy that file to user-end.
    through webutil.
    pls help me how or give me function/procedure to do this.
    thanks.
    now report has run.
    please guide me further how to get file name from report/cache.
    and download into user-end.

    Rajendra,
    webutil can download files based on a URL. Just provide the URL that you usually put into web.show_document() to webutil.
    From the comments in webutil.pll:
    * DownLoadFromURL - pulls a file from the specified URL on * the server and sends it via http to the specified destination
    * on the client
    * If you specify file size we can so a comparison after
    * download to ensure that the sizes match
    * Additionally of you specify withProgress and size you
    * will get a progress bar
    * Note that the Title, subtitle and message strings cannot
    * contain the '|' character
    FUNCTION DownLoadFromURL(sourceURL in VARCHAR2,
    clientDestination in VARCHAR2,
    fileSize in PLS_INTEGER default 0) return BOOLEAN;
    FUNCTION DownLoadFromURLWithProgress(sourceURL in VARCHAR2,
    clientDestination in VARCHAR2,
    fileSize in PLS_INTEGER,
    progressTitle in VARCHAR2,
    progressSubTitle in VARCHAR2,
    progressMessage in VARCHAR2) return BOOLEAN;
    Frank

  • Add serial number in the report file name when using batch process model

        I would like to append a string containing the current UUT serial number to the base name of the report file. For example, uut_report.html becomes uut_report[SN000001].html. This setting is not available if I use NI BatchModel.seq as my process model.
    Thanks!
    Jacky

    duplicate post
    Ask your question only once.

  • Pass along Crystal Report file name on export to Excel

    Hello, I am using Crystal Reports 10 and create numerous Crystal reports, all of which end up being exported out to Excel.  Is there a way to export the name of the Report or its file name out to Excel as well?  I work with so many reports that I can't always trace back the Excel version of the report back to its Crystal report roots.
    Thank you.

    Hi
    In field explorer  Use Special Field called File Path and Name drag and place it  in Report Header
    If you want just the report Name then use Report Title.
    Cheers
    Rahul

  • Can't Modify WCS Report File Destination

    Once I upgraded to WCS 6.0.132.0 I can no longer change the destination file location when I run reports. The reports seem to run on schedule but they end up in the default location of C:\WCSFTP\reports\. I would like to change that to my E: where I have more space to save reports. Before version 6.0.132.0 I was able to do this.

    Oops, I sent the wrong screenshot.
    Go to administration -> settings and you can change the folder there.
    You can not customize the file name but surely you can change the location to save the files.
    See file attached.

  • Serial number does not appear in report file name

    HI,
    I'm using TS4.1.  I'm getting a report with the serial number.  However, the filename of the report does not include that serial number.
    example:
    UDT_Report[NO_UUT_SERIAL_NUM3][2 35 46 PM][9 15 2009]    (see attached file)
    Any idea what happend or where to look
    thanks
    Rafi
    Attachments:
    UDT_Report[NO_UUT_SERIAL_NUM4][2 40 58 PM][9 15 2009].txt ‏10 KB

    Hi Rafi,
    How are your report options set up?
    Charlie Rodway
    Test Design Engineer
    Rolls-Royce Controls and Data Services Ltd

  • How to modify 'Specified File Name' of a scheduled report

    I run a daily scheduled report every morning and send it out as an emailed attachment. My problem is, I want the file name of the pdf attachment to include the previous day's date. How can I modify the 'Specified File Name' setting in the destination tab to reflect the previous day's date. I do not want to use %SI_STARTTIME% because that only shows the date&time that the report was actually run....I need the previous date. So far I am unsuccessful.
    Thanks

    Hi,
    i think this is only possible via the SDK. I would recommend creating a Support Message with SAP to solve this issue.
    Maybe there is already Samplecode available from the Support.
    Regards
    -Seb.

Maybe you are looking for