From 1feea014340499ae6f37d6fe4bb956a817e710a0 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Thu, 16 Aug 2007 14:27:13 +1000 Subject: [PATCH] Fixup data paths and names to match nexus spec. r2111 | ffr | 2007-08-16 14:27:13 +1000 (Thu, 16 Aug 2007) | 2 lines --- .../instrument/config/counter/counter_common_1.tcl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/site_ansto/instrument/config/counter/counter_common_1.tcl b/site_ansto/instrument/config/counter/counter_common_1.tcl index 27bcf6a8..3ed6e514 100644 --- a/site_ansto/instrument/config/counter/counter_common_1.tcl +++ b/site_ansto/instrument/config/counter/counter_common_1.tcl @@ -1,3 +1,6 @@ +#FIXME Nexus path info is coded into this source. This means that if you change the +# monitor data path in the config/hipadaba/common_instrument_dictionary.tcl then +# you may also need to change the paths here bm SetExponent 0 sicslist setatt bm privilege internal namespace eval monitor { @@ -10,14 +13,13 @@ namespace eval monitor { ::monitor::count -set feedback status IDLE array set param [::data::gumtree_save -list param] data axis 1 $param(run_number) - data data_set [::utility::hgetplainprop /instrument/monitor/counts sicsdev] - ::hdb::set_save /instrument/monitor true - ::hdb::set_save /data true + data data_set [::utility::hgetplainprop /monitor/data sicsdev] + ::hdb::set_save / true ::hdb::set_save /instrument/detector false } ::monitor::count -addfb int counts text status ::monitor::count -set feedback status IDLE array set fbarr [::monitor::count -list feedback] - ::utility::mkData $fbarr(counts) counts monitor privilege user mutable true + ::utility::mkData $fbarr(counts) data monitor privilege user mutable true array unset fbarr }