ACM1219: remove wait_before
This commit is contained in:
parent
bb6cf9caa1
commit
476d2087f6
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user