diff --git a/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl b/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl index b2cce99f..2b88a707 100644 --- a/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl +++ b/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl @@ -18,7 +18,8 @@ namespace eval ::scobj::lh45 { if [hpropexists [sct] geterror] { hdelprop [sct] geterror } - sct send [sct tempsensor] + set tempcmd [sct tempsensor] + sct send $tempcmd return $nextState } proc setValue {nextState cmd} { @@ -280,7 +281,7 @@ namespace eval ::scobj::lh45 { hfactory $scobj_hpath/sensor/value plain internal float # Default to bath temperature sensor hsetprop $scobj_hpath/sensor/value tempsensor "in_pv_00" - hsetprop $scobj_hpath/sensor/value read ${ns}::getValue rdValue {[sct tempsensor]} + hsetprop $scobj_hpath/sensor/value read ${ns}::getTemp rdValue hsetprop $scobj_hpath/sensor/value rdValue ${ns}::rdValue "double" hsetprop $scobj_hpath/sensor/value oldval UNKNOWN hsetprop $scobj_hpath/sensor/value units "C"