Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66712

Cannot get dependency VI names from VI in packed library

$
0
0

I'm trying to build a packed library that utilizes OpenG's Dictionary functionality. The VIs work from the development environment, and built executables that utilize the library work, but the .lvlibps do not. I've traced the (first) error to Dictionary Open Object Reference, which simply takes a VI name and opens a VI reference. 

Nokaroa_0-1712669962375.png

The Data Store VI Name simply runs the Dictionary Object Data Store VI (a FGV vi that doesn't do anything here) and uses the depreciated "Callees" property to get the name. 

Original Dict Data Store VI snippet.png

Simple enough, except when I build a lvlibp, even after double checking that the dependency is in the packed library, "Callees" comes up blank. I've made a modified version that uses "Get VI Dependencies: Dependency Names", but the same behavior is observed. It works in the development environment, but it's blank in the packed library.

Modified snippet.png

I have tried making sure to include the dependency in the build (it's confirmed by the build log), moving it from user.lib to the same directory as the caller, playing with settings in the packed library build. No use.

 

Ultimately, it's just returning a string name, but when I hardcode the name and try to run the call by reference with that, it cannot find the VI. I feel like solving this issue would solve that one so I am prioritizing this one.

 


Viewing all articles
Browse latest Browse all 66712

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>