Part Average Testing Setup Entry Point (TSM)
- 更新日2025-07-31
- 1分で読める
Use the part average testing (PAT) Setup entry point to perform initialization tasks for a single site. TSM calls the entry point for each site when starting a new lot. The Setup entry point typically obtains values of PAT algorithm settings from the test program, obtains limits for static PAT tests, and initializes data structures for computing limits for dynamic PAT tests.
The Setup 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. |
| SetupPartAverageTestingCallbackArgs | Input | A reference to an object that implements the ISetupPartAverageTestingCallbackArgs interface in the TSM Application API. This interface provides properties to obtain values of PAT algorithm settings, the site index, and other information. |
| PartAverageTestingRuntimeData | Output | An object reference that stores run-time data, such as test statistics, to access in the other entry points. TSM passes a reference to this object to each of the other PAT entry points. |