Customizing the Behavior for Obtaining Station Settings (TSM)
- Updated2025-04-10
- 2 minute(s) read
TSM obtains station settings by calling the following callback sequences, located in the <TestStand>\Components\Callbacks\NI_SemiconductorModule\SemiconductorModuleCallbacks.seq file:
- ConfigureStationSettings—The Configure Station button in the default TSM operator interface or the menu item in the TestStand Sequence Editor calls the ConfigureStationSettings callback sequence to obtain the settings for the current test station. Use the ConfigureStationSettings callback sequence to prompt a test engineer or technician to manually configure station settings in a dialog box or to use another mechanism that requires user input. The default implementation of the ConfigureStationSettings callback sequence launches the default Configure Station Settings dialog box.
- GetStationSettings—Use the GetStationSettings callback sequence to programmatically obtain station settings when the test program begins executing without requiring much, if any, test engineer or technician interaction. For example, you can specify that the callback sequence queries a database for the station information related to a barcode or DUT type. The default implementation of the GetStationSettings callback sequence does not perform any operations.
Complete the following steps to override the default ConfigureStationSettings or GetStationSettings callback sequence and customize the behavior for obtaining station settings.
- Determine whether a sequence file named SemiconductorModuleCallbacks.seq exists in the <TestStand Public>\Components\Callbacks\NI_SemiconductorModule directory. If the sequence file does not exist, create it and ensure that it does not contain any sequences.
- Copy the ConfigureStationSettings or GetStationSettings callback sequences from the <TestStand>\Components\Modules\NI_SemiconductorModule\Templates\SemiconductorModuleCallbacks.seq file to the <TestStand Public>\Components\Callbacks\NI_SemiconductorModule\SemiconductorModuleCallbacks.seq file, and make changes to the copy.
- To customize the default Configure Station Settings dialog box in the ConfigureStationSettings callback sequence, complete the following additional steps.
- Copy the Display Configure Station Settings Dialog step from the ConfigureStationSettings callback sequence of the <TestStand>\Components\Callbacks\NI_SemiconductorModule\SemiconductorModuleCallbacks.seq file to the ConfigureStationSettings callback sequence of the <TestStand Public>\Components\Callbacks\NI_SemiconductorModule\SemiconductorModuleCallbacks.seq file.
- Copy the contents of <TestStand>\Components\Callbacks\NI_SemiconductorModule\StationSettingsDialogs to <TestStand Public>\Components\Callbacks\NI_SemiconductorModule\StationSettingsDialogs and make changes to the copy of the LabVIEW project. If you are making extensive customizations to the LabVIEW project, use the Debugging the Station Settings dialog box to enable automatic testing when you makes changes to the station settings.
- Rebuild the packed project library build specification in the project to update the copy of the LabVIEW packed project library.