From 9f03c3a03b0e2c5972618b5b0400edc047b54240 Mon Sep 17 00:00:00 2001 From: panepucci Date: Fri, 18 Dec 2015 11:51:34 +0100 Subject: [PATCH] Closedown --- script/rock.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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()