TestStand 2019 Help
»View Product Info
Use the Types window to view and edit the step types, custom data types, and standard data types available in the TestStand Sequence Editor. Select View»Types to display the Types window.
The Types window contains the following panes:
- View Types For—Contains the following items:
- Type Palettes—Lists type palette files. Select a type palette file on the View Types For pane to review the step types, standard data types, and custom data types the type palette file defines.
- Sequence Files—Lists the currently open sequence files. Select a sequence file on the View Types For pane to review the step types, standard data types, and custom data types the variables and steps in the sequence file use. When you save a sequence file, TestStand saves the definitions of the types the sequence file uses in the sequence file itself.
When you create a new type on the Types pane for a sequence file, the type appears in the Insert Local, Insert Global, Insert Parameter, Insert Field, or Insert Step submenus only in that Sequence File window. To use a new type in other sequence files, copy or drag the new type to a type palette file because each type in a type palette file appears in the appropriate Insert submenu for all windows. You can also manually copy or drag the new type from one sequence file to another.
- Other—Contains the following items:
- All Types—Displays types for all loaded files.
- Station Globals—Displays the standard and custom data types the station global variables use. When you save the contents of the Station Globals window, TestStand saves the definitions of the types station global variables use in the StationGlobals.ini file in the <TestStand Application Data>\Cfg directory.
- User Manager—Displays all users and user profiles, which use the User standard data type. To add new privileges for all users and groups, add the privileges to the NI_UserCustomPrivileges type. When you save the contents of the User Manager window, TestStand saves the definitions of the types used to define users in the Users.ini file in the <TestStand Application Data>\Cfg directory.
- Types—Displays the types associated with the selected item on the View Types For pane. When you select a file on the View Types For pane, the Types pane lists the step types, custom data types, and the standard data types used by or attached to the selected file. A yellow plus sign (+) icon indicates that the type is attached to the file.
The Types pane contains the following columns:
- Name—Name of the type or subproperty. Expand container and array elements to display their subproperties.
- Value—If the underlying data type is a single-value data type, such as number or Boolean, this column shows the initial or default value TestStand applies to all variables, parameters, and properties you create using the type.
- Type—The underlying data type of the type or property.
- Version—The type version. This column also indicates whether the type is marked as modified.
- Usage—The files that use the type.
- Comment—Descriptive comment you can create for the type or a subproperty of a type.
Click any column header to sort the view by the values of that column in increasing order. Click the column header again to sort the values in decreasing order. Click the column header a third time to restore the values to the unsorted order.
||Note TestStand does not sort array elements in the Types window.
Use the context menu to insert new step types or named data types, or to insert new subproperties under an existing step type or named data type. After you create a step type, it appears in the Insert Step submenu in the Steps pane context menu. After you create a named data type, it appears in the submenu of any Insert submenu command in the Variables pane context menu.
Creating Data Type Instances from Context Menus
Station Global Variables
Type Palette Files