12-22-2011 09:24 AM
Whenever an .llb can't find a .vi it scours the hardrive and local network looking for it and I really need to stop this. I need to restrict the .llb to only use .vi's that are contained in the .llb (except for system .vi's of course)
12-22-2011 09:27 AM
The only way you can really do this would be to make sure that the VIs it is looking for are in the llb. I would also suggest that you convert your llb into a lvlib. the lvlib like the project does a better job managing cross linking issues.
12-22-2011 09:30 AM
Many times it is unknown that the vi is missing until you run it and BAM off goes Labview scouring for it.
I read that .lvlib will do the trick but I dont have the time to convert my .llb's at the moment.
I was hoping for a checkbox somewhere.
12-22-2011 10:17 AM
01-06-2012 03:34 PM
You may consider .llb obsolete but these .llb's have been around for years with thousands of hours behind them. And they were not built wrong, this happens when someone accidently deletes a .vi from the .llb or someone uses the insanely confusing 'Save As' menu. Either way there should be a check box to restrict non system .vi's to be local to an .llb this way if a problem occurs it can be fixed correctly instead of using one named the same in some completely different project.
01-06-2012 03:44 PM
I would consider converting the llb to a lvlib. Someone with more scripting knowledge would probably be able to help with a VI to do this automatically. With an lvlib you would get the protects you are looking for. In addition you would know if something was deleted.
01-06-2012 10:51 PM
You should also keep in mind that with LLBs, if one VI in the LLB gets corrupted, the entire LLB is corrupted. That doesn't happen with project libraries. Something to consider when trying to protect those "thousands of hours".
@paulplasma wrote:
Whenever an .llb can't find a .vi it scours the hardrive and local network looking for it and I really need to stop this. I need to restrict the .llb to only use .vi's that are contained in the .llb (except for system .vi's of course)
You can configure the search paths for LabVIEW to use when looking for new VIs. This will limit where LabVIEW looks for missing VIs. This is documented in the LabVIEW Help.
01-07-2012 01:13 AM