Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Libraries loaded in Dependencies even when not called

I have an lvlib with VIs that use AF. I built it into a package, and set each vi, ctl, lvclass and the lvlib file to "locked, no password". All is well.

I started a new project, created some new actors that do not call the aforementioned lvlib files. However, the lvlibs are listed in dependencies. I am not able to tell why by viewing VI Heirarchy. I tried "Find Callers" on each VI and class in the lvlib (it's not large). A "Do.vi" shows "Actor Core.vi" as its caller. Mass compile and force recompile are not helping. It feels like it's time to recreate the project from scratch. Just in case - does anyone have any other linkage-tracking/fixing tricks?

0 Kudos
Message 1 of 5
(4,486 Views)

VIPM package, not ppl. It was a way to install the lvlib on a development machine.

0 Kudos
Message 3 of 5
(3,345 Views)

Ah, a "VI Package". To be fair, I thought the same thing as Oli.

Can you post a screenshot of your VI hierarchy to help us understand the problem?

0 Kudos
Message 4 of 5
(3,345 Views)

The heirarchy only showed that the lvlib (and its VIs) in question was under "My Computer". That means a project linkage, perhaps, so I opened the lvproj file in a text editor:

  <Item Name="Dependencies" Type="Dependencies">
   <Item Name="vi.lib" Type="Folder">
    <Item Name="Actor Framework.lvlib" Type="Library" URL="/&lt;vilib&gt;/ActorFramework/Actor Framework.lvlib"/>
    <Item Name="Error Cluster From Error Code.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Error Cluster From Error Code.vi"/>
    <Item Name="Reply Msg.lvclass" Type="LVClass" URL="/&lt;vilib&gt;/ActorFramework/Reply Msg/Reply Msg.lvclass"/>
    <Item Name="Clear Errors.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Clear Errors.vi"/>
    <Item Name="Time-Delay Override Options.ctl" Type="VI" URL="/&lt;vilib&gt;/ActorFramework/Time-Delayed Send Message/Time-Delay Override Options.ctl"/>
    <Item Name="Time-Delayed Send Message Core.vi" Type="VI" URL="/&lt;vilib&gt;/ActorFramework/Time-Delayed Send Message/Time-Delayed Send Message Core.vi"/>
    <Item Name="Time-Delayed Send Message.vi" Type="VI" URL="/&lt;vilib&gt;/ActorFramework/Time-Delayed Send Message/Time-Delayed Send Message.vi"/>
   </Item>
   <Item Name="user.lib" Type="Folder">
    <Item Name="xxxx_CRC_CCITT.lvlib" Type="Library" URL="/&lt;userlib&gt;/xxxx Tools/CCITT/xxxx_CRC_CCITT.lvlib"/>
    <Item Name="xxxx_xxxxx Byte Parser.lvlib" Type="Library" URL="/&lt;userlib&gt;/xxxx Tools/xxxx Byte Parser/xxxx_xxxx Byte Parser.lvlib"/>
   </Item>
  </Item>

After deleting the "user.lib" entry and loading the project, the dependency was gone, and did not reappear after running code or mass-compiling.

However, I placed one of the VIs from the lvlib, then deleted it - and the lvlib is again listed in the dependencies.

0 Kudos
Message 5 of 5
(3,345 Views)