Change Binning During TestStand Semiconductor Module Execution

Updated Oct 27, 2026

Reported In

Software

  • TestStand

Operating System

  • Windows

Issue Details

I need to modify the bin assignments in a .bins file while my test program is executing. I want to reload the modified file during an active sequence or lot, or dynamically select different software and hardware bins at runtime.

Solution

NI TestStand Semiconductor Moduleā„¢ (TSM) cannot dynamically reload a modified .bins file while an execution or lot is running. TSM uses the bin definitions loaded for the active execution. Changes saved to the .bins file during execution take effect when a new lot or execution starts.
To change bin assignments dynamically during execution:
  1. Open the Bin Definitions Editor by selecting Semiconductor Module>>Edit Bin Definitions File.
  2. Define all required software bins and their corresponding hardware-bin mappings before starting the execution.
  3. Add a Set and Lock Bin step at the point in the sequence where TSM must assign the bin.
  4. Configure Bin Expression with an expression that evaluates at runtime to a valid software bin number defined in the associated bin definitions file.
The Set and Lock Bin step assigns and locks the specified software bin for the device under test (DUT). TSM then uses the hardware-bin mapping defined for that software bin. The official documentation confirms that this step evaluates the expression at runtime, assigns the specified software bin, and overrides the automatic TSM bin assignment.