move_and_wait for dcm

This commit is contained in:
2018-03-08 16:24:37 +01:00
parent 4a4970f07d
commit 6a811cdace
+1 -1
View File
@@ -24,7 +24,7 @@ class Double_Crystal_Mono:
while abs(self.wait_for_valid_value()-value)>precision:
sleep(checktime)
def changeTo(self,value):
def changeTo(self,value,hold=False):
changer = lambda value: self.move_and_wait(value)
return Changer(
target=value,