LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Type Def'd Controls on Front Panel not Updating

I have several Controls on my Front Panel that are based on a Type Defeinition Control. One of the "copies" are on a Tab Control, the other is inside an Array Control. The Type Definition has a Cluster Control with some other Controls inside it. When I open the Type Definition and make some changes, like moving Control around or changingthier sizes, I Save the Type Definition and Close it. Then when I go back to my Front Panel, even though the "copies" have Auto-Update from Type Def. turned on, the Control "copies" not longer resemble the new Type Definition.

 

What am I doing wrong?

 

How do I get the changes that I make to the Type Definition be refelected automatically in the "copies" on my Front Panel?

 

Thanks.

0 Kudos
Message 1 of 6
(3,254 Views)

Cosmetics are only propagated if you use a strict type def.

I frequently switch to a strict type def for this reason, but revert it back to a normal type def, so I can e.g. populate the rings via a property node during run-time.

 

Felix

0 Kudos
Message 2 of 6
(3,251 Views)

Tab controls don't work that way.  place a type def on a tab and it really breaks the link to the type def.  (known bug)  and one of the reasons I avoid tabs except for GUI utilities that have no re-use potential.

 

Check it out from the VI Hierarchy> Find all instances of the type-def.  Smiley Surprised  the one on the tab can't be "found"


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 6
(3,248 Views)

What about the Type Def "copy" that is in an Array Control? It is not on a Tab Control. It also is showing the same problem.

 

I can Open the Type Def from this Controls, but they don't update properly.

0 Kudos
Message 4 of 6
(3,240 Views)

@f. Schubert wrote:

Cosmetics are only propagated if you use a strict type def.

I frequently switch to a strict type def for this reason, but revert it back to a normal type def, so I can e.g. populate the rings via a property node during run-time.

 

Felix


How do I "use a strict type def" and how do I " revert it back to a normal type def" ?

 

I will give it a try.

 

THANKS.

0 Kudos
Message 5 of 6
(3,239 Views)

When you customize the control, you have the option to make it a type def. In the same ring, you also have the option to make it a strict type def.

 

Felix

0 Kudos
Message 6 of 6
(3,224 Views)