Overriding PreBatch and PostBatch Model Callbacks

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)


This example demonstrates how to override the PreBatch callback to customize the batch and test socket serial number entry and how to override the PostBatch 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 PreBatch and PostBatch Callbacks.seq

Highlighted Features

Batch process model

Major API




How to Use This Example

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

The advantages of overriding the PreBatch and PostBatch callbacks, and not the PreUUT and PostUUT callbacks, include the following:

  • You can enable or disable test sockets.
  • You can access data for test sockets you have disabled, terminated, or aborted.

The disadvantage is that you must set or retrieve information for each test socket in a loop instead of in parallel.


Not Helpful