Adding Items to Enumerated Type Controls

Enter items into an enumerated type (enum) control the same way you enter items into a ring control.

Complete the following steps to add an item to an enum.

  1. Use the Labeling tool to enter the first item in the enumerated type control.
  2. Right-click the enumerated type control and select Add Item After or Add Item Before from the shortcut menu.
  3. Use the Labeling tool to enter the item name.
  4. Click any area outside the ring control after you finish entering the item name. The numeric values of the items adjust automatically.
  5. Press <Shift-Enter> after entering an item to advance to a new item.

    Macintosh, Sun, and Linux Press <Shift-Return>.
Note  If an enumerated type is wired to a Case structure, the Case structure must have cases that handle every item in the enumerated type. A default case handles any items the other cases do not explicitly handle.

Refer to the Advanced Enumerated Type Controls and Indicators section in Chapter 4, Building the Front Panel, of the LabVIEW User Manual for information about using advanced enumerated type controls.