-
Notifications
You must be signed in to change notification settings - Fork 8
Automatic test#17802 #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
c991fa9
Added map commands & unit test
Cynthia-Tsai 83d33da
Added map commands & unit test
Cynthia-Tsai 014d6ea
Merge branch 'master' into David.Liu/AutomaticTest#17802
MPIDavidLiu 96afe41
Modify the rule of new API(LoaderCommandGroup&StatusCommandGroup)
MPIDavidLiu c10e0be
Modify TestLoaderCommandGroup.py
MPIDavidLiu 8e8794c
Modify statuscommandgroup.py rule,UnitTest and add enumeration
MPIDavidLiu 62e87fb
update the command follow the rule
Hoca-Chen 87d90bf
Added map cmd & unit test
Cynthia-Tsai 732b882
#18000 and #18087 Simplify AuxCommandGroup and QalibriaCommandFroup API
AdamLin0108 c6a09e7
Merge branch 'David.Liu/AutomaticTest#17802' of https://github.com/Se…
AdamLin0108 9dbf0d8
Jeff add chuck and project handling commands
MPIDavidLiu 73430b6
Create 新文字文件.txt
MPIDavidLiu ba21af2
Delete 新文字文件.txt
MPIDavidLiu b927756
Test
MPIDavidLiu 8b5b690
Test
MPIDavidLiu a7c832a
Jeff add chuck and project handling commands
MPIDavidLiu 328ffff
add Cynthia vision API
MPIDavidLiu deecc1a
add Cynthia vision unit test
MPIDavidLiu e14609c
Merge branch 'David.Liu/AutomaticTest#17802' of https://github.com/Se…
MPIDavidLiu c94252c
add John's remote command.
MPIDavidLiu fb9c304
Update TestStatusCommandGroup.py
Johnwu1020 9a8294f
Merge branch 'David.Liu/AutomaticTest#17802' into AutomaticTest#17802
MPIDavidLiu c876a90
Delete sentio_prober_control/Sentio/ProberSentio.py.bak
MPIDavidLiu f871a17
LoaderCommandGroup comment restore
MPIDavidLiu 893236c
Merge branch 'AutomaticTest#17802' of https://github.com/SentioProber…
MPIDavidLiu 5a3848c
removed Response from set_door_lock
IngoBergATV 946f9a3
Fixed a couple of issues in the PR
IngoBergATV d2358a9
Update WafermapCommandGroup.py
IngoBergATV 95635e4
fix for get_chuck_site_name
IngoBergATV 24a40fe
Fixed incorrect documentation
IngoBergATV 338ffd1
Fixed for incorrect return value documentation
IngoBergATV 8c12fc3
documentation fixed
IngoBergATV 320110e
removed return types
IngoBergATV 132a9b5
return values removed
IngoBergATV 15c7bab
Modify the Vision/Map API based on Ingo's comments:
Cynthia-Tsai a3966bc
Change the return value of map:get_orient_marker to enum
Cynthia-Tsai f845c67
restore the statuscommandgroup and enumerations.
MPIDavidLiu ac1bd60
Made Python api consistent with remote command api
IngoBergATV 3a6aabc
Work on Review issues
IngoBergATV 14df252
work on code review issues
IngoBergATV 632b497
deprecatedmarker braught back
IngoBergATV 6f84fd0
cleanup
IngoBergATV da89490
Update Enumerations.py
IngoBergATV 00a3a15
member functions sorted alphabetically; needed for pydoc documentation
IngoBergATV 9c3db7d
Update QAlibriaCommandGroup.py
IngoBergATV 5c33627
methods reordered alphabetically
IngoBergATV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
304 changes: 182 additions & 122 deletions
304
sentio_prober_control/Sentio/CommandGroups/AuxCommandGroup.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
sentio_prober_control/Sentio/CommandGroups/SetupCommandGroup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| from sentio_prober_control.Sentio.CommandGroups.SetupContactCounterCommandGroup import SetupContactCounterCommandGroup | ||
| from sentio_prober_control.Sentio.CommandGroups.SetupRemoteCommandGroup import SetupRemoteCommandGroup | ||
| from sentio_prober_control.Sentio.CommandGroups.ModuleCommandGroupBase import ModuleCommandGroupBase | ||
|
|
||
|
|
||
| class SetupCommandGroup(ModuleCommandGroupBase): | ||
| """A command group for accessing setup module functions.""" | ||
| def __init__(self, comm) -> None: | ||
| super().__init__(comm, "setup") | ||
|
|
||
| self.contact_counter: SetupContactCounterCommandGroup = SetupContactCounterCommandGroup(comm) | ||
| self.remote: SetupRemoteCommandGroup = SetupRemoteCommandGroup(comm) |
29 changes: 29 additions & 0 deletions
29
sentio_prober_control/Sentio/CommandGroups/SetupContactCounterCommandGroup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| from sentio_prober_control.Sentio.Response import Response | ||
| from sentio_prober_control.Sentio.CommandGroups.CommandGroupBase import CommandGroupBase | ||
|
|
||
|
|
||
| class SetupContactCounterCommandGroup(CommandGroupBase): | ||
| """This command group bundles functions setting up the contact counter.""" | ||
|
|
||
| def __init__(self, comm) -> None: | ||
| super().__init__(comm) | ||
|
|
||
| def get(self) -> int: | ||
| """ Retrieves the contact counter value. | ||
|
|
||
| Returns: | ||
| An integer representing the number of times the chuck moved into contact height, | ||
| excluding moves on cleaning substrate. | ||
| """ | ||
| self.comm.send("setup:contact_counter:get") | ||
| resp = Response.check_resp(self.comm.read_line()) | ||
| return int(resp.message()) | ||
|
|
||
| def reset(self) -> None: | ||
| """ Resets the contact counter. | ||
|
|
||
| Returns: | ||
| None | ||
| """ | ||
| self.comm.send("setup:contact_counter:reset") | ||
| Response.check_resp(self.comm.read_line()) |
44 changes: 44 additions & 0 deletions
44
sentio_prober_control/Sentio/CommandGroups/SetupRemoteCommandGroup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| from sentio_prober_control.Sentio.Response import Response | ||
| from sentio_prober_control.Sentio.CommandGroups.CommandGroupBase import CommandGroupBase | ||
|
|
||
| class SetupRemoteCommandGroup(CommandGroupBase): | ||
| """ This command group bundles functions setting up the behavior of SENTIO in remote mode. """ | ||
| def __init__(self, comm) -> None: | ||
| super().__init__(comm) | ||
|
|
||
| def light_off_at_contact(self, status: bool) -> None: | ||
| """Defines whether light is switched off at contact height in remote mode. | ||
|
|
||
| Args: | ||
| status (BooleanStatus): True/False, ON/OFF as defined in Enum. | ||
|
|
||
| Returns: | ||
| None | ||
| """ | ||
| self.comm.send(f"setup:remote:light_off_at_contact {status}") | ||
| Response.check_resp(self.comm.read_line()) | ||
|
|
||
| def light_on_at_separation(self, status: bool) -> None: | ||
| """Defines whether light is switched on at separation height in remote mode. | ||
|
|
||
| Args: | ||
| status (BooleanStatus): True/False, ON/OFF as defined in Enum. | ||
|
|
||
| Returns: | ||
| None | ||
| """ | ||
| self.comm.send(f"setup:remote:light_on_at_separation {status}") | ||
| Response.check_resp(self.comm.read_line()) | ||
|
|
||
| def scope_follow_off(self, status: bool) -> None: | ||
| """Defines whether scope follow mode is switched off in remote mode. | ||
|
|
||
| Args: | ||
| status (BooleanStatus): True/False, ON/OFF as defined in Enum. | ||
| Note: ON disables scope follow. | ||
|
|
||
| Returns: | ||
| Response: Response object for result checking. | ||
| """ | ||
| self.comm.send(f"setup:remote:scope_follow_off {status}") | ||
| Response.check_resp(self.comm.read_line()) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.