LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Class private data names don't match labels for typedefs

I have a LabVIEW class with a private data cluster.  Inside that cluster are several items including typedefs.   If it matters, they are regular typedefs, not strictly typed.

 

However, when I try to unbundle the private data, the names do not match the labels on the private data.  Rather, they match the label if I were to open one of the typedefs. I have checked to make sure that the labels are showing, not the captions.  

 

This seems like a possible LabVIEW 2016 bug.  Has anyone else seen this?  It's possible I'm doing something wrong.  This is the second case I've seen of this happening.  Images below to help illustrate what I'm talking about.  In the cluster, the item should be showing up as "Sensor_Config_A".

Capture.PNG

 

Capture2.PNG

 

EDIT: The workaround seems to be deleting the items out of the private data cluster and then reinserting them in.  The names are then fixed...

0 Kudos
Message 1 of 4
(2,795 Views)

If it matters, they are regular typedefs, not strictly typed.

 

 

It mattersSmiley Wink


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 4
(2,776 Views)

Thanks Jeff, but any idea why it's doing this?  If anything, regular type defs should be less susceptible to this problem.

0 Kudos
Message 3 of 4
(2,736 Views)

Actually, I was wrong! I should have reviewed the help file myself 

A strict type definition forces everything about an instance to be identical to the strict type definition, except the caption, label, description, tip strip, and default value.

 

Sorry about that.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(2,732 Views)