LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When does LabVIEW release a .dll file after Call Library Function call?

Unless you call LoadLibrary() explicitedly the DLL will be released as soon as the LAST VI that contains a Call Library Node that references the DLL is unloaded from LabVIEW.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 11 of 12
(1,369 Views)

The fact LabVIEW keeps the DLL in memory is a huge programming feature!

 

When programming and debugging a DLL that creates handles to objects (libxml2 as an example), it's awesome to be able to keep those objects loaded in memory, make changes to your VI and rerun your VI - all without having to do all the things that got you to that specific state in your DLL.  Awesomeness squared, I tell you!!!

 

It means I can run and stop and change my VI without having to re-initialize my DLL memory space.  It's the advantage of working with LabVIEW as an interpreter.

0 Kudos
Message 12 of 12
(608 Views)