LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JohanHoltby

Destructor LabVIEW

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

It would be nice to have a callback to register when a VI is unloaded from memory.

I normaly use FGV pattern to encapsulate my instruments. I would be neet to register a "close" VI when you initilize the FGV VI and then when the FGV is unloaded the close VI closes the refereances (and transform the instrument to a safe state).

 

To conclude I want a similar way to  C++ destructor.

21 Comments
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.