09-10-2003 02:51 AM
09-10-2003 09:15 AM
09-11-2003 08:49 AM
09-11-2003 08:54 AM
11-29-2005 03:38 PM
I experienced a problem with LabVIEW 7.0 shutting down unexpectedly. It may be completely unrelated, but I thought I'd mention it just in case. My problem was that I was calling a DLL that used a reference handle. At the end of my test (using TestStand), the test closed, and thus the DLL was unloaded from memory as well. Because there was still a handle open to this DLL, LabVIEW must not have known how to handle this and shut down (or it confused Windows and it shut down LabVIEW). In any case, the solution was to have a VI stay in memory which calls this DLL, and put the DLL in a the true case of a case statement wired with a constant false. Thus, the DLL is never actually called by this VI, but it keeps the DLL in memory.
So if you call any VIs dynamically, etc., where a VI could be unloaded from memory, check those VIs and make sure you aren't leaving any references open or something like that.
Hope this is in some way helpful.
Tom
11-29-2005 05:01 PM