Creating Instances of Data Types
- Updated2025-07-23
- 2 minute(s) read
The context menu of each window or pane in which you can insert a variable, parameter, or property includes an Insert item, as listed in the following table.
| Context Menu Item | Local of Context Menu | Item Inserted |
|---|---|---|
| Insert File Global | File Globals section of the Variables pane in the Sequence File window | Sequence file global variable |
| Insert Parameter | Parameters section of the Variables pane in the Sequence File window | Sequence parameter |
| Insert Local | Locals section of the Variables pane in the Sequence File window | Sequence local variable |
| Insert Station Global | Station Globals window | Station global variable |
| Insert UserInsert Group | User Manager window | New object with the User data type |
| Insert Field | Types window | New element in an existing data type |
With the exception of the Insert User and Insert Group items, all the context menu items in the preceding table provide a submenu from which you can select the following categories of data types:
- Basic types, such as number, string, Boolean, and object reference.
- The Container type, in which you can insert subproperties of any type.Note You can use an empty container as a parameter when you want to pass an object of any type to the sequence, in which case you also must turn off type checking for the parameter.
- Named data types, including all the custom named data types in type palette files or in the file you are currently editing. The submenu also includes standard TestStand named data types, such as Error, CommonResults, Path, Expression, and NI_TDMSReference.
- An array of elements of one of the types described above.
You can also create a new, custom data type in the Types window and then select the new data type from the Type submenu of the Insert context menu.