Use the UUT Done entry point to perform an action after each UUT completes. For example, a plug-in might process the UUT test results and store the information in a report file or database tables.

A process model calls UUT Done in each test socket thread after testing the UUT.

The Batch process model runs UUT Done and the Batch Done entry point in parallel.

Set the <NI_ModelPlugin>.Base.NewThread and <NI_ModelPlugin>.Base.UseDefaultNewThreadImplementation properties to True for the process model to invoke UUT Done in a new thread. When the process model invokes UUT Done in a new thread, it passes all parameters by value except for ModelPlugin and ModelPluginConfiguration.

The UUT Done entry point accepts the following parameters, which are the same as the UUT Start entry point and include the additional UUTStatus, MainSequenceResult, CallingThread, CallingThreadBlocker, and PriorIterationNewThread parameters:

Parameter Name Data Type
CallingThread Reference
CallingThreadBlocker Reference
MainSequenceResult Reference
ModelPlugin NI_ ModelPlugin
ModelPluginConfiguration NI_ModelPluginConfiguration
ModelThreadType NI_ModelThreadType
ModelData Container
PriorIterationNewThread Reference
ProcessModelClientPath Path
StartDate DateDetails
StartTime TimeDetails
UUT UUT
UUTStatus String