LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extract and Set Icons

Hi,

I found that VI Methods >> Set VI Icon allows you to programmatically set
the icon at least using Labview 6.1. However I cannot find a way to
read/extract the icon from a VI.

I found an Icon Extractor example vi at www.mooregoodideas.com but this
parses through the actual file, and that doesn't seem to work for VI's
within LLBs.

Is there a cleaner way than parsing through the actual file? I would have
expected a corresponding VI Property to read icon but I can't find it.

Thanks

-joey
0 Kudos
Message 1 of 3
(2,667 Views)
joey,
the other way is to print VI to HTML and read the icon from the picture file generated, which is not cleaner than that Icon Extractor tool. There is no VI property to read the icon, only one to set it.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 3
(2,667 Views)
For a running VI, you can always capture that part of the front panel,
and save to a bmp file. See http://gtoolbox.yeah.net



Joey Oravec wrote:
> Hi,
>
> I found that VI Methods >> Set VI Icon allows you to programmatically set
> the icon at least using Labview 6.1. However I cannot find a way to
> read/extract the icon from a VI.
>
> I found an Icon Extractor example vi at www.mooregoodideas.com but this
> parses through the actual file, and that doesn't seem to work for VI's
> within LLBs.
>
> Is there a cleaner way than parsing through the actual file? I would have
> expected a corresponding VI Property to read icon but I can't find it.
>
> Thanks
>
> -joey
0 Kudos
Message 3 of 3
(2,667 Views)