ACM1219: remove wait_before

This commit is contained in:
Paul Neves 2024-07-03 11:35:19 +02:00 committed by Markus Zolliker
parent bb6cf9caa1
commit 476d2087f6

View File

@ -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])