Copied from Platypus Reflectometer
r2054 | dcl | 2007-07-09 16:02:35 +1000 (Mon, 09 Jul 2007) | 2 lines
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user