Calling API within a VI distributed in a PPL generates error 1026 #223
Replies: 8 comments
-
@ThoricSolutions, I'm willing to dig into it. If you can give me some code that shows this issue, that would help. I'm mostly looking for the context of what your PPL is trying to do, but actual code always helps the debug process. |
Beta Was this translation helpful? Give feedback.
-
@crossrulz i can create an experimental branch for you once you are ready to begin the experiment. |
Beta Was this translation helpful? Give feedback.
-
@svelderrainruiz Go ahead and make it. It will be next on my list after I finish up some CTI stuff. |
Beta Was this translation helpful? Give feedback.
-
@gregr-ni @eyesonvis i will open this issue for experimentation, if you have additional context please let us know. This may be a dumb proposal, but what if we include Flatten Load & Unload.vi on the PPL? I had to include LoadGraphics.vi on our previous release in order for the icon editor to work on clean systems. ![]() @crossrulz once the experimental branch is up, you can make the experiment and our github action will build the VI Package for you. |
Beta Was this translation helpful? Give feedback.
-
There is also code that looks like it is part of the Icon Editor API, but is not in this repo: resource\plugins\IconEditor\UnpackedPackedIconMutation |
Beta Was this translation helpful? Give feedback.
-
Definitely willing to discuss adjusting the line between what is in LV and what is in this repo for things that are icon editor specific. Things that could be useful in other general programming scenarios should probably stay in LV or become their own addon. The icon editor PPL build will pull in any dependencies so it will be self contained anyway. |
Beta Was this translation helpful? Give feedback.
-
@crossrulz i created experimental feature branch 141-callling-api-ppl-error-1026 |
Beta Was this translation helpful? Give feedback.
-
@crossrulz i vote that we move this into a discussion, since it is an experimental branch there is no guarantee this will be able to be closed in 3 weeks or less. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Calling "Save VI Icon" within a VI that's distributed as a PPL causes error 1026 from dependency "lv_icon.lvlib:Flatten Load & Unload.vi".
This appears to be because this VI first performs a check to whether it is inside a PPL, and if true it generates a relative path to a supporting VI for dynamic calling. However, the relative path will be incorrect since the PPL location is not considered, causing error 1026.
Beta Was this translation helpful? Give feedback.
All reactions