From ec1d83f77d0cf3ebc00492669cf6073688b06ff7 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Tue, 3 Feb 2015 15:52:13 +1100 Subject: [PATCH] Text nodes can't be mutable. --- site_ansto/instrument/bilby/config/motors/shutters.sct | 3 +++ site_ansto/instrument/bilby/config/motors/shutters_sct.tcl | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/site_ansto/instrument/bilby/config/motors/shutters.sct b/site_ansto/instrument/bilby/config/motors/shutters.sct index 04486fad..80137a57 100644 --- a/site_ansto/instrument/bilby/config/motors/shutters.sct +++ b/site_ansto/instrument/bilby/config/motors/shutters.sct @@ -24,6 +24,7 @@ driver shutters = { readable = 1 read_command = 'MG @IN[5], @IN[6]' read_function = read_switch_pair + mutable = false property 'nxalias' = 'fast_shutter' } var rough_40 = { @@ -34,6 +35,7 @@ driver shutters = { write_function = no_write; write_command = '10' allowed = 'in,out' + mutable = false property 'nxalias' = 'rough_40' } var rough_100 = { @@ -44,6 +46,7 @@ driver shutters = { write_function = no_write; write_command = '11' allowed = 'in,out' + mutable = false property 'nxalias' = 'rough_100' } }; diff --git a/site_ansto/instrument/bilby/config/motors/shutters_sct.tcl b/site_ansto/instrument/bilby/config/motors/shutters_sct.tcl index c3ea3812..6c3c7a51 100644 --- a/site_ansto/instrument/bilby/config/motors/shutters_sct.tcl +++ b/site_ansto/instrument/bilby/config/motors/shutters_sct.tcl @@ -250,7 +250,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f hsetprop ${scobj_hpath}/fast_shutter read_switch_pair ${ns}::read_switch_pair ${scobj_hpath} hsetprop ${scobj_hpath}/fast_shutter control true hsetprop ${scobj_hpath}/fast_shutter data true - hsetprop ${scobj_hpath}/fast_shutter mutable true + hsetprop ${scobj_hpath}/fast_shutter mutable false hsetprop ${scobj_hpath}/fast_shutter nxsave true hsetprop ${scobj_hpath}/fast_shutter oldval UNKNOWN hsetprop ${scobj_hpath}/fast_shutter klass "collimator" @@ -274,7 +274,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f hsetprop ${scobj_hpath}/rough_100 check ${ns}::checkrange ${scobj_hpath} hsetprop ${scobj_hpath}/rough_100 control true hsetprop ${scobj_hpath}/rough_100 data true - hsetprop ${scobj_hpath}/rough_100 mutable true + hsetprop ${scobj_hpath}/rough_100 mutable false hsetprop ${scobj_hpath}/rough_100 nxsave true hsetprop ${scobj_hpath}/rough_100 values in,out hsetprop ${scobj_hpath}/rough_100 oldval UNKNOWN @@ -300,7 +300,7 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f hsetprop ${scobj_hpath}/rough_40 check ${ns}::checkrange ${scobj_hpath} hsetprop ${scobj_hpath}/rough_40 control true hsetprop ${scobj_hpath}/rough_40 data true - hsetprop ${scobj_hpath}/rough_40 mutable true + hsetprop ${scobj_hpath}/rough_40 mutable false hsetprop ${scobj_hpath}/rough_40 nxsave true hsetprop ${scobj_hpath}/rough_40 values in,out hsetprop ${scobj_hpath}/rough_40 oldval UNKNOWN