Customizing the Treatment of Pre-Lot Testing Failures
- Updated2025-07-31
- 2 minute(s) read
Customizing the Treatment of Pre-Lot Testing Failures
Customize how TSM handles pre-lot testing failures.
Introduced in TSM 2024 Q3.1
TSM calls the HandlePreLotTestingFailures callback sequence if any site fails pre-lot testing. By default, HandlePreLotTestingFailures launches the Pre-lot Testing Failed dialog box so you can select how to proceed. To change the default behavior, complete the following steps to modify the HandlePreLotTestingFailures callback sequence.- Locate the SemiconductorModuleCallbacks.seq file in the <TestStand Public>Components\Callbacks\NI_SemiconductorModule directory. If the file does not exist, create it.
- Open SemiconductorModuleCallbacks.seq and ensure that the file does not contain any sequences.
- Copy the HandlePreLotTestingFailures callback sequence from the <TestStand>\Components\Modules\NI_SemiconductorModule\Templates\SemiconductorModuleCallbacks.seq file to the <TestStand Public>\Components\Callbacks\NI_SemiconductorModule\SemiconductorModuleCallbacks.seq file.
-
In the copy of the callback sequence, set the
PreLotTestingFailureAction output parameter to one of the
following values listed in the
Locals.PreLotTestingFailureActions container.
Option Description EndLot TSM ends the lot without testing any parts. RunLotOnPassedSites TSM continues testing parts only on sites that passed pre-lot testing. Note Be careful when using this option. Some handlers and probers require the you disable sites manually. Of those handlers and probers, you must disable the sites manually before proceeding. By default, the HandlePreLotTestingFailures callback warns the operator before it uses this action.RerunPreLotTestsOnFailedSites TSM runs the PreLotTesting sequence again on sites that previously failed. If pre-lot testing fails again, TSM calls the HandlePreLotTestingFailures callback again to determine how to proceed. RerunPreLotTestsOnAllSites TSM runs the PreLotTesting sequence again on all sites. If pre-lot testing fails again, TSM calls the HandlePreLotTestingFailures callback again to determine how to proceed. RunLotOnAllSites TSM continues testing parts on all sites. The default HandlePreLotTestingFailures does not use the option. - Optional: You can use the SemiconductorModuleManager parameter to call methods and properties in the TSM Application API and the SitesFailingPreLotTesting parameter to get the site numbers of the sites that failed pre-lot testing.