crelf Posted December 20, 2006 Report Share Posted December 20, 2006 Does anyone know of an easy method to get some sort of reference to a VI's icon? I'm not talking about the generic "I'm-a-VI" one you see from your OS, but the actual icon you create when you make your VIs. I know that I can get it from the VI's binary, but I'd much prefer loading it from a VI reference and displaying it in a picture control or the like, but I can't find an appropriate property... PS: actually, it'd be kind of cool if someone wrote some code that gets the subVI's icon from its' binary for the Code Repository... Quote Link to comment
Jim Kring Posted December 20, 2006 Report Share Posted December 20, 2006 Does anyone know of an easy method to get some sort of reference to a VI's icon? I'm not talking about the generic "I'm-a-VI" one you see from your OS, but the actual icon you create when you make your VIs. I know that I can get it from the VI's binary, but I'd much prefer loading it from a VI reference and displaying it in a picture control or the like, but I can't find an appropriate property...PS: actually, it'd be kind of cool if someone wrote some code that gets the subVI's icon from its' binary for the Code Repository... Moore Good Ideas has a VI that reads the icon from the VI's binary in their MGI Freeware VIs. Also, In LabVIEW 8.2 (and maybe earlier) you can use the VI Icon methods of the VI class (see below). Cheers, Quote Link to comment
Mark Balla Posted December 20, 2006 Report Share Posted December 20, 2006 Does anyone know of an easy method to get some sort of reference to a VI's icon? I'm not talking about the generic "I'm-a-VI" one you see from your OS, but the actual icon you create when you make your VIs. I know that I can get it from the VI's binary, but I'd much prefer loading it from a VI reference and displaying it in a picture control or the like, but I can't find an appropriate property...PS: actually, it'd be kind of cool if someone wrote some code that gets the subVI's icon from its' binary for the Code Repository... Your kidding right? My Icon editor gets the Icon form a vi via the reference. And if I recall you were the one whom approved it for the CR. Quote Link to comment
crelf Posted December 20, 2006 Author Report Share Posted December 20, 2006 My Icon editor gets the Icon form a vi via the reference. Awww crap! I'd forgotten all about that! thanks Mark And if I recall you were the one whom approved it for the CR. Ummmm errr, I'm sure if was just some random member of the LAVA Certified team Quote Link to comment
martin@aerodynamics Posted December 21, 2006 Report Share Posted December 21, 2006 Does anyone know of an easy method to get some sort of reference to a VI's icon? I'm not talking about the generic "I'm-a-VI" one you see from your OS, but the actual icon you create when you make your VIs. I know that I can get it from the VI's binary, but I'd much prefer loading it from a VI reference and displaying it in a picture control or the like, but I can't find an appropriate property...PS: actually, it'd be kind of cool if someone wrote some code that gets the subVI's icon from its' binary for the Code Repository... In my ICON Editor is this function also used (the Vi is already in the Code Repository) Vi, Vit, Ctl Icon and Description Editor Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.