hmm_configuration_common_1.tcl

Set histmem view mag to auto
Workaround for SICS-204 hmc sets bm preset to 0

hrpd/config/count/counter.tcl
reflectometer/config/count/counter.tcl
echidna only has two beam monitors enabled
SICS should not start or stop the third beam monitor on platypus

config/scan/scan_common_1.tcl
Show counts from available beam monitors during scans

r2649 | ffr | 2008-07-14 15:15:58 +1000 (Mon, 14 Jul 2008) | 12 lines
This commit is contained in:
Ferdi Franceschini
2008-07-14 15:15:58 +10:00
committed by Douglas Clowes
parent 7431af42d9
commit dd927d18af
4 changed files with 20 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
# $Revision: 1.35 $
# $Date: 2008-07-11 02:15:55 $
# $Revision: 1.36 $
# $Date: 2008-07-14 05:15:58 $
# Author: Ferdi Franceschini
# Based on the examples in the hs_test.tcl sample configuration by Mark Lesha.
# http://gumtree.ansto.gov.au:9080/nbicms/bragg-systems/histogram-server/hs_test.tcl/view
@@ -920,7 +920,7 @@ proc CAT_TABLE {args} {
#
proc FAT_TABLE {args} {
if [ catch {
set attributes { FRAME_FREQUENCY SIZE_PERIOD COUNT_METHOD COUNT_SIZE READ_DATA_TYPE }
set attributes { FRAME_FREQUENCY SIZE_PERIOD COUNT_METHOD COUNT_SIZE READ_DATA_TYPE VIEW_MAG_X VIEW_MAG_Y}
set elements {{ }}
set tag FAT
@@ -1611,7 +1611,7 @@ proc ::histogram_memory::ic_initialize {} {
::histogram_memory::x_pixel_offset -boundaries
::histogram_memory::time_channel -boundaries
::histogram_memory::clear_tables
#XXX ::histogram_memory::upload_config Filler_defaults
FAT_TABLE -set VIEW_MAG_X -1 VIEW_MAG_Y -1
foreach hm_obj [sicslist type histmem] {
$hm_obj configure hmaddress http://das1-[instname].nbi.ansto.gov.au:8080
@@ -1671,6 +1671,8 @@ proc ::histogram_memory::post_count {} {}
if {$monitor_controlled == "true"} {
hmm count
} else {
bm setmode timer
bm setpreset 32000000
hmc start 1000000000 timer pause 1
}
set reply [SplitReply [hmm configure daq]]