From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-14-2009 01:48 AM
Hi,
How can I unload sequence after it finished running?
In unload option I picked the unload after step executes, in MainSequence I did not set Optimize Non Reeantrant calls to This Sequence, but still the used memory did not decreased.
Thanks.
09-15-2009 01:34 AM
There is an API function that does this.
RunState.Engine.UnloadAllModules()
09-15-2009 01:40 AM
Sorry I misread your question. The UnloadAllModuals() function wouldn't be the best solution for you.
I believe you want to unload that individual step.
There is an option in the step settings under run options. I will look at it when I am at my computer tomarrow to see if I can give you a better answer.
09-15-2009 01:41 AM
Hi,
Thanks for the answer, but I need to run different sequences one after another (in one execution).
After one sequence finished running I want to unload it and to run the next one. The configurations I descibed in the first question should be enough, but still it did not work.
09-15-2009 09:46 AM
1. Select Step:
2. Here is what you need to do to dynamically load sequence.
3. Then Unload after step executes:
09-15-2009 04:18 PM
09-16-2009 12:56 AM
Hi,
As I mentioned before, I did all of the properties you suggested (load dynamicaly too), but still not working.
Correct me if I am wrong, but if it was working, the memory that TestStand using suppose to decrease.
I do not use the UnloadAllModules(), only the properties of the sequence.
09-16-2009 09:14 AM
09-17-2009 03:24 AM
Hi,
Here is an example.
I have sequence with all the properties you said. After the sequence ends I excpect the memory of TestStand to decrees (Task Maneger).
09-17-2009 06:48 AM
Hi,
Providing there is no other reference to that Sequence File in you Sequence then I would say your assumption is correct.
Regards
Ray Farmer