Jump to content

Type Definition: Difference between revisions

From LabVIEW Wiki
No edit summary
Lui (talk | contribs)
No edit summary
Line 1: Line 1:
A type definition is a custom control (CTL) file that has been marked as a type definition.  Instances of the type definition are linked to the type definition.  You cannot edit the instances, but rather, you can only edit the type definition -- editing the type definition propagates changes to all instances.
A type definition [TD] is a custom control (CTL) file that has been marked as a type definition.  Instances of the TD are linked to their definition.  You cannot edit functional properties of TD's instances, but only optical properties. To change functional properties you have to edit their TD. All changes in a TD are propagated to all of its instances, when you save the TD or choose to 'apply changes'.<br />
Type definitions can be stacked, e.g. can contain other TDs as well. You use this to define clusters of different data, which are defined as well and as such can be accessed on different levels. Review the properties of, say, a waveform chart, using a property node. You'll fiond a property 'Bounds' for the chart itself as well as for its caption, label, scales, even the scales' markers and so on.


==See Also==
==See Also==

Revision as of 07:22, 13 June 2007

A type definition [TD] is a custom control (CTL) file that has been marked as a type definition. Instances of the TD are linked to their definition. You cannot edit functional properties of TD's instances, but only optical properties. To change functional properties you have to edit their TD. All changes in a TD are propagated to all of its instances, when you save the TD or choose to 'apply changes'.
Type definitions can be stacked, e.g. can contain other TDs as well. You use this to define clusters of different data, which are defined as well and as such can be accessed on different levels. Review the properties of, say, a waveform chart, using a property node. You'll fiond a property 'Bounds' for the chart itself as well as for its caption, label, scales, even the scales' markers and so on.

See Also

External Links