10-10-2007 08:23 AM
10-11-2007 09:23 AM
10-11-2007 09:30 AM
In my almost simulataneous post I mentioned a similar problem where LabVIEW 8.5 claims it can't find a vi, with the last search path pointing at the .llb where I manually find and select it. It then sat there for several minutes, with Windows' Task Manager showing LabVIEW as not responding. Finally it "woke up". I will say that this is a system being used to develop a run-time application and the target is currently connected, but it doesn't do this on all my stuff, just this one project. Why it doesn't see the vi in the very .llb that I end up getting it from is a mystery to me.
10-11-2007 11:47 AM - edited 10-11-2007 11:47 AM
Hi Lars,
Yes, the VI works fine. I simply need to ignore the suppedly missing VI, and everything is fine. I can run it without problems. The run button is not broken. Yes, I now the name of the VI. It's really not on the block diagram.
Every time I open the IV, I get this same thing again. Labview thinks the VI is missing, searches for it, can't find it, and then ask me to select the correct VI. If I do that, Labview immediately crashes. If I cancel that dialog, everything is fine.
To get rid of Labview asking me to find this VI, I made a dummy VI with that name. That works, in the sense that it doesn't ask for it anymore. If I then open the VI, and use "search & replace", the VI is listed there... But if I then search for it, there are no items found. So it's there.. and not there.
The VI's are not on same directory. The main program is on a network share. This "missing" VI used to be part of a device driver, so that's on the C drive in instr.lib. I converted the device driver to a lvlib, and removed the extra text identifying it as part of it. So the VI called "SR5113 - Initialize" is now simply called "Initialize".
The "missing" VI has something similar... It was called: "SR5113 Convert Gain to Coarse & Fine" and now I stripped the SR5113.
Ofcourse, loading the main program, I would have expected to simply point to the new names... But somehow, that doesn't work correctly. I then simply did it by hand, but that didn't help. Somehow, it still thinks that this particular VI should be loaded, although it's nowhere on the block diagram....
Now that I made this dummy VI, the missing VI is also listed in the VI hierarchy... but if I then use "Find All Instances" it isn't there...
Message Edited by Anthony de Vries on 10-11-2007 06:51 PM
10-18-2007 08:24 AM
10-18-2007 09:54 AM