11-07-2022 05:06 AM
Hello,
I have a continuous test running for 70 Hrs where I test 5 DuTs in Parallel Mode.
I want the resultlist just for one specific Test-Step where I compare the result of previous Step.
Due to this Verification test the result list is very huge and takes lot of Mmory rescource thus loading the system.
Thats wh I want to delete the result list totally once I have had my results as mentioned above.
Has any one any specific tipps to acheive this ?
Best,
Akshay
11-07-2022 12:44 PM
Are you running a very long sequence? I don't quite get how you end up having the ResultList Array grow too much.
As for cleaning it out, you could run a statement, after the step where you last need it, to delete it:
Locals.ResultList.DeleteElements(0,Locals.ResultList.Type.ArrayDimensions.GetDimensionsSizes()[0],0)
Alternatively, if you really don't need the values in that list, you can just disable it. Configure >> Station Options "Execution">>Disable Result Recording for All Sequences.
And store the value in your own local variable.
11-08-2022 04:08 AM
Thanks PeterFoerster for your response,
I am running the same code in a loop.
I need the results at a certain point (in a specific Seq. A)only hence can't disable.
I will try to delete it and look at the results for a day or two.
Best Regards,
Akshay
11-10-2022 11:16 AM
You can disable Results for all Sequences in the sequence properties. Then, when running the test once you have reached the loop count where you want to start recording data then dynamically turn on result recording for the sequence in the Setup group with a step expression: "ThisContext.Sequence.DisableResults = False"
Good luck