Overriding PreUUT and PostUUT Batch Model Callbacks

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Purpose

This example demonstrates how to override the PreUUT callback to customize the batch and test socket serial number entry and how to override the PostUUT callback to customize the batch and test socket status report.

Example File Location


Open Example

<TestStand Public>\Examples\Modifying Process Models\Overriding Model Callbacks - Batch Model\Overriding PreUUT and PostUUT Callbacks.seq

Highlighted Features

Batch process model

Major API

None

Prerequisites

None

How to Use This Example

This example overrides the PreUUT and PostUUT callbacks, but the OverrideSerialNumForBatchModel1.seq example sequence file overrides the PreBatch and PostBatch callbacks.

The advantage of overriding the PreUUT and PostUUT callbacks, and not the PreBatch and PostBatch callbacks, is that TestStand executes the PreUUT and PostUUT callbacks in parallel for each test socket, and on some computers this might improve performance and allow for simpler code in the callbacks.

The disadvantages include the following:

  • You can disable test sockets only in the PreBatch callback. You cannot disable test sockets in the PreUUT callback.
  • Test sockets you have disabled, terminated, or aborted never call the PreUUT and PostUUT callbacks. If you want to record information for the test sockets, you must do so in the PreBatch and PostBatch callbacks.

WAS THIS ARTICLE HELPFUL?

Not Helpful