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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.