-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmap_setup_rect.py
More file actions
32 lines (23 loc) · 926 Bytes
/
map_setup_rect.py
File metadata and controls
32 lines (23 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from sentio_prober_control.Sentio.ProberSentio import SentioProber
from sentio_prober_control.Sentio.Enumerations import Module, AxisOrient, ColorScheme, TestSelection, BinSelection
def main() -> None:
prober = SentioProber.create_prober("tcpip", "127.0.0.1:35555")
# prober = SentioProber.create_prober("gpib", GpibCardVendor.Adlink, "GPIB0:20")
prober.select_module(Module.Wafermap)
# setup a wafermap
rows = 10
cols = 20
map = prober.map
map.create_rect(cols, rows)
map.set_grid_origin(-10, -5)
map.set_axis_orient(AxisOrient.UpRight)
map.set_home_die(cols - 1, rows - 1)
map.set_color_scheme(ColorScheme.ColorFromBin)
map.path.select_dies(TestSelection.All)
map.bins.set_all(3, BinSelection.All)
map.die.remove(0, 0)
map.die.remove(cols-1, 0)
map.die.remove(0,rows-1)
map.die.remove(cols-1, rows-1)
if __name__ == "__main__":
main()