Part Average Testing with .NET (TSM)
- Updated2025-07-31
- 3 minute(s) read
This example demonstrates how to enable and perform part average testing (PAT) in a test program.
| Example File Locations | <TestStand Public> \Examples\NI_SemiconductorModule\Part Average Testing\DotNET\Part Average Testing Example.seq |
| Highlighted Features |
|
| Major API | TSM Application API |
| Prerequisites |
Note To
perform part average testing, you must place the
PAT plug-in files in the <TestStand
Public>\Components\Callbacks\NI_SemiconductorModule
directory. Opening the Part Average Testing
Example.seq file in the TestStand Sequence Editor
automatically copies the example PAT plug-in files
from the <TestStand
Public>\Examples\NI_SemiconductorModule\Part
Average Testing\Example Part Average Testing
Plug-In directory to the <TestStand
Public>\Components\Callbacks\NI_SemiconductorModule
directory. Closing the Part Average Testing
Example.seq file removes the example PAT plug-in
files from the <TestStand
Public>\Components\Callbacks\NI_SemiconductorModule
directory.
Note You
can view the test program in the TestStand
Sequence Editor and code modules in a C# source
code editor without the required NI instrument
drivers installed. Visit ni.com/info and enter the
Info Code
NETAPIdriversupport for
information about the available NI .NET
APIs and the versions of the NI drivers each
supports.
|
Complete the steps in the following sections to learn about TSM PAT plug-ins, to access and modify the PAT settings, and to enable, disable, and configure part average testing for individual tests.
- Select or click the Edit Test Program: Part Average Testing Example.seq button on the TSM toolbar to launch the Test Program Editor for the sequence file.
- Select the PAT Algorithm Settings panel
and review the following settings the test program specifies
for the PAT plug-ins to use.
- Disable Static Part Average Testing—Disables all static part average testing for the test program.
- Disable Dynamic Part Average Testing—Disables all dynamic part average testing for the test program.
- Static PAT Limits File—Specifies a relative path to a file that contains static limits for all tests enabled for static part average testing in the test program. This example PAT algorithm uses the IPartAverageTestingStaticLimitLoader.LoadStaticLimits method in the TSM Application API to load a static limits file that uses the same structure as a TSM test limits file. To read and use limits from a different file format, you must implement a custom file reader and a custom data structure to store the limits.
- Statistics Type—Specifies the type of statistics to use to calculate dynamic PAT limits.
- Window Size—Specifies how many measurements of previously tested DUTs to use to calculate the dynamic limits for the DUT currently being tested.
- Early Part Count—Specifies how many parts in a lot must complete testing before considering the computed dynamic limits statistically valid. DUTs that complete testing before this value are called early parts. This example PAT algorithm sets the dynamic limits for early parts to the test program limits.
- Select the Continuity step in the MainSequence sequence. The example will perform part average testing for the tests in this step when it executes the Perform Part Average Testing step.
- Click the Part Average Testing tab.
- Add a checkmark to or remove a checkmark from the checkboxes in the Enable Dynamic PAT and Enable Static PAT columns.
- Set test numbers, test names, and software fail bins for the tests with dynamic or static part average testing enabled. Bins must be defined in the bin definitions file.
- Enable and display the Debug Test Results Log by placing a checkmark in the Enabled column and in the Display column of the Result Processing dialog box.
- Ensure that you meet the prerequisites, then click the Single Test button on the TSM toolbar to test a single part on each site.
- Click the End Lot button.
- Click the Report pane of the Execution window and review the Debug Test Results Log to see the PAT tests that executed during the MainSequence sequence.
Related Information
- TestStand Directory Structure
- Part Average Testing Plug-In Architecture (TSM)
- PAT Algorithm Settings Panel
- Semiconductor Multi Test Part Average Testing Tab
- Perform Part Average Testing Step (TSM)
- Part Average Testing (TSM)
- Overview of Test Program Components
A semiconductor test program can include a pin map file, a main sequence file, subordinate sequence files, code modules, specifications, timing files, levels files, pattern files, source and capture waveforms, test limits files, a bin definitions file, and configurations.
- TSM Application API
- Batch Process Model
- .NET Resources for NI Hardware and Software
- Test Program Editor (TSM)
- Binning DUTs Based on Test Results (TSM)
- Enabling and Configuring TSM Result Processing Plug-ins
- Debug Test Results Logs (TSM)