From 99955b01da79f490897aecc5e92be39d719954e0 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Thu, 14 Nov 2013 20:49:10 +1100 Subject: [PATCH] SICS-698 Make Bruker magnet driver setpoint driveable. --- .../config/environment/magneticField/sct_bruker_BEC1.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site_ansto/instrument/config/environment/magneticField/sct_bruker_BEC1.tcl b/site_ansto/instrument/config/environment/magneticField/sct_bruker_BEC1.tcl index 1fc1cfef..80c413d8 100644 --- a/site_ansto/instrument/config/environment/magneticField/sct_bruker_BEC1.tcl +++ b/site_ansto/instrument/config/environment/magneticField/sct_bruker_BEC1.tcl @@ -1125,7 +1125,7 @@ proc createNode {scobj_hpath sct_controller cmdGroup varName readable writable p if {$drivable == 1} { hsetprop $nodeName check ${ns}::check $scobj_hpath 1 hsetprop $nodeName driving 0 - hsetprop $nodeName checklimits ${ns}::check $scobj_hpath + hsetprop $nodeName checklimits ${ns}::check $scobj_hpath 1 hsetprop $nodeName checkstatus ${ns}::drivestatus $scobj_hpath hsetprop $nodeName halt ${ns}::halt $scobj_hpath } @@ -1322,6 +1322,7 @@ proc mk_sct_bruker_BEC1 {sct_controller klasse tempobj tol} { # Changed ffr 20100625: do not call hinitprops to avoid a conflict with a change in SICServer vers. 2_5 #::scobj::hinitprops $tempobj/sensor nominal_outp_current hsetprop $scobj_hpath/pwrctrl/statusByte control false + hsetprop $scobj_hpath/sensor/desired_current type drivable ansto_makesctdrive ${tempobj}_driveable $scobj_hpath/sensor/desired_current $scobj_hpath/sensor/nominal_outp_current $sct_controller