Finding Unclosed References in LabVIEW Code

Updated Jul 16, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Real-Time Execution Trace Toolkit
  • LabVIEW Desktop Execution Trace Toolkit

Issue Details

I want to find all the places in my code where I forgot to close a reference, in order to prevent memory leaks. How can I do this?

Solution

Depending on your execution target, you can accomplish this by using either the NI LabVIEW Desktop Execution Trace Toolkit or the NI Real-Time Execution Trace Toolkit to track memory allocations in the VIs and subVIs of your project while they are running.

WAS THIS ARTICLE HELPFUL?

Not Helpful