Control Template

From LabVIEW Wiki
Jump to: navigation, search

A Control Template (*.ctt) is a template to create new Controls based on the template.

Creating a Control Template

Complete the following steps to create a control template:

  1. Select File»New
  2. Select Custom Control from the Create new options in the New dialog box
  3. Click the OK button to display the Control Editor
  4. Build the Control as you would any other custom control but include only the components you intend to reuse
  5. Select File»Save to save the template as a control template file (.ctt)

Creating a Custom Control from a Template

Complete the following steps to create a custom control from a control template:

  1. Select File»New
  2. Select Start from template in the New dialog box (VI»From Template»User»Browse...)
  3. Navigate or type the path to a control template, select it and click OK
  4. If needed, modify the control template
  5. Select 'File»Save to save the custom control