From 155d24588a7abbb3e31b99117a84cf78496253eb Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Mon, 27 Oct 2014 17:50:55 +1100 Subject: [PATCH] Extend 3He poll to 900 seconds and add refresh command --- site_ansto/instrument/config/beamline/he3_polanal.sct | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/config/beamline/he3_polanal.sct b/site_ansto/instrument/config/beamline/he3_polanal.sct index b02734cb..1a2b7e10 100644 --- a/site_ansto/instrument/config/beamline/he3_polanal.sct +++ b/site_ansto/instrument/config/beamline/he3_polanal.sct @@ -7,7 +7,7 @@ driver he3_polanal = { group polariser = { var spin = { type = text; - readable = 10; + readable = 900; read_command = 'polariser'; read_function = rdValue; writeable = 1; @@ -24,7 +24,7 @@ driver he3_polanal = { group analyser = { var spin = { type = text; - readable = 10; + readable = 900; read_command = 'analyser'; read_function = rdValue; writeable = 1; @@ -84,6 +84,9 @@ driver he3_polanal = { code setValue = {%% set cmd "${cmd_str}" + if {[string equal -nocase [sct target] "refresh"]} { + set cmd "${cmd_str}" + } if {[string equal -nocase [sct target] "dn"]} { set cmd "${cmd_str} -" }