ResultLogger.LogPreBatch

Syntax

ResultLogger.LogPreBatch( thread, modelThreadType, modelData, processModelClientPath, startDate, startTime, uut, continueTesting)

Purpose

Logs parameters to the Model Plugin - Pre Batch entry point.

Parameters

thread As Thread

[In] Specifies the process model controller or test socket thread that invokes this method.

modelThreadType As PropertyObject

[In] Pass an instance of an NI_ModelThreadType type that describes the thread parameter.

modelData As PropertyObject

[In] Specifies the process model-specific data. At a minimum, this parameter must be a container with a field named ModelType using the NI_ModelType type. For controller threads, this parameter must also contain a field named TestSockets using a container array type, where each element in the array contains a field named MainSequenceResults using an object reference type.

processModelClientPath As String

[In] Pass the absolute path of the process model client file or an empty string if none exists.

startDate As PropertyObject

[In] Specifies an instance of the DateDetails custom data type that indicates the date on which the batch test began.

startTime As PropertyObject

[In] Specifies an instance of the TimeDetails custom data type that indicates the time at which the batch test began.

uut As PropertyObject

[In] Specifies the container that describes the batch.

continueTesting As Boolean

[In] Specifies whether testing continues to the next batch.