Storing Additional Information for UUTs and Test Stations in Process Models

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Where to Access the UUT and StationInfo Variables to Make Changes

You can access the UUT as Parameters.UUT and the StationInfo as Parameters.ModelData.StationInfo in client file callbacks such as PreUUT or in process model plug-in entry points such as Model Plugin - Pre UUT.

Note Note  You can access the UUT instance for the batch as a whole as Parameters.ModelData.BatchUUT in callbacks such as PreBatch or in process model plug-in entry points such as Model Plugins - Pre Batch plug-in entry point, the default report generators do not use the contents of the AdditionalData field of this instance.

UUT Data Type Subproperties

The UUT data type in the default process models includes the subproperties described in the following table for storing UUT information. The AdditionalData container subproperty was added in TestStand 2013.

Subproperty Type Content How to Include in Report How to Include in Database Logging
SerialNumber String UUT serial number The default report generator process model plug-in automatically adds the UUT serial number to a report. The default schemas for database logging automatically log the UUT serial number to the UUT_RESULT table.
BatchSerialNumber String Batch serial number The default report generator process model plug-in automatically adds the batch serial number to a report. The default schemas for database logging automatically log the batch serial number to the UUT_RESULT table.
PartNumber String UUT part number The default report generator process model plug-in automatically adds the UUT part number, if specified, to a report. The default schemas for database logging automatically log the UUT part number to the UUT_RESULT table.
AdditionalData Unstructured Container You can add subproperties of any data type to this container to store additional information associated with a UUT.

For example, you can add subproperties to the Locals.UUT.AdditionalData container in the default process model entry points at edit-time, or you can programmatically add subproperties at run-time where the process model passes this variable.
To specify that all subproperties automatically appear in a report, set the IncludeInReport property flag on the AdditionalData property.

To specify that only a subset of subproperties automatically appear in a report, set the IncludeInReport property flag on only the subproperties you want to include.
The default schemas for database logging do not automatically log any additional data. To log subproperties of the AdditionalData container, customize the schema in the Database Options dialog box and the database tables in a database management system (DBMS).

NI_StationInfo Data Type

The NI_StationInfo data type in the default process models includes the subproperties described in the following table for storing station information. The AdditionalData container subproperty was added in TestStand 2013.

Subproperty Type Content How to Include in Report How to Include in Database Logging
StationID String Station ID The default report generator process model plug-in automatically adds the station ID to a report. The default schemas for database logging automatically log the station ID to the UUT_RESULT table.
LoginName String User login name The default report generator process model plug-in automatically adds the user login name to a report. The default schemas for database logging automatically log the user login name to the UUT_RESULT table.
AdditionalData Unstructured Container You can add subproperties of any data type to this container to store additional information associated with a station.

For example, you can add subproperties to the Locals.ModelData.StationInfo.AdditionalData container in the default process model entry points at edit-time, or you can programmatically add subproperties at run-time where the process model passes this variable.
The default report generator process model plug-ins do not include any additional data in the report file. To include the subproperties of the AdditionalData container in the report, you must customize a report generator process model plug-in. The default schemas for database logging do not automatically log any additional data. To log subproperties of the AdditionalData container, customize the schema in the Database Options dialog box and the database tables in a DBMS.

See Also

Property Flags That Affect Reports

WAS THIS ARTICLE HELPFUL?

Not Helpful