Create/Update Custom Data Type from CVI and C/C++ Enum Dialog Box

Click Create/Update Custom Data Type located next to the parameter in the Description column on the CVI or C/C++ Adapter to launch the Create/Update Custom Data Type from Enum dialog box.
Note The Create/Update Custom Data Type button appears only when the Category is set to Enumeration .

When you are creating a new custom enumeration data type for an enumerated parameter, the Create tab of the Create/Update Custom Data Type dialog box contains the following options:

  • Type Name —The name of the new custom data type.
  • List Box —Includes the following information:
    • Items —Lists the names of the elements in the C/C++ enumerated parameter.
    • Values —Lists the numeric value of each item.
  • Create Custom Data Type in File —The file in which TestStand creates the new data type. By default, TestStand creates the new data type in the current sequence file.

When you are updating an existing custom enumeration data type, switch to the Update tab of the dialog box. It contains the following options:

  • Select Type —The names of the existing custom enumeration data types. Select a type to update.
  • List Box —Includes the following information:
    • Items —Lists the names of the elements in the C/C++ enumerated parameter, as well as the elements in the TestStand enumeration data type. The items that are to be retained in the updated enumeration data type are displayed in black. Those items that are present in the TestStand type but absent in the C/C++ enum will be removed, and are displayed in red and struck out.
    • New Values —Lists the new numeric value of each item that will be present in the updated type.
    • Old Values —Lists the old numeric value of every item which will be retained or removed.
Note This dialog box is available only for enumerated parameters.