diff --git a/site_ansto/instrument/dingo/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/dingo/config/hmm/hmm_configuration.tcl index 2d31f1c6..dc4e9877 100644 --- a/site_ansto/instrument/dingo/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/dingo/config/hmm/hmm_configuration.tcl @@ -1,15 +1,11 @@ -# Author Jing Chen (jgn@ansto.gove.au) - -source $cfPath(hmm)/hmm_configuration_common_1.tcl -source $cfPath(hmm)/hmm_cylindrical_detector_configuration.tcl -set sim_mode [SplitReply [hmm_simulation]] - -proc ::histogram_memory::init_OAT_TABLE {} {} -proc CAT_TABLE {args} {} -proc ::histogram_memory::init_CAT_TABLE {} {} -proc ::histogram_memory::pre_count {} {} -proc ::histogram_memory::post_count {} {} -proc ::histogram_memory::isc_initialize {} {} -proc histmem {cmd args} {} - +# Author Ferdi Franceschini +namespace eval histogram_memory { + # Define HP_HMM to make nxscripts_common_1.tcl::nexus::process_filetype_policy happy when setting filetype=BEAM_MONITOR + set HP_HMM "" + # Define isc_initialize to give server_config.tcl:server_init something to call + proc isc_initialize {} { + } + proc set_sobj_attributes {} { + } +} diff --git a/site_ansto/instrument/dingo/dingo_configuration.tcl b/site_ansto/instrument/dingo/dingo_configuration.tcl index 6a6a1049..d8c6464c 100644 --- a/site_ansto/instrument/dingo/dingo_configuration.tcl +++ b/site_ansto/instrument/dingo/dingo_configuration.tcl @@ -44,7 +44,7 @@ fileeval $cfPath(source)/source.tcl #fileeval $cfPath(motors)/extraconfig.tcl fileeval $cfPath(plc)/plc.tcl fileeval $cfPath(counter)/counter.tcl -#fileeval $cfPath(hmm)/hmm_configuration.tcl +fileeval $cfPath(hmm)/hmm_configuration.tcl fileeval $cfPath(nexus)/nxscripts.tcl fileeval $cfPath(scan)/scan.tcl fileeval $cfPath(commands)/commands.tcl