increase mercury timeout
+ set try_cnt for IPS to 0 (do no longer know why)
This commit is contained in:
@ -120,7 +120,7 @@ class SimpleMagfield(HasStates, Drivable):
|
|||||||
return last
|
return last
|
||||||
|
|
||||||
def write_target(self, target):
|
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
|
return target
|
||||||
|
|
||||||
def init_progress(self, sm, value):
|
def init_progress(self, sm, value):
|
||||||
|
@ -63,6 +63,7 @@ fast_slow = Mapped(ON=0, OFF=1) # maps OIs slow=ON/fast=OFF to sample_rate.slow
|
|||||||
|
|
||||||
class IO(StringIO):
|
class IO(StringIO):
|
||||||
identification = [('*IDN?', r'IDN:OXFORD INSTRUMENTS:*')]
|
identification = [('*IDN?', r'IDN:OXFORD INSTRUMENTS:*')]
|
||||||
|
timeout = 5
|
||||||
|
|
||||||
|
|
||||||
class MercuryChannel(HasIO):
|
class MercuryChannel(HasIO):
|
||||||
|
Reference in New Issue
Block a user