Skip to content

Commit

Permalink
ENH: modified get_die() for ITkPix wafermap compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmucha committed Apr 24, 2024
1 parent ba55498 commit 5b1c48e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions basil/HL/SentioProber.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,19 @@ def goto_first_die(self):

def get_die(self):
''' Get chip index '''
print("Check if return order of col and row is correct and consistent with other pc drivers.")
values = self._intf.query("map:die:get_current_index").split(",")
print(int(values[-2]), int(values[-1]))
reply = self._intf.query("map:die:get_current_index").strip()
if reply == '0:' or reply == '':
reply = self._intf.query("map:die:get_current_index")

values = reply[2:].split(',')

#return (int(values[-2]), int(values[-1]))

#To read the SENTIO die number,uncomment the return above and comment out the stuff below.
#The return below maps the SENTIO wafermap onto the Twiki one.

return(7 - int(values[-1]), 7 - int(values[-2]))


def contact(self):
''' Move chuck to contact z position'''
Expand Down

0 comments on commit 5b1c48e

Please sign in to comment.