LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Asynch call to dynamic dispatch VI - will it be available?

Yeah, I was also suspecting the garbage collector...

 

You're right, that's exactly the issue! There's no error if you keep the main VI busy.

 

Is it a bug or a feature of LV's garbage collector? I mean if the reference is not dead and it was created by this application, why does LV destroys it?

 

Anyway, thanks for the help!

 

Peter

0 Kudos
Message 11 of 12
(928 Views)

It's definitely not a bug. It's an explicit design decision, which was presumably made quite a few years ago. In the future NI might decide to change it so that a reference is destroyed only after all its users go idle, but for now it depends on the hierarchy where it was created.


___________________
Try to take over the world!
0 Kudos
Message 12 of 12
(926 Views)