05-20-2010 03:18 PM
Dear All,
I have fairly rudimentary question. In C++ when I load a DLL a pointer to this DLL stays "alive" untill the program exits. In LabView however when the VI that calls user DLL completes exections, the DLL "disappears" and when I need to make another call to that DLL I need to creat a new pointer to it and so on. Is there a way to keep the pointer to the user DLL from VI call to VI call? That is to say that the first VI for example call a class constructor in the DLL and the subsequent VIs call methods within this DLL. Let me know if I'm thinking too much like a C++ developer and not like a LabView.
Best regards, Vitaliy
05-20-2010 10:49 PM
05-21-2010 02:10 AM
05-21-2010 10:48 AM
Is this one top level VI that calls on several subVIs?
If so, if you call the DLL from the top level VI, it will stay open even if none of the subVIs are running.
Could you please explain how the VIs interact with each other?