Model Plugin – End
- 更新日2025-07-23
- 1分で読める
Use the End entry point to perform required cleanup or finalization tasks, such as closing files or database connections.
A process model calls End once in its controller thread and once in each test socket thread. Process models call End from the controller thread only after all calls to End from test socket threads complete. End is the last entry point the process model calls at run time after the UUT loop, if any, exits.
The End entry point accepts the following parameters:
| Parameter Name | Data Type |
|---|---|
| ModelPlugin | NI_ ModelPlugin |
| ModelPluginConfiguration | NI_ModelPluginConfiguration |
| ModelThreadType | NI_ModelThreadType |
| ModelData | Container |