LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to release a dll file after the call?

I have a VI that uses CLF nodes to call a .dll file. I checked the Dynamically Load and Unload method. But my problem is I called lots of CLF nodes (pointing to the same dll file) and I want to release the dll file after the VI stops. I don't even know some of the CLF nodes will execute or not since they are in the different even loops. Is there any solution like the func "Request Deallocation" does?

 

Thanks,

0 Kudos
Message 1 of 3
(2,200 Views)

I did find this VI that is included with LabVIEW called Request Deallocation Funcation. If this is the last portion of the code in your VI it will deallocate the space used by the VI.

Stephanie A.
Americas Marketing Manager
National Instruments
0 Kudos
Message 2 of 3
(2,165 Views)

Thanks for you input.

 

No. I don't know how this Request Deallocation Funcation works but it won't unlock the dll file unless I close the labview.

0 Kudos
Message 3 of 3
(2,158 Views)