LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enum reinitialized to default when upgraded from LabVIEW2010 to 2014

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

0 Kudos
Message 1 of 2
(2,828 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,790 Views)