12-26-2006 03:38 PM - edited 12-26-2006 03:38 PM
Message Edited by Dauntless on 12-26-2006 03:46 PM
12-26-2006 03:50 PM
There are some NI programs which were written in LabVIEW and so need the LV RTE in order to run.
Theoretically, the RTE should be properly installed when these programs are installed, but for some reason maybe it wasn't. Maybe one of the NI services running on your machine tries to do something when you're opening VB or maybe your code calls some NI component?
I used to have something similar where for some reason going into certain websites prompted me to insert the LV 7.1 CD so that I can configure the RTE. I think it stopped after doing it one time.
You can try downloading the 7.1 RTE and installing it to see if it will stop. If not, you can try pointing the dialog at the MSI once to see if that will stop it.
12-27-2006 08:42 AM
12-27-2006 11:09 AM
Does this happen in all VIs or only in VIs which call functions from this DLL?
I'm assuming only VIs which call this DLL.
Basically, LV saves relative paths to files. For example, it saves the path to the DLL as "go up two levels from where this VI is saved, find a directory called "whatever" and look for the DLL in there".
If you move the VI to another directory, LV will not find the DLL where it expects to find it and will start searching for it in some defined search locations.
I'm not sure why it hangs, though. If LV goes through all the search locations without finding the DLL, it should pop up a dialog asking you to locate the file.
12-27-2006 11:15 AM
12-27-2006 01:27 PM
I can't say I've seen something like this, and if I'm not mistaken, Windows is supposed to allow each process to load its own copy of a DLL (at least for threadsafe ones), but I would suggest searching the site for details of this error.
Is this your DLL or a Windows DLL?
Can you try renaming it and seeing if you can load it then?