Test Stand Report Filename

How can I include the UUT Serial number in the report filename rather [NO UUT SERIAL NUMBER]  I've included the serial number on the report itslef, but don't know how to include it in the report filename

In response to John's question:
Can you include other parameters in the filename?
TestStand 4.2 gives you the ability to specify the report path using Expressions as well right from the Report Options dialog box. For instance, using the  
<UUTStatus> macro, you could specify that reports for UUTs that Pass versus those that Fail go to different locations.
For more information on this, refer to:
NI TestStand Help: Specifying Report File Paths by Expression
NI TestStand 4.2 Release Notes: Using Expressions to Customize Report File Paths
For more information on the new features in TestStand 4.2, refer to:
Whats New in TestStand 4.2
Jervin Justin
NI TestStand Product Manager

Similar Messages

  • How can i save my Test Stand report as the serial Number?

    Hi, I'm using TestStand 3.0 and LabVIEW 7.0 I want to know how i can save my TestStand generated report as the UUT serial number. Thanks

    Hi arj,
    Within the Report Option in the Report File Pathname Tab is a control 'New UUT Report File for Each UUT'. Enabling this will include the Serial number in the Report Filename. Unfortunately its formated into the filename as '[serial number]'.
    This is done in a step in the Process Model - Test UUTs or Single Pass. This step is called 'Determine Report File Path' which is a dll call to a function in modelsupport2.dll. This returns the full pathname to the report and stores in Locals.ReportFilePath.
    So you have the option either modify the Locals.ReportFilePath or modify the Function in modelsupport2.dll and rebuild the DLL.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Test Stand Report Security

    I am looking for ways to incorporate some level of security for Test Reports produced by Test Stand, such as making the text files read-only for example.  From what I can determine there is no in-built security options for Test Reports.  How would Test Stand then be used in a Part 11 compliant enviroment?

    In order to change the ReadOnly attribute from TestStand, the file must be completed (closed). 
    We do some similar post processing of the Report File (HTML) by renaming it to prepend the number of errors in the file, but this does require that the Report File be completed and closed.  In order to accomplish this we use a "Main Test" sequence that lists all of the test subsequences to be run.  The Main Subsequence call step uses the "Run Sequence in a new execution" (created as a custom step).  Each test therefore generates it's own HTML report file.  Post Processing for that sequence from the "Main Test" then calls a step that renames the file.  You could do the same thing only to change the Attributes to Read Only. 

  • Test Stand Reports no longer generated

    Somewhere during development the reports stopped getting generated. I was getting them just fine untill late last week. I have looked at all the obvious things but I haven't been able to solve the issue.
    I looked at the menu: "Configure > Report Options" and it seemed fine.
    I reran the setup program in case TestStand was corrupted.
    Can anyone help me to get the reports running again?
    Solved!
    Go to Solution.

    You should check if the ResultList is properly filled during runtime. So set a breakpoint somewhere in your client sequence(s) and then go to variables and look into locals.ResultList. If this array is empty, you'd most probable disabled Result Collection in the StationOptions.
    If ResultList is looking good, then you might have an issue in the report generation. Perharps you'd replace the TestReport callback in your client file?
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Programati​cally update the Report Option dialog in NI Test Stand 4.2.1

    Hello,
    I would like to know, what is the procedure to modify Customise the Report Option dialog window with custom default value before displaying the window to user.
    We are writing our own process model to customise report options, Database option and User Management module of Test Stand. I am unable to update the Dialog window with modified settings.
    Please help me.
    I followed the instructions mentioned in link http://forums.ni.com/t5/NI-TestStand/Programmatica​lly-change-station-option-in-TestStand-2-0-1/td-p/​...
    But this is customization for the single sequence and also this is not updating the Report Options Dialog window. Please find the screenshot which i want to customize.
    Solved!
    Go to Solution.
    Attachments:
    ReportOptionWindow.JPG ‏64 KB

    Hi
    The screenshoot you have posted is done my CVI- modelsupport2.dll with funcion DisplayReportOptionsDialogEx.
    in side is code there is ReadReportOptionDefaultsEx (this function will be also used in model sequence "Get Report Options")
    it will read "TestStandModelReportOptions.ini" .
    So there were 2 solutions.
    1. ) Changing ReadReportOptionDefaultsEx (Not recommend because changing stuff from NI is bad, by chaninging you are in charge off)
    2.) Just change the ini File for your needs.
    Hope this helps
    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=

  • Test Stand Sequence Example - OverrideSe​rialNumFor​ParallelMo​del.Seq Bug with Socket Index Report?

    Hello -  is there a way to have the testand sequence  "OverrideSerialNumForParallelModel.Seq"   give the reports correctly with the "Test Socket Index"  Correctly at 0,1,2,3 instead of each window haveing 0,0,0,0
    I've spent a long time trying to get it to work  with my applciation -but can't seem to find the answer.
    OverrideSerialNumForParallelModel  can be found at: 
    \\Examples\ProcessModels\ParallelModel
    Many Thanks 
    brad
    Brad Whaley
    LabVIEW Certified Engineer
    Attachments:
    parallel-bug-testsand-report-index.jpg ‏156 KB

    Hi Brad,
    The reason that all of the report view tabs are displaying the same socket ID is that you are currently generating a single report file for all of your test sockets (the default behavior), and this same report file is being displayed for all of the sockets.  You will notice that if you scroll down in any of the reports, results for all of the other sockets will be present.  If you would prefer to have a separate report file for each test socket, you can enable the New UUT Report File for Each Test Socket report options as shown below.  
    Let me know if this does not fix the problem for you!
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Why am I getting "The Report Filename Is Empty - Using CR13 vs2010 2003sqls

    I am enhancing a vb.net app that was originally written with vs2010 vb.net, crystal reports 10 and telerik.
    It has been running for a year.
    I have made enhancements using vs2010sp1 vb.net,  cr 13,  telerik framework updated.
    The server is a 2003 server.
    The reports are  loaded into the app using vb code.
    My version creates a message the filename is empty on initial loading of the report
    which the users will find annoying as they have to enter the report request.
    This message has to be internal because I not coded for this message
    I don't get this message when testing at my workstation.  It happens when I load the
    app to the server.
    Any ideas or solutions appreciated.
    Under the gun.
    Thanks in advance
    Isaac

    Hi,
    "The report filename was empty." is not a Crystal Reports error.
    Specify what the application exactly does i.e. view report, print, export report etc.
    Take a look at below thread.
    [Preview in web using Crystal Report Viewer Message:|Preview in web using Crystal Report Viewer Message:]
    Recheck the flow of the application if everything is in place.
    Refer to the developer guide :[http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    Apply [SP2 on CR for VS 2010|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]
    Just as a test try a sample application without the telerik framework, see if it reproduces the issue.
    Hope this helps,
    Bhushan.
    Edited by: Bhushan Hyalij on Dec 9, 2011 8:47 PM

  • Is there any way I can convert a Test stand sequence and corresponding vi's to an executable?

    I need some creative ideas on how I can convert a test stand sequence into an executable in the shortest possible time. I know that beats the entire purpose of using TestStand but I need to have a way to do this. Is there no other way i can accomplish this without writing a sequencer in LabVIEW and rewriting all of my code in LabVIEW??

    There is no way i know or can think of to move all components from a TestStand application into a single EXE. Running TS in an application means that you should/must work highly unitized during developement and deployment.
    In general:
    -> Custom UI will become "The EXE" for the enduser. This involves the link for startup on desktop/start menu.
    -> TS Engine, ActiveX Server, will be attached to the UI.EXE OS process when launched by the UI. Will never be part of the UI.EXE.
    -> TS Compontens (e.g. process model, language files, ..). Will never be part of the UI.EXE.
    -> Custom Components (e.g. modified process model components, reporting, ...). Very unlikely(never) to become part of the UI.EXE.
    -> Custom Sequences. Will never be part of the UI.EXE, but extension can be changed to other than .seq.
    -> Code modules called by custom sequences. Unlikely (but possible) to be part of the UI.EXE. Should be implemented and tested to run within the RTE (runtime engine) of the appropriate programming language. It is not par design, that the deployment system has the development environment of that programming language installed.
    -> License information. TS requires at least the Base Deployment License installed and activated (requires NI License Manager software). RTE of modules might also include licensing and possibly activation fees.
    Why is there the requirement to have a single, monolythic EXE (hard to handle!) at all? If it is about the deployment process, you know that you can provide a single MSI (Microsoft Installer) with all required components using the TestStand Deployment Utility?
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I get Test Stand to print failues only?

    Rather than getting a large report file with hundreds of passes and only one failure, how do I configure Test Stand to only print the failures to the report?

    Hi,
    the engine callbacks are simply a sequence that gets called when a particular thing happens (i.e. Post Step).
    There's three types
    SequenceFile (for steps that execute in that sequence file whether it's a client sequence file or a process model)
    ProcessModel (for steps that execute in the client sequence file run under this process model, but NOT the steps in the ProcessModel)
    Station (for all steps on that installation - found in the StationCallbacks.seq sequencefile)
    If the engine callback appears in more than one of the three places, then the lowest one (seq file->proc model->station listed lowest to highest)is used.
    In your case, you could use any of them depending on your architecture.
    Personally, r
    emoving from the resultlist is easier than working out whether to add to it, but that gets tricky when you have steps which loop.
    If you decide to make up your own add, then the PostStepFailure is the callback sequence to use (go to edit->sequencefilecallbacks). You'll have to add a new element to the resultlist, and start fleshing it out with the result container of the step (which you still have access to as a parameter) plus the TS container.
    This would go into the Runstate.Caller.Locals.ResultList[x]
    Also, don't forget to disable the result collection on all the steps in the test sequence, plus all the ones in your poststepfailure callback, since you're doing your own.
    I'm attaching what I've done so far as an example - not quite finished, but it's done the TS container. Just now need to do the actual result container.
    I'll keep working on it but for now you can see what I'm getting at.
    Hope that gives you a kick start with the callbacks bit
    Sacha Emery
    National Instrumen
    ts (UK)
    // it takes almost no time to rate an answer
    Attachments:
    collect_only_failures.seq ‏31 KB

  • Still getting "The report filename was empty" error

    I tried re-opening this earlier discussion...
    "The report filename was empty" rears its ugly head again
    ... after this error came back; we moved our data source and I had to switch from using the viewer SDK to the engine SDK. Since I haven't seen any replies, I thought I should try creating a new discussion thread. It seems that my report which has parameters will work with the engine/ReportDocument code, but the one without parameters produces the above error. The sample code is in the other thread so I won't re-copy it here unless advised to do so. I really need to get this resolved so any guidance is greatly appreciated.
    - Robert -

    In the previous thread I attempted to provide some sample code I used for my test. Here's the meat of it, which gets called during the Page_Load event:
            private void ConfigureCrystalWithDbOverride(string ReportFile)
                ConnectionInfo crConn = CreateConnectionInfo();
                ReportDocument rptDoc = new ReportDocument();
                rptDoc.Load(Server.MapPath(ReportFile));
                Tables crTables = rptDoc.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table tbl in crTables)
                    tbl.LogOnInfo.ConnectionInfo = crConn;
                    tbl.ApplyLogOnInfo(tbl.LogOnInfo);
                // If the selected report has parameters, clear them out first to ensure the viewer prompts each
                // time for user input.
                if (this.crviewer1.ParameterFieldInfo.Count > 0)
                    this.crviewer1.ParameterFieldInfo.Clear();
                // Get database logon info from web.config
                Session["DynamicReport"] = rptDoc;   // Save to Session object which will be needed during subsequent postbacks
                DisplayReportInViewer(rptDoc);
            private ConnectionInfo CreateConnectionInfo()
                ConnectionInfo crInfo = new ConnectionInfo();
                string conn = ConfigurationManager.ConnectionStrings["MAS_ConnectionString"].ConnectionString;
                SqlConnection sqlConn = new SqlConnection(conn);
                crInfo.ServerName = sqlConn.DataSource;
                crInfo.DatabaseName = sqlConn.Database;
                crInfo.IntegratedSecurity = true;
                return crInfo;
            private void DisplayReportInViewer(ReportDocument rptDoc)
                this.crviewer1.ReportSource = rptDoc;
                this.crviewer1.RefreshReport();
    I should probably point out one other change from the original environment. Originally we were connecting with SQL authentication and now we're using integrated security. Not sure whether that's relevant to this particular issue, but wanted to make sure it was known.

  • What is test stand ? Why is it used, how to get going ?

    Hello All,
    I am LabVIEW user and very new to test stand, have few basic questions,
    1. Why teststand was introduced ?
    2. In LabVIEW we write VI's and build a project to execute a big task, how is this done in teststand?
    3. I did download some of the pdf from NI website, but not able to visualise what needs to be done,
    Pls do share if you have more insight to Teststand.
    Thanks

    Hey systemcrash,
    I will try and answer your questions the best I can:
    1. http://www.ni.com/teststand/whatis/
    TestStand is an automated test executive (ATE).  It is an off the shelf solution which makes your life easier.  It handles report generation, user management, sequencing (i.e. test flow), result collection, pass/fail analysis, common User Interface, database logging, etc...  Basically, all the crap you don't want to develop in LabVIEW.  But it gives you consistency and commonality for all your tests.  If you look at the layers of the test system TestStand would be at the top like this:
    TestStand
    LabVIEW (or other software)
    Hardware Drivers
    Instruments
    UUT (unit under test)
    2. In TestStand you have the development environment (Sequence Editor) and the User Interface.  They can both execute tests.  The User Interface is an application written in LabVIEW (or other programming languages, ships with TestStand) which gets deployed to a test station so that testers can execute your test.  It does not have the ability to edit the test (in TestStand tests are called Sequence Files).  However, the Sequence Editor can edit the tests and would be used on the development machine.  There is a deployment utility in TestStand which allows you to create an installer.  In that installer you would include the TestStand Engine, the User Interface and all the dependencies for your test (Sequence File).  Then the user just opens the User Interface and runs it.
    3. NI does offer TestStand courses which can be helpful.  I recommend going through these PDFs though first:
    http://www.ni.com/pdf/manuals/373200c.pdf
    http://www.ni.com/pdf/manuals/323436a.pdf
    You will get more out of the classes if you have starting playing around with it first.
    Hope this helps.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How To Trigger Test Stand To Assign Step = Error

    Hi everyone, I have a LabVIEW VI step in my sequence and I have an abort button the user can select to abort the user interface VI.  I want the "abort button" boolean to pass back to test stand that abort button = TRUE and I want the sequence step to be set to an "ERROR."  Is there a command to send to the Test Stand Engine to flag this step as an error?
    Thanks so much!
    Solved!
    Go to Solution.

    Hi
    Glad It was helpful.
    There are two ways in which you could achive this..
    1. Use this expression: RunState.Engine.TerminateAll()
    But be wary, this will terminate all the current excutions and the report indicates the status as "terminated"
    or
    2. Use this expression: RunState.Execution.Terminate()
    or
    3. You can add a Goto step (comes with teststand. You can find it under Flow Control section of the insertion palette) and select Cleanup as the destination step.
    This way you can run some clean up steps before closing the execution. (eg, Shutting down any hardware, etc.,)
    Deepak

  • Test Stand results filtering

    I wish to run two different sequence programs on the same PC using Test Stand, one sequence program to record all results and another sequence program that needs to record failures only. Currently I can only achieve this by manually changing the results filtering expression in the report model each time I swap from one program to another. Is there a way of changing the results filtering expression programatically with the test sequence so that I do not have to manually keep changing the results filtering expression?

    HI,
    find attached a 2.01 version.
    The ReportOptions sequence only sets the filter up  and for Passed/Done/Skipped so if you run the example you will only have the Failed step which is the test test.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Tests_ver201.seq ‏23 KB

  • Test Stand Shut Down with no reason

    Hello ,
    I'm using Test Stand 4.2 & LabWindows CVI 9.0 .
    I'v created a program that checks 30 cards in Batch mode , using Test Stand as master that calls CVI functions from dll files i'v created .
    In the program there are no error nor warnings But i have a strange problem for every 50 runs of the program I'm facing 1 Complete shut down of TS with no reason or warning .
    TS simply shut down and not showing any message . This problem is very disturbing considering that full check for 30 cards using TS is Approximately 3.5 hours .
    The shut down can occur at any part of the run with no repeated pattern , It can happen after 3 min or after 3 hours And by doing so the user need to restart the entire test from the start because TS 
    didn't produced any Report .
    I'm not denying that the crash can be in the dll files written in CVI but thats in low possibility .
    I'm under Win Xp and using intel core2duo L7400 and 4 MB of RAM . 
    Is there any option to avoid this problem ??
    Thank You , Kobi . 
    Kobi Kalif
    Software Engineer

    Thank u Doug i will check it , for now i have pasted the at the bottom the event viewer application log maybe some as i suspected the problem is in the CVI DLL but i don't know what this Error means 
    Maybe You know ?
    The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [11:22:25.140] [FATAL] [LRemoveItem] [..\james\list.c:543] Assertion failed: 0 (itemPosition >= kEndOfList && itemPosition <= (*theList)->numItems).
    The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [11:18:43.140] [FATAL] [LRemoveItem] [..\james\list.c:543] Assertion failed: 0 (itemPosition >= kEndOfList && itemPosition <= (*theList)->numItems). 
    Kobi Kalif
    Software Engineer

  • Test Stand Basics

    Hi,
    I have 2 yrs Experiance Lab VIEW.
    Now, I would like to learn NI Test stand, can u send me the some basic tutorials about Test stand.
    Which type of application we are going for test stand insted of Lab VIEW. and what is the main features of Test Stand over Lab VIEW.
    Thanks for All
    Siva.

    Hi,
    You would go for TS when you have a testing application which would require you to do multiple (10s,100s,1000s) steps. Now TS doesnot directly interact with the hardware, for which you would require code modules like LabVIEW VIs. Also report generation and database logging is internally taken care of.
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/

Maybe you are looking for

  • Add partner while creation of sales document

    Hi All,          I have a requirement in which I need to add a PARTNER FUNC (forwarding agent) to the partners tab in sales order (VA01). The partner is determined from a custom table based on shipping conditions, transportation group,landing zone an

  • Problem with FIMSynchronizationService after clone

    After cloning an environment and using cliconfg to point to a new database server and using stsadm to rename the application server, the cloned Sharepoint environment isnt working. Trying to access central admin I get a 503 Service unavailable. The a

  • 2600 Classic Phone memory Full

    I am not able to add phone numbers in my contacts list after about 900 phone numbers. The phone says phone memory is full. I still have 8MB free on my phone. Is there a separate memory for phone list? Can I increase this?

  • Need help reading raw files!

    Help please!  Cannot read raw files of my Nikon D5000.  Have downloaded Camera Raw 5.3 and followed instruvctions.  5.3 supports the D90 which is supposedly essential the same.  Any suggestions?

  • Yosemite screen res settings

    Hi again, I have a HP widescreen, that requires a resolution of 1680 1050, but yosemite does not have this screen res setting... Is there any way I can fix this, I am using programs like Blender and Unity, so I don't wan't the screen to be stretched.