Multiple reporting of test problems in TestStand 4.1.1

We lack TestStand 4.1.1 and LabVIEW 8.6.1.  We have a vast repository of production and test fixtures, with lots of code-sharing and others.  We build installers for all of our tests and deployments every night with a build server automated.  We have newer versions of the TestStand, LabVIEW, but due to process bugs in TestStand deployment (and installer of construction), we can use them with our footage/projects/workspaces.

We have traditionally been configured to test as html reports, because it is easy to visualize the reports not only on the test set-up, but on any other platform.  The problem is that the html reports are difficult to analyze programmatically.  To do this, you really want the report xml format.  The problem is that the xml reports require a style sheet, and the viewer only, we have learned to work is Internet Explorer.  It's not very portable, especially on platforms.

So we got the mandate to produce test reports in both formats.  I found a thread here describing how in TestStand 3.5.1 and started with the model of update sequence posted in this thread.

http://forums.NI.com/T5/NI-TestStand/create-two-TS3-5-reports-XML-and-ATML/TD-p/471394/page/2

I need to edit the SequenceModel file, and some mods are also required in the ModelSupport.seq file.  I don't want to change the default settings, so I make copies of the files and specify that my sequences use modified versions.  Thus, the process I use so far goes like this:

. Copy the file

C:\Program NIUninstaller Instruments\TestStand 4.1.1\Components\Models\TestStandModels\ModelSupport.seq

TO

C:\MyWorkingDirectory\ModelSupport_multiReport.SEQ

. Download SequentialModel.seq from this thread
http://forums.NI.com/T5/NI-TestStand/create-two-TS3-5-reports-XML-and-ATML/m-p/471394

. Copy the file to
C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ

. Open the sequence above in the sequence editor
. under the following subsequences, there the integrated sequence called ModelSupport.seq sequence request.  You must redidrect these calls to use
C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ

. sequence calls that may be needed are found in
Test DUT
          
Simple pass
Configure the report Options (call to the "Configuration of Report Options")
Configure the Options of SecondReport (call in the "Configuration of Report Options")

. create the directory
C:\Program NIUninstaller Instruments\TestStand 4.1.1\Cfg\SecondReportDetails
 
. Note that the "Cfg" directory is a shortcut to
C:\Documents and Settings\All Users\Application Data\National Instruments\TestStand 4.1.1\Cfg\

. in SequentialModel_multireport.seq, find references to
"C:\\Program Files\\National Instruments\\TestStand 3.5\\Cfg\\SecondReportDetails"

and change them to

"C:\\Documents and Settings\\All Users\\Application Data\\National Instruments\\TestStand 4.1.1\\Cfg\\SecondReportDetails"

. There are several references
. Test the DUT-> Get 2 Report Options
. Single pass-> get 2nd Report Options
. Configure the Options of second report-> Edit Report Options

. After making the changes, check in your main sequence
. Configure-> second report Options
If the configuration window starts, all is ok so far.

. Change the sequence file to require different model
. Change-> sequence file properties, Advanced tab
. Model-> specific model required
. Go to the
C:\MyWorkingDirectory\SequentialModel_multiReport.SEQ
. Ok
    
Finally, the problems:

1. normally, when you run the sequence in "Test UUT" mode, when you stop (from the serial number prompt USE), the last test result appears in a pane view in sequence or the test Executive Editor, who ever you happen to use.  This causes a "TempReport.html" file to be generated in the reports directory, and normally, this file is deleted when reject you the report viewer.  This deletion occurs is no longer, and the directory will start to accumulate files "TempReport_0002.html," "TempReport_0003.html".  It is not desirable.  I went looking through the template and related files, but could not find where the temporary file is created or deleted, nor I could find where the viewer within the sequence editor is called.

2. If the first report is html and the second is in xml format, the resulting xml file can no longer be read or in the sequence of the other editor or test the view of the Executive or in Internet Explorer pane.  The message in IE is:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

Error running Microsoft JScript 'null' is null or not a subject line = 381, col = 3 (line is offset from the beginning of the sc...

I checked, and there is nothing unique or commonplace online 381.  Column 3 is a space, and the rest of the line contains data used elsewhere and only some ordinary tags.  If the order of the reports is enabled, the xml report is visible in the view report sequence editor and through Internet Explorer.  (In other words, do the first report of the xml file and the second the file html.)  Now, I know what you think.  "Doc, does it hurt when I do this.'" " Well, don't do that! "If it works one way and not the other, use the way that works.  My concern, however, is why the resulting xml data files differ?  If I let this slide, it will come back as a big issue later, after that the memory of how I created this so is cooler?

3. If I pull up to configure-> Options pane of report in the sequence editor, finish, so don't wait several seconds before pulling up to configure-> second report Options, the editor of sequences often disappears from the desktop.  A few seconds later, I get that annoying dialog box 'Do you want to tell Microsoft about the problem?' that appears when a program crashes and dies.

If anyone has come across this, or how to fix it?  Thank you.

M

Hello

I was not able to get the files that you use to work, but I found a model of different sequence on our DevZone page that works for me, trying to create two different reports.  It can be found here:

http://zone.NI.com/DevZone/CDA/EPD/p/ID/3278

As it says in the instructions, simply change the local variable called 'DisplayedReportFormat' in the file tworeportssequentialv30.seq on "html" or "xml" to change the output type of the second report.  The first type of report is normally configured via the menu.  Also, be sure to change the options of station to use this model.  I have confirmed that it works and that the temporary file is also deleted every time.  I hope this helps!

Tags: NI Software

Similar Questions

  • Need to create useful reports from the results of TestStand (.mdb) database

    Any help is greatly appreciated!

    We need create reports from the results of TestStand (.mdb) database.  I was not able to find much online.

    Details:

    In 2014 TestStand, we have configured to use Access database management system.  Otherwise, the database settings are default.

    These reports will be targeted to managers and engineers.  They need to show objects as:

    Which EHR past/almost?

    For each DEGREE, what past/a failed test?

    Thanks for all the suggestions!

    Because I couldn't find anything pre-made, I created reports from scratch using queries in Microsoft Access 2010.

  • Why not a problem in iTunes only allows you to report a 2 problem?

    Why ITunes reported that a problem with the purchases you to only report a problem only 2?  I ordered 4 episodes on television and got 4 wrong.  Could report only 2.  Then had to go to Apple Support for asking again.

    You need to ask why Apple, we are fellow users on these forums.

  • How to report the BIOS problem?

    Hello

    is it possible to report the BIOS problem so that a person of HP it will read and the problem will be solved if all goes well?

    To be concrete, there seems to be problem in BIOS F.02 installed on HP Mini 5103 causes of freeze if it has plugged the USB key with 'recursive partitioning' at startup. As a result, it is not possible to boot from live USB which was created from some ISO hybrids (e.g. direct ISOs of OpenSUSE recent). Since there are not many options to install the system on netbook, I think it is serious problem. My previous netbook Lenovo Ideapad S10 - 3 and also my work laptop and desktop have no problem to start with the USB stick containing "recursive partitioning", so it's certainly a problem (hopefully not feature) this concrete machine/BIOS.

    Thank you

    That's ok on the Bravo, I did nothing to help you again.  This link is for questions of security, but it is also for the firmware, so you can get away with sending them a note here:

    https://h41268.www4.HP.com/live/index.aspx?QID=11503

    - Or call them.

    http://welcome.HP.com/country/us/en/contact/phone_assist.html#section1

  • A custom step of multiple digital limit test | Hide the limit tab

    Hi all

    I am trying to create a custom step of multiple digital limit test. The custom step by itself poplulates the value of the limits of the measure. So I plan on Hide tab limits within the parameters of the step. Can someone guide me on how to do it?

    Thank you

    Prasaanthan

    Make sure that you have checked the box 'Show hidden properties' in the StationOptions > preferences. Otherwise, you will never find the table refers to erik.

    Norbert

  • Reports of test bench is more generated

    Somewhere during development stopped reporting occurs. I received them very well until the end of last week. I looked at all the obvious things, but I was not able to solve the problem.

    I looked at the menu: "configure the report Options >" and he seemed well.

    I restarted the installer where TestStand has been altered.

    Can someone help me get the reports running again?

    You should check if the ResultList is correctly filled during execution. So set a breakpoint somewhere in your client of sequences and then go to the variables and watch people in the country. ResultList. If this table is empty, you most likely disabled Result Collection in the StationOptions.

    If ResultList is looking good, you might have a problem in the generation of reports. But you should replace the recall of test report in your customer file?

    Norbert

  • where to locate the report of USE it in TestStand 4.2 release?

    Hello

    I need to change the statement USE for start times and Date. I thought that I can find it on PreUUT reminder under parameters variable that specifies the last version of teststand. Do you know where to find them on TestStand Version 4.2?

    appreciate your help.

    Thank you

    val87

    Hi val87,

    Thanks for the clarification! I think I found the location of the start and Date times. TestStand 4.2, they are located in the reminder of the sequence "Test report" instead of "PreUTT". Here's a screen shot where I found it.

    I hope this helps!

  • Generation of multiple reports in subdirectories with the calls of the nested sequence

    I would like to generate different paths for multiple sequences, which are each managed in respect of execution of their own.  The following text displays the desired hierarchy:

    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\Test [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Sequence group [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Test tswan.html
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup2\Test tswan.html

    where:

    Summary of the test contains only steps of the MainSequence of the MainSequenceFile
    SequenceGroup1 is a step of calling in MainSequence with new execution sequence (to generate a separate report).
    Note: The subsequences of the SequenceGroup are stored in a different sequence file.

    Example of a hierarchy:
    MainSequence-> SequenceGroup1-> SubSequence1, SubSequence2, SubSequence5
    MainSequence-> SequenceGroup2-> SubSequence2, SubSequence3, SubSequence4

    Would result in the following files:
    2010.08.18.10.00.00_MainSequenceFile\Test [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\SequenceGroup1 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test1.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test5.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\SequenceGroup2 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test3.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test4.html

    My plan was to specify the base path using the StationGlobals (for support through several files), and then use the ReportOptions reminder in the file of the main sequence and the sequence of group file.  However, the recall of ReportOptions occurs only in the file in the main sequence.  If I create a ReportOptions reminder in the sous-suite file, it will never be called.  The ReportOptions of the MainSequenceFile callback is only called (since that's where the new run is launched I guess).

    In my view, that this hierarchy could be created using what follows:
    In the ReportOptions callback, get a reference to the sequence of the appellant step and determine if it is a SequenceGroup_SequenceCall (a type of special stage that I created), if so then use a different expression to generate the name of the subdirectory and report.  If this isn't the case, then use the expression of the main sequence.

    It would take to what follows the ReportOptions in MainSequence reminder:

    1 get the reference to MainSequence path of the report generated from the process template.  This could be done by storing the RunState.Root.Locals.ReportPath in a StationGlobals variable before the new sequence.

    • Is it possible to do without StationGlobals?  A SequenceCall parameter is most appropriate?

    2 get the reference to the call of the sequence step

    • Not sure what the best way to achieve this.  Please notify.

    3. date format
    The statement to get the start time of the SequentialModel is not called that after ReportOptions recall and the path of the file Expression determine report.  This is why the name of the report file timestamp may be different from the header of the report.

    • Why the statement to get the start time is not called as the first step of the sequence, and what are the consequences of this change in the sequential model?

    My questions are indicated by bullets that precedes.  Any help would be greatly appreciated!

    Hello

    I created a small example that should full fill your requests.

    Note: I have only tested in Mode Single Pass (No. Serialnumber request!)

    No StationGlobals when used. To get the parent folder data two queues when used in ReportOption callback

    Hope this helps

    Jürgen

  • Windows logo testing problems

    I am trying to install itunes on my computer and it says it was not installed correctly because he failed to pass windows logo testing is a way to solve this problem, because I can not sync my ipod touch now?

    I am trying to install itunes on my computer and it says it was not installed correctly because he failed to pass windows logo testing is a way to solve this problem, because I can not sync my ipod touch now?

    What version of Windows have installed you, including service pack?

    What version of iTunes are you trying to install, and where did you of?  I don't remember any warning message about failure to Windows logo test lately several that I have installed iTunes.

    In general, however, you can ignore safety warnings regarding the software has not passed Windows logo testing, at least for the software from sources deemed such as Apple.

    Please report any error messages you get in its entirety, without paraphrasing.

  • Generation of multiple reports in a single file PDF of Apex / BI Publisher

    Hello

    We have Apex 4.0 and BI Publisher allows you to generate PDF reports. Which works very well.

    Now, instead of having, for example, a Bill printed by PDF, the requirement must allow the user to select multiple invoices and generate a single PDF with all of them, with a break between each of them and page numbering for each restart.

    Is it still possible? After much research and tests apparently not as much as the integration between the Apex and BI Publisher is very vanilla. It seems to be a restriction of the Apex, as it seems that BI Publisher allows if you supply the correct XML data.

    Any ideas?

    Thank you
    Luis

    NOTE: Each invoice has a header and one or more lines of detail (master relationship / retail)

    You must rewrite your query

    Select t.table_name, c.column_name
    of user_tab_columns c., user_tables t
    where t.TABLE_NAME = c.TABLE_NAME;

    export the XML file and then on the model of group by table name and a select when page break the value changes. In this way, it will produce a single pdf with multiple pages, each page having a single table_name and column_name multiple.

    Note: when you design your selection of wizard model select the two columns click next and in the group by select table_name, group above and break: page
    This way you will get a page break when the name of the table is changed.

  • 2.1: reports of Test Unit in SQL Developer 2.1 (fixed in release 63,73)

    Hi people,

    I use the new unit test in 2.1(.0.62) SQL Developer functions and am really loving what is there - little about all the stuff that I'm used from JUnit.

    However, when I try to access built-in reports, I get a dialog box stating:

    No application found to the version of the selected database.

    This feature is dependent on a particular version of the database, or is it just something missing in the release of EA?

    Thank you

    Chris Hughes

    Published by: Chris Hughes on December 11, 2009 14:34

    Published by: Chris Hughes on December 11, 2009 16:34

    Published by: Chris Hughes on December 16, 2009 16:34

    Hi Chris -.

    Please try the new unit test in functionality. I don't know what causes your problems with EA1: (, but I just tried to run some of the reports in the ai2 candidate & they work fine :).)

    Brian Jeffries
    SQL development team

  • Firefox 18 and reported Windows 7 problems

    I have recently reported problems with Windows 7 patches who were charged on my Dell laptop, as well as of an automatic update of Firefox on 10 Jan.

    After restarting my system several times, Firefox works fine.

  • Report Word formatting problems

    Hello

    I have two problems with the format of Word document automatically created in LabVIEW using the palette of report generation (specific Word).

    1.
    There are added additional lines between each section made by Easy Text.vi Word.

    2.
    I want to insert a table without border lines. However when I set borders and shading in a way this table without any boundaries should generated vertical border remain lines between the columns of the table.

    Any help will be greatly appreciated.

    Best regards.

    Martin

    mavlc wrote:

    Hello

    I have two problems with the format of Word document automatically created in LabVIEW using the palette of report generation (specific Word).

    1.
    There are added additional lines between each section made by Easy Text.vi Word.

    2.
    I want to insert a table without border lines. However when I set borders and shading in a way this table without any boundaries should generated vertical border remain lines between the columns of the table.

    Any help will be greatly appreciated.

    Best regards.

    Martin

    2. I want to insert a table without border lines. However when I set borders and shading in a way this table without any boundaries should generated vertical border remain lines between the columns of the table.

    Set the entry AutoFormat in Word Input.vi easy to 0 will create a table without the internal lines, but that doesn't solve your problem #1.

    1. There are added additional lines between each section made by Easy Text.vi Word.

    These additional lines are added by the easy text and the easy Table.vi Word. If you don't want them using these screws. use the report text Append and Append table of the report live as in the following photo. (you then need to set the style using Word Format Text.vi as I did for the title).

    Ben64

  • In-Circuit Test (ICT) in Teststand

    Hello community,

    I use the material NI PXI with Dev Suite 2012 with Teststand/Switch Executive for a fitting of airbags (ICT & CTF) test.

    Are there methods or software of OR or third parties for the development of ICT in my process of easier test? NOR did a great job with functional test, but is there a good way to make ICT?

    I am currently using a DMM and Switch Card Guard Amp. How to write a bunch of lines of code in teststand to toggle switches on the card. Wondered if there was a simpler way.

    Thank you

    Kevin

    A few suggestions:

    (1) Executive of switch use to connect to all switches in the same appointment (see examples). This will reduce probably 5 steps for 3. You can see the link already provided.

    (2) using the C language of service approach - to create a sequence of sub that tests a unique resistance:

    i.e.

    void / sequence: R_test (Rname, Rvalue, Rswitches, etc.) - the arguments or parameters to this sequence under decision worksheet.

    Typical steps in the sequence of sub:
    (a) connect all the switches - based on the argument of switches
    (b) Pass fail the test - VI of appeal that did the test and returns pass fail
    (c) disconnectors

    (3) on the main sequence, you just call this sub for each resistance sequence.

    (4) another approach in which you want to load your needs from a excel sheet, please visit property charger type of stage as well as his examples.

    For this alternative:

    You can create a container of Type R with variables - R.value, R.name, R.switch1toOn, R.switch1toON, etc.

    Then you can create an array of Type R and export to an excel spreadsheet using tool (Tools menu) to the import\export (take the maximum of 100 more you want)

    In the excel worksheet, you can update the values of R.

    You will also need a more variable noofresistors, which is in the excel worksheet.

    Your main sequence can be like this:

    type of charger step property - download all values of container and leaf to Teststand noofresistors excel variables.

    For (i =<>

    {

    call sequence for R checking with parameters (table [i]. (R)

    }

    In the above example, you should not change the sequence at all... updated values in the excellent journal.

    I hope this helps.

  • (this is the 2nd attempt) I have SP1 with first Home Ed. I have received no Windows Update since 11/11/09. I have no error reporting and no problem, I just get a response that my system is up to date.

    I changed my apartment av 11/5/09 and turned on Windows Defender because it was not find cookies to follow up on my system.  I also installed an add-on for Iex 8.0 two days ago that I must not turn on InPrivate browsing software each session.  I have run scans and run Mrt.exe and found without spyware or virus. I ran the event viewer, and there are problems, especially errors on start-up and shutdown delays and the fact that the security guard verification Center to see if I have an AV program installed.  But when I go into Security Center it tells me that my
    AV program is norton and my anti-spyware program is Norton and my system is all green lights.  Norton has found 40 + tracking cookies.  I have
    delete cookies in Internet Iexplorer, individually, but not on a large scale.
    That's all the news I can think are relevant-thanks in advance!

    Redshift905,
    If you know if you're missing the updates?  Usually if you run Windows Update and it says that your system is up to date so that means that he has not found the updates apply to your system.  If you think that you get the updates, then you can reset Windows Update components and test again.  Here is a link with instructions if you want to do.

    Reset the Windows Update components

    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Re: Satellite A200 - lights ever time!

    My TOSHIBA Satellite A200 doesn't want to turn on every time sometimes it round after 10 attempts the blue icon Satellite lights every time.Any idea what's wrong with it?

  • Qt3D

    Any chance of using cascading Qt3D? I know that we cannot use QGLView, Widgets, QtQuick, and I know that we can use OpenGL in a window from abroad. I was wondering if it would be possible to use the Qt3D lower level classes in a window from abroad?

  • How to wake up a thread manually?

    Hi all I have some time which is the next of the loop While (should Stop) { Try { do somehting sleep (60 seconds) } catch{ shouldstop = true; } } I would like to have a function that wakes the thread when he sleeps, a loop around & doing something. I

  • Delicate ISE upgrade

    Thanks to all in advance. Here's my situation. 1 (primary) node that is the version ***************************************************** XXX-ISE01 / admin # sh version Deploying applications engine Cisco OS version: 2.0 ADE-OS Build Version: 2.0.2.1

  • No set of FrameMaker or Robohelp 2015

    HelloI'm subscribed to FrameMaker and RoboHelp today received the confirmation e-mail and the load went on my card more than 3 hours ago. I managed to download but there is no associated serial number. There is a column for them in the download windo