Skip to content

Commit 516e1cd

Browse files
author
Ingo Berg
committed
Added Center to LoadPosition enumerator
1 parent 673a06d commit 516e1cd

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77
name = "sentio-prober-control"
88
# ibg 2023-08-30: added pyvisa as run time dependency
99
dependencies = ["pyvisa", "deprecated"]
10-
version = "24.0.1"
10+
version = "24.0.2"
1111
authors = [
1212
{ name="Ingo Berg", email="ingo.berg@atv-systems.de" },
1313
]

sentio_prober_control/Sentio/Enumerations.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,13 +726,19 @@ class LoadPosition(Enum):
726726
Attributes:
727727
Front (0): The Front Load position. All probe station have a front load position.
728728
Side (1): The Side Load position. The side load position is optional and only present on systems with a side loader, a cassette loader or a wafer wallet.
729+
Center (2): Move chuck from a load position to the center. This is the normal chuck work position.
729730
"""
730731

731732
Front = 0
732733
Side = 1
734+
Center = 2
733735

734736
def toSentioAbbr(self):
735-
switcher = {LoadPosition.Front: "front", LoadPosition.Side: "side"}
737+
switcher = {
738+
LoadPosition.Front: "front",
739+
LoadPosition.Side: "side",
740+
LoadPosition.Center: "center"
741+
}
736742
return switcher.get(self, "Invalid Load position")
737743

738744

sentio_prober_control/Sentio/ProberSentio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,12 +557,12 @@ def move_chuck_load(self, pos: LoadPosition) -> Response:
557557
Wraps SENTIO's "move_chuck_load" remote command.
558558
559559
Args:
560-
pos (LoadPosition): The load position to move to.
560+
pos (LoadPosition): The position to move the chuck to. This can either be a load position or the center position of the chuck.
561561
562562
Returns:
563563
A response object with the result of the command.
564564
"""
565-
self.comm.send("move_chuck_load {0}".format(pos.toSentioAbbr()))
565+
self.comm.send(f"move_chuck_load {pos.toSentioAbbr()}")
566566
return Response.check_resp(self.comm.read_line())
567567

568568

0 commit comments

Comments
 (0)