LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvclass stuck in project's "Items in Memory"

Background

I have three LabVIEW projects that make use of LVOOP classes to interface with cameras. Each project deals with essentially the same code, except that they use different classes of cameras. Let's call the camera classes Camera A, Camera B, and Camera C. These classes of cameras all have one parent class, let's call it Camera Parent, that lives in all the projects.

 

Issue

At some time I managed to get the Camera B.lvclass stuck in the "Items in Memory" of the Camera A project. Rest assured that my Camera A project does not need Camera B's lvclass. The reason that this is an issue that Camera B.lvclass will require drivers that I do not wish to include in Camera A's installer.

 

Workaround

To prove this, I manually moved all of the items, files and classes from Camera A.lvproj to a new project and the Camera B.lvclass no longer appeared in the "Items in Memory" of the new project. The disadvantage to this is that I also have to respecify all my Conditional Disable symbols and Build Specifications in the new project.

 

Question

Does anyone know how to remove the Camera B.lvclass from "Items in Memory" without having to go through all the work in my workaround? Furthermore, how do I avoid this problem in the first place?

 

0 Kudos
Message 1 of 2
(3,515 Views)
Hi,  Classes are tricky.  If they've ever been included in that project, they seem to stick around even if you remove them.  If you are sure that you have removed all reference to them in your VI's, then you can refresh the dependency list by right clicking dependencies and selecting "Refresh".  The rebuild your executables.  This shoudl remove references to that class.  If this does not work, try saving and reloading the project.
Chris Bakker
SET Americas
CEO

0 Kudos
Message 2 of 2
(3,485 Views)