reorganised configuration tree

r1707 | dcl | 2007-03-23 16:15:51 +1100 (Fri, 23 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-23 16:15:51 +11:00
parent 1a5c864950
commit fd8618b453
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# Make and configure an ANSTO beam monitor counter.
# This must be sourced before the hmm_configuration.tcl until we separate the scan setup from the hmm setup
MakeCounter bm SIM 0.0
bm SetExponent 0

View File

@@ -0,0 +1,27 @@
MakeHM hmm SIM
hmm configure HistMode Normal
hmm configure OverFlowMode Ceil
hmm configure dim0 512
hmm configure dim1 128
hmm configure rank 2
hmm configure BinWidth 4
#hmm configure BinWidth 1
hmm preset 100.
hmm CountMode Timer
hmm configure Counter counter
hmm configure init 0
hmm init
#MakeScanCommand hmscan bm scan.hdd recover.bin
namespace eval histogram_memory {
proc hs_prepare {scanobjectname userobjectname} {}
proc hs_finish {scanobjectname userobjectname} {}
proc hs_count_bm_controlled {scanobjectname userobjectname point mode preset} {}
proc hmm_initialize {} {}
proc hmm_setup {mode bankNum rankNum nyc nxc ntc} {}
}
publish ::histogram_memory::hs_prepare user
publish ::histogram_memory::hs_finish user
publish ::histogram_memory::hs_count_bm_controlled user