diff --git a/script/rock.py b/script/rock.py index 66985aa..f0d9963 100644 --- a/script/rock.py +++ b/script/rock.py @@ -18,10 +18,9 @@ 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('X06DA-OP-MO1:ROX1.RDBD',0.00004) - caput('X06DA-OP-MO1:ROX2.RDBD',0.00004) - caput('X06DA-OP-MO1:ROX1.RTRY',5) - caput('X06DA-OP-MO1:ROX2.RTRY',5) + + caput(th1.channelName + '.RDBD',0.00004) + caput(th1.channelName + '.RTRY',5) print time.strftime('%X %x') axis_pos = axis.read()