Programmatically Edit VI Icons and Templates in LabVIEW

Updated Jun 8, 2023

Reported In

Software

  • LabVIEW

Issue Details

I would like to make programmatic or automated edits to the icons and templates I'm using for my VIs. Is there a way to do this in LabVIEW?

Solution

The LabVIEW Icon API allows users to programmatically generate or edit VI icons, templates, and text layers using LabVIEW Object-Oriented Programming . This API installs with LabVIEW, and can be found at C:\Program Files (x86)\National Instruments\<Your LabVIEW Version>\vi.lib\LabVIEW Icon API by default. Example implementations of the API can be found in the same location in the Examples folder, which can be used to get an understanding of the API's implementation and execute some common applications of the Icon API.