ni / labview-icon-editor

Source for LabVIEW's icon editor
MIT License
15 stars 11 forks source link

Force Icon Editor to Unload - Linking to missing file in resource folder under LabVIEW installation. #29

Open JayKayAce opened 3 months ago

JayKayAce commented 3 months ago

The tooling "Force Icon Editor to Unload" is linking to a non-existing VI in LabVIEW \resources..., This is present the first time a user decides to unload the Icon editor.

image

I think the tooling should load and execute "\labview-icon-editor\resource\plugins\NIIconEditor\Miscellaneous\Icon Editor\Get Icon Editor Context.vi" with a relative path instead.

Workaround: find and select the function inside the resources folder when LabVIEW searches for that.

JayKayAce commented 3 months ago

The issue occurs because "Force Icon Editor to unload.vi" is called inside "Prepare LV to Use Icon Editor Source.vi" here image

One way to solve the issue would be to load the Get Icon Editor Context into memory using the relative path before calling and running "Force Icon Editor to unload.vi" by reference using Run VI.

svelderrainruiz commented 3 weeks ago

This issue is fixed already

svelderrainruiz commented 2 days ago

could this be related to not setting the localhost.library paths token before opening the project? i verified this on the main branch and i am not seeing this issue. @JayKayAce