GetLotSettings Callback (TSM)
- Updated2025-01-22
- 2 minute(s) read
GetLotSettings Callback (TSM)
TSM calls the GetLotSettings callback sequence to programmatically obtain lot settings without requiring much, if any, operator interaction when execution begins. You can also use the ConfigureLotWhenStartingLot option on the Semiconductor Module Manager to customize an operator interface to automatically call the ConfigureLotSettings callback sequence at the beginning of the execution of each lot.
The default implementation of the GetLotSettings callback sequence sets the LotSettings.Standard.JobName and LotSettings.Standard.JobRevision values based on the value of LotSettings.Standard.MainSequenceFilePath. You can override this callback sequence to customize the behavior for when TSM attempts to determine lot settings values at run time. You can also use the ConfigureLotSettings callback sequence to prompt an operator to manually enter lot information in a dialog box or to use another mechanism that requires user input.
The GetLotSettings callback sequence accepts the following parameters:
-
LotSettings [In/Out]—An instance of the NI_SemiconductorModule_LotSettings data type. Enter values for all
the properties that you require.
If you implement a mechanism for programmatically obtaining lot information, ensure that the mechanism obtains values for all the properties of the LotSettings parameter that you require. If the default properties of the LotSettings parameter do not meet your requirements, you can add properties to the NI_SemiconductorModule_CustomLotSettings data type. The properties you add to the data type appear in the Custom container of the LotSettings parameter.
TSM records the lot setup time in the LotSettings.Standard.SetupTime property when the GetLotSettings callback sequence sets the UpdateSetupTime parameter to True. When you customize the GetLotSettings callback sequence, set the UpdateSetupTime parameter to True when the callback sequence updates the LotSettings parameter.
-
UpdateSetupTime [Out]—Configure the
GetLotSettings callback sequence to set this parameter to
True when the callback sequence modifies the values of the
LotSettings parameter. If the callback sequence does
not modify the values of the LotSettings parameter, configure the callback
sequence to set this parameter to False.
TSM records the lot setup time in the LotSettings.Standard.SetupTime property when the GetLotSettings callback sequence sets this parameter to True. The value of the LotSettings.Standard.SetupTime property determines the value of the SETUP_T field in the Master Information Record (MIR) of version 4 of the Standard Test Data Format (STDF).
Related Information
- Customizing the Behavior for Obtaining Lot Settings (TSM)
Customize how TSM obtains lot settings for a test program.
- ConfigureLotSettings Callback (TSM)
- NI_SemiconductorModule_LotSettings Data Type