Part Average Testing Customize Entry Point (TSM)
- Updated2025-07-31
- 1 minute(s) read
Use the part average testing (PAT) Customize entry point to customize PAT tests before the PAT tests execute on a site. TSM calls this entry point if a PAT-enabled test is executed for the first time while testing the current DUT. TSM calls this entry point after executing the MainSequence sequence or when executing a Perform Part Average Testing step. TSM passes the PAT-enabled tests and their associated PAT tests to the entry point sequence.
Some typical customizations the entry point performs include setting limits on static PAT tests, setting PAT test numbers and test names, and creating PAT tests associated with a PAT-enabled test.
The Customize entry point accepts the following parameters:
| Parameter | Type | Description |
|---|---|---|
| ModelPluginConfiguration | Input | An instance of the NI_ModelPluginConfiguration data type that contains the configuration and run-time variables for the set of all active process model plug-in instances. Use this parameter to extract information, such as report paths and directories. |
| ModelData | Input | Contains information about the process model used for the lot testing. |
| PartAverageTestingRuntimeData | Input | The object reference created in the Setup entry point that stores run-time data, such as test statistics. |
| CustomizePartAverageTestingCallbackArgs | Input | A reference to an object that implements the ICustomizePartAverageTestingCallbackArgs interface in the TSM Application API. This interface provides the list of PAT-enabled tests and associated PAT tests to customize. The tests this object references include only the tests that executed for the first time while testing the current DUT. |