09-20-2018 08:13 AM
Hi everyone,
I have some troubles implementing friends Relationship for two seperate packed library.
I have 2 seperate library : "X.lvlib" and "Y.lvlib"
Each of them containing respectively 1 class : "X.lvclass" and "Y.lvclass"
Each of them belongs to 2 seperate projects : "X.lvproj" and "Y.lvproj"
I want to use "Y1.vi" part of "Y.lvclass" into "X1.vi" part of "X.lvclass" so :
In the source code, I'm able to call "Y1.vi" into "X1.vi".
I'm able to compile the packed libraries "X.lvlibp" and "Y.lvlibp"
When it comes to use the "X1.lvlib", I get an error like the "Y1.vi" is not executable.
I am able to have things running when I put both classes in the same library, I mean "X.lvclass" and "Y.lvclass" in a unique Library "Z.lvlib".
My problem is, I need the classes to be in 2 seperate library for the code organization, however I want to control the classes or VIs, like for instance "X.lvclass", that have ability to call the "Y.class" VIs, defining friends relationship.
Thanks in advance for your support
10-02-2018 07:50 PM
Hello Gardy_BIVARD,
I would try defining into the library "Y.lvlib" the class "X.lvclass" as a friend.
All the best,