LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to fix a base library that has lost the connection to several VI's?

I am using labview 8.0 and noticed that the NI_AALBase.lvlib lost the connection to all but 4 of the base analysis statistics VI's.  how do you restore the library.  the other VI's are there in the C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\Analysis\baseanly.llb directory.  They will not operate because of the following error:  "This VI is connected with a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File»Disconnect from Library."  I am not clear on how to add these VI's back into the NI_AALBase.lvlib file.
         Thanks in advance to whomever can help.
 
 
0 Kudos
Message 1 of 9
(4,495 Views)

Hi JCFryman,

I'm really puzzled how VIs could have been removed from that library!  This lvlib is locked so you won't be able to add VIs to it.  The easiest thing will almost certainly be to just uninstall and reinstall LabVIEW.  Be sure that after you uninstall, the LabVIEW directory is removed from C:\Program Files\National Instruments.  If it is not, just go ahead and delete it.  This way we can get an uncorrupted version of this lvlib (and any others that might also be affected).

Hope this helps!
Megan B.
National Instruments

0 Kudos
Message 2 of 9
(4,473 Views)

Megan,

    Thanks for the help.  Reinstalling did fix the problem.  Just wish I knew what caused it in the first place!

         thanks again,

             Craig

0 Kudos
Message 3 of 9
(4,461 Views)

Hi Craig,

Yes, it is a mystery how those VIs could be removed from a locked lvlib!  My best guess is that it may have had something to do with moving around VIs in the vi.lib folder.  If the problem occurs again or if you figure out what the problem was, please let us know!

Best Regards,
Megan B.
National Instruments

0 Kudos
Message 4 of 9
(4,454 Views)

I've just experienced this same problem.  I noticed this after I performed a mass compile.  Some library vi's became disconnected.  Here is the error message. 

This VI claims to be part of a library, but that library does not claim to own this VI.

This VI is connected with a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File»Disconnect from Library.

The library is: NI_Variable_RT.lvlib: lvvar_RTFIFORead Bool.vi

Unfortunately, I must get the IT department to perform a fresh re-install.

0 Kudos
Message 5 of 9
(4,187 Views)

Hi,

Is the library locked? If not, you can follow the instructions given in the error message:

 "Add the VI to the library again or select File»Disconnect from Library."

Otherwise, re-installing is probably the best option.

 

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 6 of 9
(4,171 Views)
Hi,

Yes the library is locked; it is an NI distributed library. 

I realized that the library is part of the Real Time module and I tried repairing the module a couple of times with no success.  I then renamed the folder containing the libary, e.g. folder_name to folder_name_old, and then repaired the module again and everything worked.  Renaming the module tricks the installer into thinking that the folder is missing and it puts the folder back, with all the libraries intact.  (This method ensures that you don't damage your installation permanently by deleting the folder.)

ndo
0 Kudos
Message 7 of 9
(4,164 Views)
By the way, I have LabView 8.2.1

ndo
0 Kudos
Message 8 of 9
(4,163 Views)
Thanks for sharing! I am glad everything is running smoothly now.
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 9 of 9
(4,150 Views)