03-19-2013 06:12 PM
I haven't been able to find this issue listed anywhere, but it may already be noted internally.
I found that when building a source distribution that contained polymophic vi's that the built poly's icon would be messed up.
It would have the "?" icon, but the vi was there and so was the icon image information. If I opened the built poly and opened the icon editor the image would be there. I could then accept and save changes.
The fix ended up being making sure that none of the pixals in the origianl poly icons were transparent. If I did this then the source distribution works correctly (polys have icons).
This is using LabVIEW 2012 SP1 F1 32-bit on Win7.
03-21-2013 12:15 AM
Hi klessm1,
Thanks for reporting this! I will attempt to reproduce this behavior and let you know the results.
03-21-2013 12:46 AM
03-21-2013 05:17 PM
Hi klessm1,
I wasn't able to reproduce this behavior on my machine (the polymorphic VI icons displayed normally in my source distribution). Could you attach a simple example code that exhibits the bug you described? Thanks!
03-27-2013 12:08 PM
Sorry it too so long to reply. A smaller build did not exibit the behavior. I am zipping up my entire project and will private message you the dropbox link.
It could have something to do with the VI's originally being from 2011 then converted to 2012 (some were probably even created in 2010 originally).
Here is an image of one of the type defs in the project.
07-12-2013 03:53 AM
Hey WishKebab,
I second this bug (LV 2012, no SP). It's really annoying.
Have you been able to reproduce this. Is there a CAR I could follow up with?
Thanks
Peter
08-12-2013 04:51 PM
The bug happens in LV 2012 SP1 with .ctl files, too.
08-12-2013 06:14 PM
@David_Staab wrote:
The bug happens in LV 2012 SP1 with .ctl files, too.
Are the .ctl files in question typedefs? We saw a behavior similar to this with building PPLs - polymorphic VIs and typedefs would lose their icons (CAR 369472). That CAR was fixed in LabVIEW 2013. I will test this tomorrow to see if the behavior described in this thread is fixed in 2013.
Regards,
Jeff Peacock
Product Support Engineer | LabVIEW R&D | National Instruments
08-12-2013 07:58 PM
No, Jeff, they aren't. Just normal Custom Controls. Here's an example I showed RDR today that causes it to happen.
08-14-2013 11:22 AM
So the bug with losing icons in a polymorphic when building a source distribution is CAR 369472 and is fixed in LabVIEW 2013. The issue with .ctl files is CAR 411507 and although we believe we have found the bug, it is not currently fixed in LabVIEW 2013.
Regards,
Jeff Peacock
Product Support Engineer | LabVIEW R&D | National Instruments