TestStand Report Customization

I'm using TestStand 3.5 and LabVIEW8.  In a related exercise, I found that the file StationGlobals.ini contains a number of configurable options.  I used the TestStand sequence editor to update the Station Globals (I added some custom items).  I was able to use the Sequence Context control in LabVIEW (from the TestStand palette) combined with the TestStand Get Property Value.vi, to read some of these custom properties.
I'd like to do similar things for reports.  I see the Report Options in TestStand's sequence editor.  What I'm wondering is if there is a similar .ini file and if there is a control in LabVIEW (i.e. TestStand Pallete) to access the various report options, thus allowing some report customization.  Any examples would be most appreciated.  Thanks.

There is TestStandModelReportOptions.ini that has the station defaults and definitions. Report options are local variables in the process model. For the Sequential Model, that's in the execution entry points Test UUTs and Single Pass and there is a sequence in each called Get Report Options that reads the ini file and updates the local variable. The report options is a container that is passed to TestReport Callback so you can read and modify the options in the report generation sequence itself or if you want to access them from a test sequence in either a function call or VI, you can reference RunState.Root.Locals.ReportOptions.(whatever).

Similar Messages

  • Teststand Report generation doc

    Hi Guys,
    I'm looking into TestStand reports right now, but I have to admit that I'm a little bit lost...
    I would like to get an easy "manual" on how to edit the reports so I can get my own formating in the report...
    For example, I would like to present my test results like this
    Description of test (name)    ||    Low limit    ||   Measurement    ||     High Limit     ||    Pass/Fail.
    This would be the case for every test step.
    Also , I would like to have a customized header with a logo, and some additional Information like operator name, SN, etc
    A solution I was thinking about was to send all my data back in LabVIEW and generate the report from there, which is quite easy... I found a way to get back part of my data, but unfortunately, the NumericLimitTest steps don' return the Result... (the function I used is on this page http://forums.ni.com/ni/board/message?board.id=330&message.id=1311&requireLogin=False) >> TestStand-Labview-Resultlist.vi is the one I used.
    Could you help me on this?
    Thanks a lot
    Matthieu

    Hi Matthieu,
    Here is a Developer Zone article that should help get your starting with understanding how report generation works: Report Generation Explained .
    See the following knowledge base article for information about logging data of a step: How do I Modify a Step Type to Log Data into a Report?
    If you are using an HTML report, please see the following knowledge base article for information about how to customize your header information: Modifying HTML Report Headers to Include Custom Information in TestStand .
    This should get you started with reporting in TestStand.  I think that you will find that TestStand is better suited for reporting as you become more familiar with it.
    Jessica
    National Instruments
    Product Support Engineer

  • Report multiple failures with TestStand reporting

    I'm pretty new to TestStand so please bear with me. I'm using LabView to test a connector on a digital interface board. So I'm reading and writing dig. signals on say 15 pins in a test. I'm using TestStand to run my VI's. When a test fails TestStand seems to only report one measurement at a time. I want all of the pins that failed to show up in the TestStand report in a format like :
    InputPin:A1 OutputPin:B1 Expected:0 Read:1
    InputPin:a2 outpuPIn:b1 expected:1 read:0
    I tried using the ReportText section of the TestData Cluster but I couldn't format it properly. All of the data sort of runs into each other like this
    input:a1 output:b1 expect:0 read:1 input:a2 output:b2
    the carriage returns I tried to put in were i
    gnored.
    Does anybody know how I can report a lot of failures in one report. I hope I explained properly.Thanks

    Hi,
    Find attached an example using the MultipleNumericLimitTest step type.
    All it does is use the array found in Locals call Digital as the DataSource for the Limits. You can check this by selecting the step and doing a right mouse click - select Edit Limits. Then select the Data source Tab. I have add 16 Measurements, one for each of the array elements.
    This will give a you a result of each element of the array in the report for that step. But by default it will look like:
    Measurement[0] (Measurement 0):
    Limits:
    Low: 0b1
    Comparison Type: EQ (==)
    Data: 0b0
    Status: Failed
    To get the format you require will mean modifying the report sequence file.
    Hope this helps a bit
    Regards
    Ray
    Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence_File1.seq ‏26 KB

  • How can I include a Labview graph in a TestStand report?

    Hi All,
    I have a new need that I have never done before in TestStand. I have a Labview VI in which I am sending results to a graph.. I would like to include that graph in the TestStand report. I have searched the help and the forums and have come up empty. Any ideas out there as to how to accomplish this? Thanks in advance for any help.
    Troy
    Solved!
    Go to Solution.

    Raj - Thanks for the response and that solution does work. The problem is that the graphs that I am including are more elaborate than what TestStand is doing by default. Some of the graphs will have three traces on them to show spectral masks test with lower and upper limits. These graphs will also be used in reports and I would like them to show up larger, kind of like when you have a graph in Labview and you can use its reference to save it to an HTML report.
    Troy

  • How do i output a table in a teststand report

    I'm using TestStand 3.0 and Labview 7.0. I have a string table in my labview step that i want to see in the teststand report. How do i do this? thanks

    Hello, J.Venkatesh!
    In the future, we'd really appreciate it if you'd create new forum threads for new questions - this allows us to better manage the forums and gives our users the ability to search for questions by forum thread/topic!
    That being said, the solution provided by Matt P. in 2004 still applies to you.  Even though you're using a TestStand XML report and a LabVIEW Array instead of a LabVIEW table, you can still embed HTML tags into the XML report.  Simply index into and parse your LabVIEW array into strings, include the appropriate HTML table tags and then pass this HTML string back to TestStand.  This string can then be placed into the Step.Result.ReportText field of any step and will be formatted into a table, as you desire. 
    Modifying Matt's LabVIEW VI is as simple as replacing the LabVIEW table with a LabVIEW array and then using a Number to Decimal String.vi in order to cast the numbers as strings - those are the only modifications you need to make!
    I hope this helps!
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • How to eliminate an instance of "entering a sequence call" from the teststand report

    I am using TestStand 4.2 and I am using a long sequence with several sub-sequences.  In these subsequences I am getting test results that I would like to place in the TestStand report.  Currently, in order to do this I have to check the "Record Result" option in the "Run Options" of the sequence call properties which displays an "Entering sequence call" mark on the report.  Is there any way that I can get rid of this marker and still record information from the sub sequence?
    Solved!
    Go to Solution.

    Hello,
    You should have a look a these documents:
    http://digital.ni.com/manuals.nsf/websearch/2B14FB​1CD4FF25CA862577AE00554FC7
    http://zone.ni.com/devzone/cda/tut/p/id/7958
    Regards,
    Rodéric L
    Certified LabVIEW Architect

  • Can any one tell me how to include the company logo and some poictures into the Teststand report

    1. Can any one tell me how to include the company logo and some pictures into the Teststand report?
    2. How to include the waveforms into the report?

    http://zone.ni.com/devzone/cda/epd/p/id/3619
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Customize the QBE report customization form

    Does anyone have some ideas about how to customize the QBE report customization form
    (e.g take off the "case sensitive check box" or "format mask" .. etc)
    thanx

    repost the above msg.
    What I'm trying to do is to show only the column displayable options to portal users and hide the other cutomize sections.

  • Calling javascript function from report customization form

    I have been unable to call any user-defined javascript function from Portal Report Customization forms.
    Even a simple Message Box function doesn't work. I've been placing my code in the ..after header PL/SQL section for the report customization form.
    htp.p('<script type="javascript">');
    htp.p('function MsgBox(message){');
    htp.p('alert(message);}');
    htp.p('</script>');
    htp.p('See if it works');
    I have verified in plain html that my syntax is fine. Even the syntax rendered by portal is correct:
    <script type="javascript">
    function MsgBox(message){
    alert(message);}
    </script>
    See if it works
    Despite this, you will get a javascript error that an Object is expected, MsgBox not defined. Clearly from the script above MsgBox is defined.
    I have tried any number of calls to user defined functions and can't get anything to work. However, calling native functions like 'alert' works fine ( ie
    See if it works
    Anyone know how I can call a user defined javascript function in a Portal Report Customization form?

    Try changing the code
    htp.p('<script type="javascript">');
    to
    htp.p('<script language="javascript">');
    Thanks
    -Krishnamurthy

  • Report Customization Form Question

    How do you display the report customization before the report is rendered?

    If the Report is used as a portlet, I think it's not possible. Only the personalize link will display the customization options
    If the report is display in a full page, try: <SCHEMA>.<REPORT>.show_parms
    Patrick.

  • Teststand report size

    The teststand report size in xml format is almost 200 times bigger than html format. Does anyone know why is this? And how to decrease the xml report size. This is very importment to my application.
    Thanks
    Franklin Pang

    Howdy Franklin,
    XML files by nature are going to be large.  This is mostly due to the fact that a large number of tags are needed to describe any data.  Additionally, the files are saved in ASCII format, making it easy to read in any text editor, but even larger in size.
    A solution in this case would be to write your own XML schema which is streamlined for the minimum amount of information and tags needed to describe the data.  However, this is a complex solution that would require you to have good knowledge of XML.  Also, you would save some space, but the optimized schema still may not fit your size needs.
    If size is very important for your reporting needs, you may want to consider using HTML or ASCII reporting as an alternative.
    Thanks and have a great day!
    Andrew W || Applications Engineer
    National Instruments

  • Search report customization form

    Hi,
    does anyone know how I can achieve context-insensitivity in a query-wizard based report customization form??
    Or how I can default user entries in the query fields to all UpperCase?
    Thanks for you help!!
    Maike

    Hi,
    This cannot be done in query based wizard report. You can do this in sql based report by designing your query in such a way.
    select * from scott.emp
    where upper(ename) like upper(:name)
    This code makes the code cases insensitive inspite of the user entering small case in the :name.
    Thanks,
    Sharmila

  • Two LOVs in same report customization form causes problems

    My report includes two parameters which are set by the user using dynamic LOVs in the customization form. The report used to only have one parameter and this worked fine. After including the second one only one of the LOVs work as they should. The second one doesn't trigger a value to be sent to the report. Working separately the second parameter/LOV also works as it should.
    The code:
    SELECT distinct ID, STILLING, F_DATO, STILLING_NAA, DATO
    FROM JOBBSOKNADER
    WHERE STILLING in :lov_stillinger
    union
    SELECT distinct A.ID, A.STILLING, A.F_DATO, A.STILLING_NAA, A.DATO
    FROM JOBBSOKNADER A, JOBBINT_KOBL B
    WHERE A.ID = B.JOBBSOKNADER_ID
    AND A.STILLING = '(apen soknad)'
    and B.INT_ID in :lov_interessefelt

    Hi,
    Are you trying to use dependant LOVs i.e second LOV depends on the value selected in the first LOV. If you are trying that, then reports does not support that. You have this facility only in forms.
    If I have understood wrong, then please give me the query you used for the LOVs
    Thanks,
    Sharmila

  • F.41 - Vendor Line Item Report customization

    Hi,
    I have a question on how to customize tcode F.41. The output can be edited since this is just a display variant in ALV. We want to hide the line items. we only want the totals per GL account. Is there a way to hide the line items for F.41?
    Thanks

    Hi, Dennis:
    Your requirement is strange as F.41 is for line item reporting...
    Maybe you can try F.42 Account Balance for your purpose.
    Best Regards, Lawrence

  • SQL Query Report (Customize link)

    I have an SQL query report with bind variables so that users can choose conditions for the query. If I don't have any conditions, the report is empty. How do I get it to display all the records. I tried typing * but it didn't work.
    Basically I want it to act like the Query Wizard's Customize feature. The report give me all the records. I can query one field or all the fields.
    In the SQL report's Customize feature, I have to enter a value for all the bind variables I have. What if I just want to query one field. What do I put in the others to indicate that I want all. I hope this makes some sort of sense and that someone out there knows what I'm blabbing about.

    Hi,
    I h've same type of requirement in most of my reports in the application and I h've solved this in the sql of the report itself. Let's see a example report from the table scott.emp with a sql like
    Select EMPNO,
    ENAME,
    JOB,
    MGR,
    HIREDATE,
    SAL,
    DEPTNO
    From scott.emp
    Where EMPNO = nvl(:v_empno,EMPNO)
    and DEPTNO = nvl(:v_deptno,DEPTNO)
    where :v_empno and :v_deptno are bind variables to this report and if there is no arguements passed to these arguements all the records will be retrieved from the table ..likeley if value for any one of these arguements is passed then this sql will return only those records which meet that condition.
    Hope this helps
    -Krishnamurthy

Maybe you are looking for

  • Open or closed 24/7

    I'm thrilled about my isight that I just received but I have one question. Should I turn it on and off depending on when I use it or can I just leave the lens open (on)? Is that considered bad in any way? What do you guys do? Thanks wes

  • 2 TB External Drive no Longer Recognized by iMac 27"

    I have a 2 TB external HD (actually two 1 TB drives housed together in a OQC Mercury Elite Case) that has been working flawlessly for about 10 months as my Time Machine backup to the iMac 27". I have it hooked via FW800. Yesterday I noticed that TM b

  • New 10.6 computer with mobile user pinwheeling often

    Hi folks, I'm having an issue with a computer being used by one of our employees. She had an old 2009 iMac that she was using that began pinwheeling often whenever she was using it (we thought it was a Hard Drive Issue), so we replaced it with a new

  • Need a little help?

    I left for work today after using my mac book pro and when I came home it will not start. I turned it off with no problem before I left but now all it does is power up for a few seconds and then off. All that lights up is the light next to the screen

  • Does HP offer an unlocked bios for entertainment notebooks?

    Model is a dv6 3240ca entertainment notebook. Bios is up to to date with v. f.29. The settings are super limted. About the only thng it offers is USB boot option and hardware scanning. My other notebook, a probook 4510s has a much more dynamic bios w