NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

List Results of all steps in a single table

I'd like to forgo the usual report BODY format with a single table that lists the data my sequence has recorded.  My sequence only collects 10 important numerical results after many sequence calls.  I have modified the html report options to minimize the report length but it is still unnecessarily complex and long.
 
I want to have the report include:
 
  1. The html report header
  2. A html table of the results
  3. The html report footer

My first impression was to build a result list array and then include that table in the report.  The problem I have is that I do not know how to remove the previous steps from the report and have TS still record the result to the Locals.ResultList.  I have not been able to find where to exclude these steps from the report but still include them in the ResultList.

What is the best way to approach my goal of creating a simplified report as described above?

Thanks,

Eric Nelson

0 Kudos
Message 1 of 10
(4,171 Views)
Hi Eric,
 
you can disable the result reporting for each step. Goto the properties tab -> RunOptions and uncheck the box ReportResult.
Now no ResultList entry for this step will be placed.
 
Hope this helps
 
Juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 10
(4,154 Views)
Yeah, I'll check that out.  I ended up using the ascii text report format and with a bit of hacking have the report looking fairly concise.
0 Kudos
Message 3 of 10
(4,144 Views)
Under run options, I can find the Record Result option box but not the "ReportResult" box as suggested.  If I don't Record Result than the step data is not added to the local variable Locals.ResultList.  I mentioned this in my original post.  I haven't been able to find a way around this.


Message Edited by ebnelson on 04-02-2008 04:43 PM
0 Kudos
Message 4 of 10
(4,135 Views)

Hi Eric,

Record Result is OK. (I forget the white space betweenSmiley Mad)
Now just for understanding your question. You have a original ResultList provided by TS. Let's say you have 50 steps and all are set to "Record Result" = True . so the Locals.ResultList has 50 elements after performing the steps. Now you want to extract 10  Elements to an other List.

Is that right ? Why do you need the hole ResultList ? Do you produce 2 report files?

If possible post a small example

Greetings

Juergen   

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 10
(4,117 Views)
Yes I was vague in my orignal post. 
 
So I have a Locals.ResultList in my Main Sequence.  It is my understanding that the results from the steps in this sequence will only be added to the ResultsList only if the check box for "Record Results" is enabled.  The problem is that this check box is also the switch that sets whether that particular sequence is in the report.  If I disable the check box the results are not recorded anywhere.
 
My hope was to gather up all the results for the Locals.ResultsList and make a table using the results I need that is concise and does not have the step info excetera.  I would need to add my own lables to the data so I know which measurement is which.  My hope was to modify the report within the TestStand environment instead of passing the results to Labview or C++ and create my own report.   
0 Kudos
Message 6 of 10
(4,093 Views)
Hi Eric,
 
Thats possible. Now i have finished work. Time to go home!
I will post a small example this evening!
 
Greetings
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 7 of 10
(4,090 Views)
Hi Eric,
 
Check this SequnceFile
 
Good Night
 
Juergen
 
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 8 of 10
(4,071 Views)
Hi Eric,
 
I have forgotten to mention an other solution.
(Upper solution show how to get access to ResultList and do some stuff)
 
If you looked into the example you saw some loops.
You can get rid of them if you are using
the SequenceFilePostResultListEntry Callback
Just do the comparison there.
 
Greetings
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 9 of 10
(4,061 Views)
Hi Eric,
 
I have forgotten to mention an other solution.
(Upper solution show how to get access to ResultList and do some stuff)
 
If you looked into the example you saw some loops.
You can get rid of them if you are using
the SequenceFilePostResultListEntry Callback
Just do the comparison there.
 
Greetings
 
juergen
 
OPPPS double clicking on Submitt button is bad !    Smiley Mad


Message Edited by j_dodek on 04-04-2008 01:35 AM
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 10 of 10
(4,060 Views)