increase mercury timeout

+ set try_cnt for IPS to 0 (do no longer know why)
This commit is contained in:
zolliker 2024-05-02 14:53:54 +02:00
parent a7ff73a34d
commit 9467f5233c
2 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class SimpleMagfield(HasStates, Drivable):
return last
def write_target(self, target):
self.start_machine(self.start_field_change, target=target)
self.start_machine(self.start_field_change, target=target, try_cnt=0)
return target
def init_progress(self, sm, value):

View File

@ -63,6 +63,7 @@ fast_slow = Mapped(ON=0, OFF=1) # maps OIs slow=ON/fast=OFF to sample_rate.slow
class IO(StringIO):
identification = [('*IDN?', r'IDN:OXFORD INSTRUMENTS:*')]
timeout = 5
class MercuryChannel(HasIO):