LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove duplicate lvclass from a project

I have a program that is pulling in a duplicate lvclass.  It is not allowing me to delete it from the program.  The sequence.lvclass under the nFuse LB is incorrect.  It should only have the one under EOL Test classes. How do I delete the incorrect lvclass and remove it from the project?

Thank you.

PKozlowski_0-1667421137662.png

PKozlowski_1-1667421198350.png

 

0 Kudos
Message 1 of 4
(812 Views)

Ah, the horrors of cross references! Fitting this time of year.

You've managed to link the wrong class (sometimes it's LVs fault), some tips:

R-click the offending class and Find callers. Replace/relink until clear.

Rename/zip/hide the offending class to force the other one to search/ask for the right one.

Sacrifice stuff to the old gods.

Cry.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(766 Views)

The offending lvclass has been removed. When I click on it to find anything, it says "No items were found".

0 Kudos
Message 3 of 4
(761 Views)

With LV closed, I manually delete the offending folder, open the ailing project and manually heal it.  All the things that used to point to the wrong folder either heal themselves or I go and manually point it to the right folder.

 

To avoid this, I delete any projects on my computer that could have even a remote chance of having the same files in them.  I can always get them from the repo when I'm ready to work on them again.  This is my favorite way of making sure nothing points to the wrong place when I duplicate a project.  And, in fact, this is a great way to discover previously unknown crosslinks.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(736 Views)