Custom Icon Editor
The Icon Editor like many other elements in the LabVIEW IDE are programmed in G. However, the Icon Editor is distributed as a PPL and is not editable. NI has distributed the source code for the Icon Editor through the forums to allow users to modify and build their own PPL replacement.
Getting the Source
You can get the source from the Enhanced Icon Editor forum. It will also be included here for accessibility:
- Icon Editor Source for LabVIEW 2012
- Icon Editor Source for LabVIEW 2013
- Icon Editor Source for LabVIEW 2014
- Icon Editor Source for LabVIEW 2015
- Icon Editor Source for LabVIEW 2016
- Icon Editor Source for LabVIEW 2017
- Icon Editor Source for LabVIEW 2018
- Icon Editor Source for LabVIEW 2019
- Icon Editor Source for LabVIEW 2020
- Icon Editor Source for LabVIEW 2021
- Icon Editor Source for LabVIEW 2022 Q3
- Icon Editor Source for LabVIEW 2023 Q1
- Icon Editor Source for LabVIEW 2024 Q1
To Install
To install the code, do the following:
- Rename
[LabVIEW 20xx]\resource\plugins\lv_icon.lvlibp
, the shipping icon editor, to lv_icon.lvlibp.ship to "hide" it. - Archive
[LabVIEW 20xx]\vi.lib\LabVIEW Icon API
to preserve the shipping copy. Use your archive program of choice (e.g. 7-Zip). - Open the attached ZIP file and copy the two directories into your [LabVIEW 20xx] directory. This copies over the main VI
[LabVIEW 20xx]\resource\plugins\lv_icon.vi
and all associated support files. - If you try to run from Source, you will probably get a memory error. Open the main VI (
[LabVIEW 20xx]\resource\plugins\lv_icon.vi
) and find the Disable Diagram Structure toward the start of the flow. Enable the disabled diagram, run it once, and then switch it back to disabled. Now the source will run both launched from the VI, Library, and Class edit Icon functions and by just running this VI for testing. - You can use the build spec in the provided project to re-build it as a PPL However, this will delete the source to avoid conflicts as part of its post-build step. BACK UP YOUR SOURCE FIRST.