Create beam monitor in instrument specific configuration and provide option for creating simulated beam monitor driver.

r1851 | ffr | 2007-04-13 12:52:49 +1000 (Fri, 13 Apr 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-04-13 12:52:49 +10:00
committed by Douglas Clowes
parent 57a2cff61c
commit 1c65171e4e
3 changed files with 16 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
set sim_mode [SplitReply [counter_simulation]]
if {$sim_mode == "true"} {
MakeCounter bm SIM 0.0;
} else {
# 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 anstomonitor [ params host "das1-[SplitReply [instrument]]" port "30000" ]
}
source $cfPath(counter)/counter_common_1.tcl
unset sim_mode