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. 

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 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

  • 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

  • Unit Testing in Report Generation

    I am new to SAP-BW. looking as of how can Unit Testing be done in Reports. and any other kind of testing on reports.
    any kind of information on report testing, how is it usually done would be real helpful.
    thanks in advance

    Hi Kavi,
    As far as i have gathered knowledge in Report Unit Testing.these are the important points
    you have four kind of unit testing to be done on the reports.
    1.Security : This will include testing the functionality of the security module with regards to validation of user profile and that access to reports is provided based on user group profile. The users can be categorized into the following types and this information can be obtained from Report Technical Design Document.
    o     View a snapshot of a report generated earlier
    o     Can execute report
    o     Edit the report
    2.User Experice Testing: basically how the report looks to user, the fonts, the titles, kind of obvios but important stuff.
    3. Data Validation Testing: To see if the data we obtain in the reports is same as the data present in the Source R/3 System. This can be done by taking some raw data from source system and cross checking with the reports. This can be done manually, I dont have any idea to automate this process.I am not sure if automation can be done. This is a painful process but, very important step and crutial in unit testing.
    4. Navigational Testing: This is basically testing all the drill down function, navigational and Report to Report linkage. This info we can get from the technical design document for the reporting. and corresponding Test Scripts can be prepared from it.
    As you can see The template will be consisting of all the above said columns, Entry and Exit Criteria and corresponding people who are going to perform the test.(Onsite/offsite).
    For each case a testscript can be prepared and can be used multiple times whenever report has to be tested.
    I do have a template.BUt i need to edit it somewat before mailing.Do tell me if u need one...or is this information sufficient.
    Hope it Helps
    AKB

  • 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

  • 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;;;;;;;;_______.:/

  • Test Stand seq w/ dll batch file execution not working

    I am using Test Stand 4.1, running a seq that calls a dll.  The dll contains a batch file execution function that has not been working properly.  I am not 100% sure what the function is as I do not have access to the direct code from which the dll was created.  I believe I have a file, however please remember this is a guess that I am looking at the correct function/file. 
    This is a Pass/Fail test step that calls a batch file.  The batch file runs properly without the use of Test Stand and called by the dll.  In the code that I believe is running, I see there is a step that I am guessing does not run (see below for test steps).  It seems as though these steps are being "stepped over" and not running, however the test does seem to be entering this function.  The test reports a pass/fail status as the data is reported into a txt file.  If the txt file contains the correct data, the test step reports PASS, even though the batchfile does not run.
    :Note:  [batchfile.bat] is the name of the batch file being called; the [ ] are not present 
    // Run Batch File
     ChkErr(LaunchExecutableEx([batchfile.bat] ,windowState,&handle));   
     // Wait for batch file to complete task
     do{
      ProcessSystemEvents();
     }while(!ExecutableHasTerminated (handle));
     RetireExecutableHandle (handle);
    Any one have any suggestions as to why the batch file is not being called and running properly?
    Thank you
    Jason_C

    Thanks for the feed back.  I have realized and it seems as though sometimes the CWD varies.  The current working directory when the batch file does not run seems to be set to the desktop, not to the specified directory.  The batch file is used to program a chip, calling the exe to run using commands.  The file are speciifed by an absolute path, however the exe is not.  The batch file is as below and seems to match up with a problem with the CWD.  How can change though?  I will have to check in the Start in field, but where can I find that property? 
     Thank You
    --Jason
    del ..\misc\mplab.txt
    echo C:\Program Files\JTRS\01_P55461U\bin\uutsw\CR1_T2V3L_PMM_STUB_LOAD.hex
    ..\misc\pm3cmd /5 /BLCC:\Program Files\JTRS\01_P55461U\misc\t2v3l_pmm_stub_load\t2v3l_pmm_stub_load.pm3 /k /m /y /e >> ..\misc\mplab.txt >> ..\misc\mplab.txt
    ..\misc\pm3cmd /5 /BVCC:\Program Files\JTRS\01_P55461U\misc\t2v3l_pmm_stub_load\t2v3l_pmm_stub_load.pm3 >> ..\misc\mplab.txt

Maybe you are looking for