Skip to content
Snippets Groups Projects
Commit 0d76792f authored by Philipp Oleynik's avatar Philipp Oleynik
Browse files

Agilent pressure bug fixed, print removed

parent cc69162b
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ class pumpAgilent:
def getPressure(self):
stat = self.serWriteAndRecieve(b"\002\200\062\062\064\060\003\070\067")
if stat is not None:
print(":".join("{:02x}".format(ord(c)) for c in stat))
# print(":".join("{:02x}".format(ord(c)) for c in stat))
hdr = stat.find("2240")
stat = stat[hdr + 3: hdr + 11]
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment