Admin Production ni-theme
Current Publication

Resources Tracked in the Resource Tracking Window

LabWindows/CVI

Resources Tracked in the Resource Tracking Window

The Resource Tracking window only tracks resources that you must explicitly free and that do not belong to other resources. For example, the Resource Tracking window does not track user interface controls because the controls are owned by panels and are freed when the panel is freed.

The Resource Tracking window tracks the following types of resources in the standard LabWindows/CVI libraries and listed instrument drivers:

Note Note  Individual driver libraries might track resources in addition to the ones listed in this topic.

 Standard LabWindows/CVI Libraries

ActiveX Library

  • ActiveX object handles
  • ActiveX server event handles
  • ActiveX server handles
  • ActiveX server module locks
  • ActiveX server objects
  • ActiveX server object locks

Advanced Analysis Library

  • FFT tables
  • IIR filters

ANSI C Library

  • Dynamic memory
  • POSIX file handles
  • StdIO file handles

DDE Support Library

  • DDE clients
  • DDE servers

Formatting and I/O Library

  • File handles

Internet Library

  • FTP connections
  • POP3 connections
  • Telnet connections

.NET Library

  • Assembly handles
  • Object handles
  • Memory blocks
  • Strings

Network Streams Library

Note Note  You must call the CNSFinish function after your program is done using the Network Streams Library to discard and clean up global resources. If you do not call this function after calling other functions in the Network Streams Library, your program might hang or crash when it closes and LabWindows/CVI might not be able to report the leaked resources in your program.
  • Endpoints
  • Data objects
  • Strings
  • Arrays

Network Variable Library

Note Note  You must call the CNVFinish function after your program is done using the Network Variable Library to discard and clean up global resources. If you do not call this function after calling other functions in the Network Variable Library, your program might hang or crash when it closes and LabWindows/CVI might not be able to report the leaked resources in your program.
  • Asynchronous reader variables
  • Browsers
  • Buffered subscriber variables
  • Buffered writer variables
  • Data objects
  • Reader variables
  • Subscriber variables
  • Writer variables

RS-232 Library

  • Serial port connections

TCP Support Library

  • TCP connections
  • TCP server ports

TDM Streaming Library

  • TDMS file handles

UDP Support Library

  • UDP channels

User Interface Library

  • Bitmaps
  • Graph plots
  • Menu bars
  • Panels
  • Windows message callbacks

Utility Library

  • Launched executables
  • Loaded external modules
  • Thread functions
  • Thread locks
  • Thread pools
  • Thread-local variables
  • Thread-safe queues
  • Thread-safe queue read pointers
  • Thread-safe queue write pointers
  • Thread-safe variables
  • Thread-safe variable pointers

 LabWindows/CVI Instrument Drivers

INI-File Instrument Driver

  • INI file handles

Programmer's Toolbox

  • Asynchronous timers
  • Chained callbacks
  • Handles
  • Hash tables
  • Hash table iterators
  • Lists
  • Routed Windows messages
  • System tray icons
  • Windows message callbacks

XML Instrument Driver

  • XML attributes
  • XML documents
  • XML elements