07-22-2013 08:53 AM
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
07-22-2013 09:12 AM
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.