diff --git a/script/rock.py b/script/rock.py index 5b5970f..3ad1bf6 100644 --- a/script/rock.py +++ b/script/rock.py @@ -19,8 +19,8 @@ def rock(axis = th1, ffail = False, tt = 0.2, seti0 = False, dx = None, noref = # put 'Retry deadband' to 0.00004 and 'Retries Max' to 5 time.sleep(0.2) - caput(th1.channelName + '.RDBD',0.00004) - caput(th1.channelName + '.RTRY',5) + caput(axis.channelName + '.RDBD',0.00004) + caput(axis.channelName + '.RTRY',5) print time.strftime('%X %x') axis_pos = axis.read()