A type definition or a strict type definition is a custom control or indicator linked to the saved file for that custom control or indicator. When you save a custom control or indicator as a type definition or strict type definition, any data type changes you make to the type definition or strict type definition affect all instances of the type definition or strict type definition in all the VIs that use it. Also, cosmetic changes you make to a strict type definition affect all instances of the strict type definition.
Complete the following steps to create a type definition or a strict type definition.
- Right-click a front panel control or indicator you want to customize and select Advanced»Customize from the shortcut menu to display the Control Editor window.
- Select Type Def. or Strict Type Def. from the Type Def. Status pull-down menu.
- Make the changes you want to the control or indicator. You can change the size, color, and relative position of the elements of a control or indicator and import images into the control or indicator.
- Select File»Apply Changes to apply the changes to the control or indicator. The Apply Changes menu item is available only after you make changes to the control or indicator. If you make changes to a control or indicator and try to close the Control Editor window without selecting File»Apply Changes, LabVIEW displays a message asking if you want to replace the original control or indicator with the custom control or indicator.
- Select File»Save to save the custom control or indicator as a type definition or a strict type definition. You can save the type definition or strict type definition in a directory or in an LLB.