Speed up histmem config when SICS starts up.

Clock scale, frame freq and source should be set in the instrument specific
hmm_configuration.tcl file, not in hmm_configuration_common_1.tcl.
This commit is contained in:
Ferdi Franceschini
2013-08-15 13:56:50 +10:00
parent 4434d97239
commit ca1e34856a
9 changed files with 35 additions and 5 deletions

View File

@@ -1545,11 +1545,12 @@ proc ::histogram_memory::ic_initialize {} {
$hm_obj configure password SICS
$hm_obj configure histmode transparent
}
::histogram_memory::initialise_dictionary
# ::histogram_memory::initialise_dictionary
::histogram_memory::frame_source_always_internal $default_frame_source_always_internal([instname])
::histogram_memory::set_frame_freq 50
::histogram_memory::set_clock_scale 1000
::histogram_memory::set_frame_source $default_frame_source_when_there_is_no_frame_signal([instname])
## ffr clock scale, frame freq and source should be set in instrument specific hmm_configuration.tcl to speed up initialisation
# ::histogram_memory::set_frame_freq 50
# ::histogram_memory::set_clock_scale 1000
# ::histogram_memory::set_frame_source $default_frame_source_when_there_is_no_frame_signal([instname])
::histogram_memory::count_method unlimited
::histogram_memory::count_size 0
::histogram_memory::softveto false