Bob,
This is a classic problem.
First you need to know the difference between a strict type def and a
regular type def.
strict type def: all properties are controlled from the type definition.
(e.g., color, size, etc.,).
type def: ONLY the DATA TYPE is controlled from the type definition (e.g.,
boolean, string, I32, etc.,).
Therefore, if you make a "change" that is in a property that is "cosmetic"
(e.g., color, size, etc.,) then the change will not be flowed down to the
other references to the definition because they think it hansn't change--and
it hasn't (with respect to the data type).
The solution is, to make your type def strict whenever you want full control
over all properties from the defintion itself.
Dave Gianetto
http://www.gianetto.org/
> From
: "R.G.S."
> Organization: RMI.NET
> Reply-To: "R.G.S."
> Newsgroups: comp.lang.labview
> Date: Mon, 4 Dec 2000 16:20:37 -0700
> Subject: type def ? (re: updating)
>
> Greetings all,
> I ran into a problem with type defs. They will not update themselves
> in my code, and I'd appreciate it if someone could point out what
> I'm missing.
>
> A watered down case is a simple VI with one control. I make this
> a typedef and save a typedef file. So the VI has the type-def'd control
> on the front panel.
> Then I change the type def and save it
> (this is a type def, not a strict type def),
> but the vi will not update, and I can't seem to
> make it update (the menu item "update from typedef"
> is greyed out, and I can turn on or off the "autoupdate
> from typedef" with no effect.
>
> I have been able to do this with a "strict typedef", but not with
> a normal type def.
>
> What am I missing? Any help appreciated.
>
>
> Cheers,
> bob stockwel
l
>
>