Skip to content

crossrulz/labview-icon-editor

 
 

Repository files navigation

Icon Editor for LabVIEW

This repo contains the source files for the LabVIEW icon editor. You can use this code as a starting point for creating a custom icon editor. Refer to the CONTRIBUTING document for information about submitting changes for inclusion with future versions of LabVIEW.

Minimum Compatible LabVIEW Version

LabVIEW source is saved in 21.0 (LabVIEW 2021) format.

Editing Guide

Because the icon editor is part of the LabVIEW development environment, you need to make changes to installed files before editing this project.

Complete the following steps to edit this project:

  1. Clone this repo into a development location (e.g., C:\dev).
  2. Run Tooling\Prepare LV to Use Icon Editor Source.vi. This will perform the following steps, which you can alternatively perform manually:
    • Delete <LabVIEW>\resource\plugins\lv_icon.lvlipb
    • Delete <LabVIEW>\vi.lib\LabVIEW Icon API
    • Set LocalHost.LibraryPaths in your labview.ini file to the location of this project. For example:
      • LocalHost.LibraryPaths="C:\dev\labview-icon-editor"
  3. Open lv_icon_editor.lvproj in LabVIEW.
  4. The top-level VI is in the Project Explorer at My Computer » resource/plugins » lv_icon.lvlib » lv_icon.vi.

Distribution Guide

Complete the following steps to distribute your custom icon editor to another machine.

First, build the Editor Packed Library build specification in the project to create lv_icon.lvlibp.

Then, on the machine where you want to install your custom icon editor:

  1. Rename <LabVIEW>\resource\plugins\lv_icon.lvlibp, the shipping icon editor, to lv_icon.lvlibp.ship to "hide" it.
  2. Archive <LabVIEW>\vi.lib\LabVIEW Icon API to preserve the shipping copy. Use your archive program of choice (e.g. 7-Zip).
  3. Copy the packed library and support files that you developed with this project into the <LabVIEW> directory:
    • <LabVIEW>\resource\plugins\lv_icon.lvlibp
    • <LabVIEW>\vi.lib\LabVIEW Icon API\*

About

Source for LabVIEW's icon editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • LabVIEW 64.1%
  • HTML 35.9%