View Single Post
  #4   Spotlight this post!  
Unread 28-01-2010, 14:11
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: Error: This VI claims to be part of a library

Quote:
Originally Posted by Greg McKaskle View Post
Like most computer error, it makes perfect sense once you know what it means.

-snip-

The fix you probably want is to open the library and add this VI to it, just like the original one was. Then, once the VI says it belongs to the Library, and the Library claims to own the VI, everything will be happy and the error will go away. To avoid this, in the future, I believe it will work better to do a Save As so that LV will update the library too.
True. It does make sense, even from just reading the error message, but I can't find anything about libraries or adding VIs back into them. I've searched through menus, right-clicked all over the place, gone back to the LV opening screen and can't find anything to do it or reassign a VI to a library.

The "Save As" dialog is probably the root of the problem. It is so complex and confusing that you're bound to make a mistake when attempting to copy anything using it. That's where this started, when I tried to make a copy of the VI - with a unique name - so I could customize it. Now neither the copy nor the original works.

Anyway, I fixed the problem by brute force, by copying the entire vi.lib folder from another computer (an installation only a couple days old) and replacing the whole folder. (Beware of copying into restricted directories in Windows Vista/7, you have to do it as Administrator, or else it puts them in your User folder - even with a user with admin privileges - and makes it look like they are where you copied them. I was suspicious that there was no "Overwrite existing file" message at first, then realized that was happening.)
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

Reply With Quote