Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions sentio_prober_control/Sentio/ProberSentio.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,19 +850,25 @@ def send_cmd(self, cmd: str) -> Response:
are not yet included in the python wrapper. It will send the command
and parse the respone from SENTIO.

Do NOT send low level commands that do not have a response (i.e. "*LOCAL").
This will lock the communication pipeline as it is waiting for a
response that never arrives.
Support low level remote command.

It will then return a Response object with the extracted data from
SENTIO's response.

Returns:
A response object with the result of the command.
"""

self.comm.send(cmd)
return Response.check_resp(self.comm.read_line())

if '*' in cmd and '?' in cmd:
return Response(0,0,0,self.comm.read_line())

elif '*' in cmd:
return Response(0,0,0,"")

else:
return Response.check_resp(self.comm.read_line())

def set_chuck_site_height(
self,
Expand Down