02-01-2013 03:54 PM
Is there a way to programmatically get text from an existing vi's icon and programmatically enter text into a new vi icon?
02-01-2013 04:01 PM
You might want to look at the source for the icon editors here.
02-04-2013 11:44 AM
Hello Pat,
As far as I am aware, there is no way to easily do this programmatically with property/invoke nodes. You could try calling the VI's icon image using an invoke node and use some type of image manipulation to create the text on the icon, then recreate the image using an invoke node. Please let me know if you have any other questions regarding this issue.
Doug W
Applications Engineer
02-04-2013 12:39 PM - edited 02-04-2013 12:42 PM
there is a little-known Icon API in VI.llb\LabVIEW Icon API. Here is a use example
Used to remove blank banners from a template created project.
The same library puts text in banners for projects when desired
02-04-2013 01:25 PM
Thank you Jeff, do you know if it gives the icon text as one of the layers?
Thank you
02-04-2013 04:01 PM
@Pat_H wrote:
Thank you Jeff, do you know if it gives the icon text as one of the layers?
Thank you
If text is in a layer the layer should contain text or text lines. I've never dug deeply only under the expert tutaledge of Darren N. to get one feature out of a project template. The VI documentation should be top notch though
If not.... you could fix it LOL