added Lyrebird instrument config

r3038 | jgn | 2010-12-13 16:10:57 +1100 (Mon, 13 Dec 2010) | 1 line
This commit is contained in:
Jing Chen
2010-12-13 16:10:57 +11:00
committed by Douglas Clowes
parent a3d551c8bb
commit 28772f6ec2
53 changed files with 4451 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
sics_ports.tcl
config

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

View File

@@ -0,0 +1,4 @@
set quieckport sics-quieck-val-lyrebird
set serverport sics-server-val-lyrebird
set interruptport sics-interrupt-val-lyrebird
set telnetport sics-telnet-val-lyrebird