ACM1219: remove wait_before
This commit is contained in:
parent
0a5de1ebc2
commit
1fba0fad42
@ -24,7 +24,6 @@ from frappy.core import Readable, Parameter, FloatRange, HasIO, StringIO, Proper
|
|||||||
class ACM1219IO(StringIO):
|
class ACM1219IO(StringIO):
|
||||||
"""communication with ACM1219"""
|
"""communication with ACM1219"""
|
||||||
end_of_line = ('\r\n', '\r') # ('\n', '\r') ('\r\n', '\r')
|
end_of_line = ('\r\n', '\r') # ('\n', '\r') ('\r\n', '\r')
|
||||||
wait_before = 0.05
|
|
||||||
identification = [('*IDN?', r'.*')]
|
identification = [('*IDN?', r'.*')]
|
||||||
|
|
||||||
|
|
||||||
@ -49,7 +48,7 @@ class BothChannels(HasIO, Readable):
|
|||||||
while natempt < maxAttempts:
|
while natempt < maxAttempts:
|
||||||
try:
|
try:
|
||||||
reply = self.communicate(f'readMUC')
|
reply = self.communicate(f'readMUC')
|
||||||
print(reply)
|
# print(reply)
|
||||||
reply = reply.split(',')
|
reply = reply.split(',')
|
||||||
C1 = float(reply[0])
|
C1 = float(reply[0])
|
||||||
C2 = float(reply[1])
|
C2 = float(reply[1])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user