NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ResultList

I have a TestStand sequence that logs data at the end of the main sequence. It uses Locals.Resultlist[1].Numeric &  Locals.Resultlist[1].Status, to access the results data and then copies this data to another external results file.

However I now have subsequences to the main sequence that have many test results in them and as the results are local to the sub sequence and not to the main sequence they are not in the main sequence Local.Resultlist array.

How do I get the many test results (Local.Resultlist) in the sub sequence included into the main sequence Local.Resultlist?

0 Kudos
Message 1 of 2
(811 Views)

Hi,

Logging of all the sub sequences data is automatically taken care by the TestStand.

 

In any case you can do the following :

In the sub sequence :

      Create a parameters called as resultlist ( copy from locals.resultlist to paramters instead of creating).Ensure that the properties of the variable is set as pass by reference.

     In the last step of your sub sequence copy the locals.resultlist to the parameters.resultslist

 

In the main sequence :

In the called sub sequence post expression or in the next step append the parameters.resultlist to the main sequence locals.resultslist

https://forums.ni.com/t5/LabVIEW/Combine-arrays-in-TestStand/td-p/932051

 

Regards,

 

Ravi 

0 Kudos
Message 2 of 2
(705 Views)