Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Adding Custom Controls and Indicators to Front Panels and Block Diagrams

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

You can add custom controls and indicators to front panels and block diagrams by dragging them from the Control Editor window or by selecting them from the Controls palette or the Functions palette. Adding a custom control or indicator to a block diagram creates a constant with the same data type as the custom control or indicator. You also can add custom controls and indicators to the Controls and Functions palettes.

Complete the following steps to select a custom control or indicator and add it to a front panel or block diagram from the Controls or Functions palette.

  1. Click the Select a Control icon on the Controls palette or the Select a VI icon or text on the Functions palette to display a file dialog box.
  2. Navigate to the custom control or indicator you want to place.
  3. In the file dialog box, double-click the custom control or indicator or click the OK button to place the control or indicator on the cursor.
  4. Add the custom control or indicator to the front panel or block diagram.
  5. Save the VI with the custom control or indicator in place.
Note  When you add a custom control or indicator to a VI, no connection exists between the custom control or indicator you saved and the instance of the custom control or indicator in the VI. Each instance of a custom control or indicator is a separate, independent copy. Therefore, changes you make to a custom control or indicator file do not affect VIs already using that custom control or indicator. If you want to link instances of a custom control or indicator to the custom control or indicator file, save the custom control or indicator as a type definition or a strict type definition. All instances of a type definition or a strict type definition link to the original file from which you created them.

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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit