From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Packed Project Library error: contains compiled code

Solved!
Go to solution

I was trying to figure out how the packed library works for LVOOP, but face a wall with an error and don't know how to solve it.

 

i) I made a class 'Class 1', which I then put in a library called 'library'.

ppl_01.PNG

 

ii) I create a Packed Library and set the top-level library in the source files

ppl_02.PNG

 

iii) Once compiled and saved, I create a new project and add the newly create Packed Project Library to it. Second I add a newly create class, named 'Class 2'.

ppl_03.PNG

 

iv) I set the inheritance of the Class 2 as a child of Class 1.

ppl_04.PNG

 

v) select new VI for Override

ppl_05.PNG

 

vi) get Error 1035

ppl_06.PNG

 

 

What am I doing wrong or how to solve this?

Message 1 of 3
(2,661 Views)
Solution
Accepted by topic author Harlequinade

The default setting for packing VIs into lvlibp's will remove the block diagram.

You must not remove the block diagram for dynamic dispatch VIs you are going to override.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,636 Views)

Thanks, that indeed did the trick.

 

Just to be clear for future users. Unset this tick mark in "Source File Settings":

 

ppl_07.PNG

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