Model Plugin – UUT Done

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

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 NameData Type
CallingThreadReference
CallingThreadBlockerReference
MainSequenceResultReference
ModelPluginNI_ ModelPlugin
ModelPluginConfigurationNI_ModelPluginConfiguration
ModelThreadTypeNI_ModelThreadType
ModelDataContainer
PriorIterationNewThreadReference
ProcessModelClientPathPath
StartDateDateDetails
StartTimeTimeDetails
UUTUUT
UUTStatusString

WAS THIS ARTICLE HELPFUL?

Not Helpful