05-14-2007 02:12 PM
05-15-2007 03:37 PM
05-15-2007 03:46 PM
05-16-2007 05:26 AM
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.
05-16-2007 11:35 AM
02-02-2011 11:24 AM - edited 02-02-2011 11:26 AM
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
02-03-2011 03:36 AM
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