LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to edit the VI icon with scripting ?

Highlighted

Hi all

I would love to edit the VI icon via VI scripting

Just to write the VI name into the Icon

Is that possibility

Jürgen

0 Kudos
Message 1 of 2
(3,000 Views)

Hello,

Yes, it is possible.

I suggest you take a look at Mark Balla's Icon Editor on the LAVA code repository, it is really great and it will show you how you can write text on a VI's icon programmatically.

Here's the method that can set the icon :

icon.jpg

Now on : how to generate the image data cluster from the text you want to put on the icon, I let you take a look into the code.

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 2
(1,379 Views)