From 5a17bca641bafc6dea52a9e889c82736bdee8514 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Thu, 22 Aug 2013 07:58:20 +1000 Subject: [PATCH] Make sure hmm clock_scale and freq are set or SICS won't start properly. If these parameters aren't set on an instrument with a histogram server then SICS won't create the hdb tree. --- site_ansto/instrument/hipd/config/hmm/hmm_configuration.tcl | 2 ++ site_ansto/instrument/hrpd/config/hmm/hmm_configuration.tcl | 2 ++ .../instrument/kookaburra/config/hmm/hmm_configuration.tcl | 2 ++ site_ansto/instrument/lyrebird/config/hmm/hmm_configuration.tcl | 2 ++ .../instrument/reflectometer/config/hmm/hmm_configuration.tcl | 2 ++ site_ansto/instrument/rsd/config/hmm/hmm_configuration.tcl | 2 ++ site_ansto/instrument/sans/config/hmm/hmm_configuration.tcl | 2 ++ 7 files changed, 14 insertions(+) diff --git a/site_ansto/instrument/hipd/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/hipd/config/hmm/hmm_configuration.tcl index f273c9e0..98d8943b 100644 --- a/site_ansto/instrument/hipd/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/hipd/config/hmm/hmm_configuration.tcl @@ -23,6 +23,8 @@ proc ::histogram_memory::init_OAT_TABLE {args} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source INTERNAL switch $resolution { diff --git a/site_ansto/instrument/hrpd/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/hrpd/config/hmm/hmm_configuration.tcl index b15eeb9b..86df0649 100644 --- a/site_ansto/instrument/hrpd/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/hrpd/config/hmm/hmm_configuration.tcl @@ -15,6 +15,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source INTERNAL OAT_TABLE -set X { 127.5 126.5 } NXC 128 Y { -0.5 3.5 } NYC 128 T { 0 20000 } NTC 1 diff --git a/site_ansto/instrument/kookaburra/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/kookaburra/config/hmm/hmm_configuration.tcl index 93305dfd..e13e0db3 100644 --- a/site_ansto/instrument/kookaburra/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/kookaburra/config/hmm/hmm_configuration.tcl @@ -17,6 +17,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source INTERNAL OAT_TABLE -set X { 7.5 6.5 } NXC 8 Y { -0.5 0.5 } NYC 1024 T { 0 200000 } NTC 1 diff --git a/site_ansto/instrument/lyrebird/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/lyrebird/config/hmm/hmm_configuration.tcl index 9390b9ea..305dec01 100644 --- a/site_ansto/instrument/lyrebird/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/lyrebird/config/hmm/hmm_configuration.tcl @@ -17,6 +17,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source INTERNAL OAT_TABLE -set X { 29.5 28.5 } NXC 30 Y { -0.5 0.5 } NYC 1024 T { 0 200000 } NTC 1 diff --git a/site_ansto/instrument/reflectometer/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/reflectometer/config/hmm/hmm_configuration.tcl index 8c55f584..7bbe9d27 100644 --- a/site_ansto/instrument/reflectometer/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/reflectometer/config/hmm/hmm_configuration.tcl @@ -14,6 +14,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source EXTERNAL OAT_TABLE -set X { -210.5 -209.5 } NXC 421 Y { -110.5 -109.5 } NYC 221 T { 0 20000 } NTC 1 diff --git a/site_ansto/instrument/rsd/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/rsd/config/hmm/hmm_configuration.tcl index e6a72148..c9028418 100644 --- a/site_ansto/instrument/rsd/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/rsd/config/hmm/hmm_configuration.tcl @@ -16,6 +16,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source EXTERNAL OAT_TABLE -set X { -210.5 -209.5 } NXC 421 Y { -210.5 -209.5 } NYC 421 T { 0 20000 } NTC 1 diff --git a/site_ansto/instrument/sans/config/hmm/hmm_configuration.tcl b/site_ansto/instrument/sans/config/hmm/hmm_configuration.tcl index d42a208a..dbd4b87c 100644 --- a/site_ansto/instrument/sans/config/hmm/hmm_configuration.tcl +++ b/site_ansto/instrument/sans/config/hmm/hmm_configuration.tcl @@ -15,6 +15,8 @@ proc ::histogram_memory::init_OAT_TABLE {} { set clock_scale 1000 set freq 50 + hmm configure fat_clock_scale $clock_scale + hmm configure fat_frame_frequency $freq hmm configure fat_frame_source INTERNAL OAT_TABLE -set X { 191.5 190.5 } NXC 192 Y { -0.5 0.5 } NYC 192 T { 0 20000 } NTC 1