01-17-2008 08:08 AM
This thread is as close as I can find to my question about accessing the ResultList array.
@LVKevin wrote:
Hello,
How do you access the test results found in "ResultList" which are generated while in the main sequence? When I am back in the SequentialModel sequence I am unable to find the data that was just generated. Actually, I would like to access this information from within a subsequence call (PostUUT Callback). I have thought about the reference that is being used in other subsequence calls (TestReport Callback) but I cannot seem to change the inputs to PostUUT Callback (i.e. add the reference) futhermore if I were able to get the reference in there how would I decode it in LabVIEW?
Thanks,
Kevin
01-18-2008 05:33 PM
Hi Mhousel
I have done such thing, not with logging but with renaming the last step in the resultlist.
But now I am at home and have just spent a hour write is simple Example, sorry but wont work at all.
So please wait till monday and i will post the example.
good night
juergen
01-21-2008 12:42 AM
01-21-2008 09:24 AM
Thank you Juergen.
@j_dodek wrote:Hi Mhousel
here is a example for accessing the ResultList
juergen
04-09-2012 11:43 PM
I also have the same problem to access the resultlist. The original test sequence was working under batch model. I changed the process model to sequencial model. In the PostUUT sequence callback, it accessed the resultlist through the parameters ModelData and TestSocket, but once I changed the process model there are no these two parameters in sequencial process model. The PostUUT callback is used to generate a CSV report. In order not to change the sequence too much, is there any easy way to access the resultlist.
09-11-2013 10:48 AM
I am currently facing the same problem as described in the first post. I am using both TS and LV 2012.
I found your answers quite helpful and did some tinkering myself. The problem is quite simple if the results are stored only from the local sequence or if there are no nested sequence calls, but what if that is not the case?
I want to access every test name and test result in LabVIEW after the mainsequence has run (for example in cleanup).
The problem I ran into is that if a Step is a nested sequence call then the ResultList looks like this:
ResultList[x].TS.SequenceCall.ResultList[y].TS.SequenceCall.ResultList[z].TS...
My recursion detector was really buzzing...
I am now trying to put together some recursive VI to get the Step names and Results from the Test steps (and only of the Test steps and nothing else). The thing is that I am now stuck.
As a first step I built a VI which in theory (at least in my head 🙂 ) should gather the Step name of everything that is not a sequence call but it always crashes (probably endless recursion)
Am I overcomplicating this? Is there a simple way to get the full content of the ResultList into LabVIEW?
If not, then could someone help me find what is wrong with my VI?
Many thanks!
06-08-2022 02:01 AM
Hi ryz,
This is probably 9 years too late, but if anyone has the same question, I just wanted them to know that there is an example of getting results from nested sequence calls in the Simple Text Report example provided in TestStand. The example provides LabVIEW code along with DotNet and CVI versions. I have been able to successfully adapt it for other uses.
It is located at
C:\Users\Public\Documents\National Instruments\TestStand <your version> (32-bit)\Examples\Customizing Result Processing\Model Plugin - Simple Text Report\LabVIEW
and the code installs to C:\Users\Public\Documents\National Instruments\TestStand <your version> (32-bit)\Components\Models\ModelPlugins\NI_SimpleTextReport_LabVIEW
Cheers