LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: Polymorphic vi icon removed during source distribution

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.

Message 1 of 10
(3,442 Views)

Hi klessm1, 

 

Thanks for reporting this!  I will attempt to reproduce this behavior and let you know the results.  

0 Kudos
Message 2 of 10
(3,404 Views)
By the way i think it also occurs with type defs as well.
Thanks.
0 Kudos
Message 3 of 10
(3,401 Views)

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!

0 Kudos
Message 4 of 10
(3,387 Views)

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.

LVIcon

0 Kudos
Message 5 of 10
(3,352 Views)

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

CLD | Alliance Partner | Web data storage and visualization | daq.io
0 Kudos
Message 6 of 10
(3,247 Views)

The bug happens in LV 2012 SP1 with .ctl files, too.

0 Kudos
Message 7 of 10
(3,162 Views)

@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

0 Kudos
Message 8 of 10
(3,151 Views)

No, Jeff, they aren't. Just normal Custom Controls. Here's an example I showed RDR today that causes it to happen.

0 Kudos
Message 9 of 10
(3,144 Views)

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

0 Kudos
Message 10 of 10
(3,114 Views)