09-29-2015 08:42 AM
Hi All,
I have developed a custom control in LabVIEW2010 with a picture control in it. I was using the custom control in various other subVIs also developed in LabVIEW2010. But when I upgraded the entire code to LabVIEW2014 I found all the enums associated with the custom control relinked to the default value.
Even though i was able to rectify the issue, I am curious to know the reasons behind it. Any posts / answers are welcome. Thanks in advance.
Regards,
S.P.Prasaanth
09-29-2015 02:26 PM
While now quite dated, this nugget spoke of the issue and a work-around that is still valid.
In a nugget-shell...
LV will on occation completely delete and replace cluster instances. When this happens all default values in a control can be lost. See that nugget for my suggestion of using a sub-VI to wrap-up a bundle by name.
Ben