copy current SwissMX.conf, minor fixes

This commit is contained in:
2022-09-21 16:11:03 +02:00
parent 1393269ceb
commit d8399e901c
8 changed files with 61 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ def assert_tweaker_positions(targets, timeout=60.0):
motor, target, tolerance=m
name=motor.short_name
pend_event()
cur=motor.get_position()
cur=motor.get_rbv()
done=motor.is_done()
_log.debug("check {}[done={}]: {} == {}".format(name, done, cur, target))
summary.append("{}[done={}]: {} == {}".format(name, done, cur, target))
@@ -69,7 +69,7 @@ def assert_motor_positions(targets, timeout=60.0):
motor, target, tolerance=m
name=motor._prefix
pend_event()
cur=motor.get_position(readback=True)
cur=motor.get_rbv(readback=True)
done=motor.done_moving
_log.debug("check {}[done={}]: {} == {}".format(name, done, cur, target))
summary.append("{}[done={}]: {} == {}".format(name, done, cur, target))