Create/Update Custom Data Type from LabVIEW Enum Dialog Box
- Updated2024-10-09
- 2 minute(s) read
Create/Update Custom Data Type from LabVIEW Enum Dialog Box
Click Create/Update Custom Data Type located next to the parameter in the Type column on the LabVIEW Module tab / LabVIEW NXG Module tab or in the Edit LabVIEW VI Call / Edit LabVIEW NXG VI Call dialog boxes to launch the Create/Update Custom Data Type from Enum dialog box.
When you are creating a new custom enumeration data type for a LabVIEW/LabVIEW NXG enumerated parameter, the Create tab of the Create/Update Custom Data Type from Cluster 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 LabVIEW/LabVIEW NXG 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 LabVIEW/LabVIEW NXG 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 LabVIEW/LabVIEW NXG 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.
- This dialog box is available only for enumerated LabVIEW/LabVIEW NXG parameters like enums, rings, tab controls, etc. and arrays of such enumerated parameters.
- When you update a strict type definition in LabVIEW/LabVIEW NXG, you must also update all instances of the custom data type you created in TestStand from that LabVIEW/Labview NXG strict type definition. TestStand does not automatically update custom data types with changes you make in LabVIEW/LabVIEW NXG.