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 d6bf28a7..e8d72767 100644 --- a/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl +++ b/site_ansto/instrument/config/environment/temperature/sct_julabo_lh45.tcl @@ -311,9 +311,6 @@ namespace eval ::scobj::lh45 { $sct_controller poll $scobj_hpath/lh45_state 5 halt read } - ::scobj::hinitprops $tempobj - hsetprop $scobj_hpath klass NXenvironment - ::scobj::set_required_props $scobj_hpath foreach {rootpath hpath klass priv} " $scobj_hpath sensor NXsensor spy $scobj_hpath sensor/value sensor user diff --git a/site_ansto/instrument/sans/config/environment/environment.tcl b/site_ansto/instrument/sans/config/environment/environment.tcl index 6376c950..1e514eea 100644 --- a/site_ansto/instrument/sans/config/environment/environment.tcl +++ b/site_ansto/instrument/sans/config/environment/environment.tcl @@ -17,7 +17,14 @@ switch $envtemp { "11TMagnet" { puts "Configuring 11TMagnet" ::environment::temperature::add_ls340 tc1 137.157.202.85 1 + ::utility::macro::getset float temperature {} { + return [sicsmsgfmt [hval /sample/tc1_cntrl/sensora/value]] + } + sicslist setatt temperature long_name temperature + sicslist setatt temperature klass sample + sicslist setatt temperature units K tc1 controlsensor sensorA + } default { clientput "No temperature controller configured"