Closing LabVIEW References Causing Delay

Updated May 29, 2018

Reported In


  • LabVIEW

Issue Details

I open references in my LabVIEW code and want to close them to avoid reference leaks. However, it takes my code a lot of time to close all of the references I open. How can I improve this?


You can reduce the amount of time spent closing references by calling Close Reference less often. You can do this either by leaving references open if they're going to be re-used, only closing them when your application is finished using them, or you can close multiple references at once by passing an array of references in to Close Reference as described in this tutorial.


Not Helpful