Finding Unclosed References in LabVIEW Code

Updated Sep 22, 2023

Reported In


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

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)
  • Windows

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?


Depending on your execution target, you can accomplish this by using either : Both options help track memory allocations in the VIs and subVIs of your project while they are running.

Additional Information

Prior to LabVIEW 2014, Real-Time Trace Viewer was packaged as a separated toolkit, under the NI Real-Time Execution Trace Toolkit name.