|
Re: Autonomous Independent Can Only Get Called a few Times
Cloning a VI duplicates the dataspace and a small VI header, but not the code. The dataspace is normally reclaimed when the refnum is closed. I suppose that RT could be different, but if that were the case, that wouldn't work very well for round-the-clock industrial use.
If you believe there is a leak, you should be able to see it using the RT System Manager. I'd probably flip to the VIs tab and turn off the checkbox, then flip back to memory and CPU and start it. You can watch memory usage over time and see if it climbs and climbs each time you rerun autonomous.
Greg McKaskle
|