tas/config/hmm/hmm_configuration.tcl

Taipan doesn't not have a histogram memory server.

tas/config/motors/positmotor_configuration.tcl
Taipan doesn't currently have discrete position motors

config/commands/commands_common.tcl
Taipan doesn't have a histogram memory server.

config/nexus/nxscripts_common_1.tcl
Specify internal path name convention for Taipan hdf files

r3282 | ffr | 2011-11-25 10:11:59 +1100 (Fri, 25 Nov 2011) | 13 lines
This commit is contained in:
Ferdi Franceschini
2011-11-25 10:11:59 +11:00
committed by Douglas Clowes
parent 2c3a32f2e3
commit e5431d5e97
4 changed files with 9 additions and 104 deletions

View File

@@ -1,49 +1,8 @@
# Author Jing Chen (jgn@ansto.gove.au)
# Note: all following functions's bodies need to be implemented in real Taipan deployment
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 ""
source $cfPath(hmm)/hmm_configuration_common_1.tcl
set sim_mode [SplitReply [hmm_simulation]]
proc ::histogram_memory::init_OAT_TABLE {} {
}
proc ::histogram_memory::pre_count {} {}
proc ::histogram_memory::post_count {} {}
proc ::histogram_memory::isc_initialize {} {
# Instrument specific X and Y dimension names
#variable INST_NXC "oat_nxc_eff"
#variable INST_NYC "oat_nyc_eff"
if [ catch {
::histogram_memory::init_hmm_objs
if {$::sim_mode == "true"} {
#hmm configure oat_ntc_eff 1
#hmm configure $INST_NYC 127
#hmm configure $INST_NXC 127
}
#BAT_TABLE -init
#CAT_TABLE -init
#SAT_TABLE -init
#OAT_TABLE -init
#FAT_TABLE -init
::histogram_memory::ic_initialize
#detector_active_height_mm [expr 5.08 * 192]
#detector_active_width_mm [expr 5.08 * 192]
#detector_active_height_mm lock
#detector_active_width_mm lock
::histogram_memory::init_OAT_TABLE
::histogram_memory::upload_config Filler_defaults
#set ::histogram_memory::histmem_axes(HOR) /instrument/detector/x_pixel_offset
#set ::histogram_memory::histmem_axes(VER) /instrument/detector/y_pixel_offset
} message ] {
return -code error $message
# Define isc_initialize to give server_config.tcl:server_init something to call
proc isc_initialize {} {
}
}
proc histmem {cmd args} {
eval "_histmem $cmd $args"
}
publish histmem user