NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Two TS3.5 Reports (XML and ATML)

mrbean

ATML Test Results standard is currently being balloted in IEEE.

Once the standard is approved, National Instruments currently plans to release updated files (DLLs, stylesheets and process model changes) for both TestStand 3.5 and TestStand 4.0, which will geneate the approved ATML Test Results

Regards
Anand Jain
National Instruments


0 Kudos
Message 11 of 17
(2,354 Views)
I'm looking at the XMLShema (version 2.01) for ATML from the ieee.org/atml site.  Can you (or anyone) provide me with one simple example or explanation that shows the correlation between one of the attributes in the XML and one of the TestStand ResultList attributes?
0 Kudos
Message 12 of 17
(2,336 Views)
mrbean

The information you requested is currently being updated and will be available along with the remaining updates mentioned in my previous post.

Regards
Anand Jain
National Instruments

0 Kudos
Message 13 of 17
(2,331 Views)

My questions are not directed at any one particular version of the ATML TestResults schema - in fact, any of the previous versions found at

http://grouper.ieee.org/groups/scc20/tii/ATML/Schemas/Archive/  would suffice.  I'm just looking for an explanation as to how I stuff data into the appropriate container in LabVIEW such that, when it gets back to TestStand (with ATML reporting selected), it knows what to do with it.

 

0 Kudos
Message 14 of 17
(2,316 Views)
mrbean

I incorrectly stated that the information that you requested is currently being updated.

The correct statement is

"The information that you requested is currently being developed ie will not be available for the pervious versions of ATML Test Results standard.

The mapping for the balloted version will be available along with the updates mentioned in the above post.

If you have specific questions about the mapping, please post it in a new post and I will answer them.

Hope this helps

Regards
Anand Jain
National Instruments
0 Kudos
Message 15 of 17
(2,307 Views)

Waking up an  old thread...


We're running TestStand 4.1.1 and LabVIEW 8.6.1 in a Windows XP environment.


We have traditionally been configured for test reports in html format, since it's easy to view the reports not only on the test fixture, but on any other platform.  The problem with this is that the html reports are difficult to parse programmatically.  For that, you really want the XML report format.  The problem with this is that the XML reports require a style sheet, and the only viewer we have gotten to work is Internet Explorer.  It's not very portable, especially across platforms.

So we got the mandate to produce the test reports in both formats.  I found this thread, and began with the updated sequence model posted here.  I don't update the default sequence model, but instead require our tests to use this specific model.  If something goes bad, I want to have a safe place to return to.

So, the process I'm using so far goes like this:


. copy the file

C:\Program Files\National 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 above sequence in the sequence editor
. under the following subsequences, there are sequence calls to the built-in sequence called ModelSupport.seq.  You need to redidrect these calls to use
C:\MyWorkingDirectory\SequentialModel_multiReport.seq

  . the sequence calls that need to be changed are found in
  Test UUTs
          
  Single Pass
  Configure Report Options (call to "Configure Report Options")
  Configure SecondReport Options (call to "Configure Report Options")

. create the directory
  C:\Program Files\National Instruments\TestStand 4.1.1\Cfg\SecondReportDetails
 
. note that the above directory "Cfg" 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 UUTs -> Get 2nd Report Options
      . Single Pass -> Get 2nd Report Options
      . Configure Second Report Options -> Edit Report Options

. after making the modifications, verify in your main sequence
    . Configure -> Second Report Options
  If the configure window comes up, everything is ok so far.

. Modify sequence file to require different model
    . Edit -> Sequence File Properties, Advanced tab
    . Model Option -> Require Specific Model
    . Browse to
    C:\MyWorkingDirectory\SequentialModel_multiReport.seq
    . ok

 

Finally, the problems:

 

1.  Normally, when you run the sequence in "Test UUTs" mode, when you stop (from the UUT serial number prompt) the last test result comes up in a view pane in either Sequence Editor or the test executive, which ever you happen to be using.  This causes a file "TempReport.html" to be generated in the reports directory, and normally, this file is removed when you dismiss the report viewer.  This delete is no longer happening, and the directory is going start accumulating "TempReport_0002.html," "TempReport_0003.html," files.  This is undesirable.

 

2.  If the first report is html and the second is xml, the resulting xml file can no longer be viewed either in the Sequence Editor's or test executive's view pane or in Internet Explorer.  If the order is switched, the xml report is viewable.  Now, I know what you're thinking.  "Doc, it hurts when I do that."  "Well then don't do that!"  If it works one way and not the other, then use the way that works.  My concern, however, is why would the resulting xml files differ?  If I let this slide, is it going to come back as a big problem later, after the memory of how I set this up is no longer fresh?

 

3. If I pull up the Configure->Report Options pane in the Sequence Editor, finish up, then don't wait several seconds before pulling up Configure->Second Report Options, the Sequence Editor often just disappears from the desktop.  A few seconds later, I get that annoying "Do you want to tell Microsoft about the problem?" dialog that appears when a program crashes and dies.

 

    Has anyone encountered any of this, or how to fix any of it?  Thanks.

 

-M

0 Kudos
Message 16 of 17
(1,853 Views)

Hi Neurotikart,

 

As this thread is now several years old, I suggest that you may receive a better response should you post your questions in a new thread. I would also recommend that you link this thread in your new post.

 

Regards,

 

Christian Hartshorne

NI|UK

0 Kudos
Message 17 of 17
(1,841 Views)