Commit 0d76792f authored by Philipp Oleynik's avatar Philipp Oleynik
Browse files

Agilent pressure bug fixed, print removed

parent cc69162b
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment