From 1fba0fad4255617e608eec59ecfa3d68802ffc1e Mon Sep 17 00:00:00 2001 From: Paul Neves Date: Wed, 3 Jul 2024 11:35:19 +0200 Subject: [PATCH] ACM1219: remove wait_before --- frappy_psi/ACM1219.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frappy_psi/ACM1219.py b/frappy_psi/ACM1219.py index 3d59a12..94bfd33 100644 --- a/frappy_psi/ACM1219.py +++ b/frappy_psi/ACM1219.py @@ -24,7 +24,6 @@ from frappy.core import Readable, Parameter, FloatRange, HasIO, StringIO, Proper class ACM1219IO(StringIO): """communication with ACM1219""" end_of_line = ('\r\n', '\r') # ('\n', '\r') ('\r\n', '\r') - wait_before = 0.05 identification = [('*IDN?', r'.*')] @@ -49,7 +48,7 @@ class BothChannels(HasIO, Readable): while natempt < maxAttempts: try: reply = self.communicate(f'readMUC') - print(reply) + # print(reply) reply = reply.split(',') C1 = float(reply[0]) C2 = float(reply[1])