SICS-587 Setup hostport dictionary based configuration for Kookaburra
This commit is contained in:
30
site_ansto/instrument/kookaburra/hostport_config.tcl
Normal file
30
site_ansto/instrument/kookaburra/hostport_config.tcl
Normal file
@@ -0,0 +1,30 @@
|
||||
# MOTOR HOST AND PORT
|
||||
foreach {mc host port} {
|
||||
MC1 mc1-kookaburra pmc1-kookaburra
|
||||
MC2 mc2-kookaburra pmc2-kookaburra
|
||||
MC3 mc3-kookaburra pmc3-kookaburra
|
||||
MC4 mc4-kookaburra pmc4-kookaburra
|
||||
MC6 mc6-kookaburra pmc6-kookaburra
|
||||
} {
|
||||
dict set MOTOR_HOSTPORT $mc HOST $host
|
||||
dict set MOTOR_HOSTPORT $mc PORT $port
|
||||
}
|
||||
|
||||
# BEAM MONITOR HOST AND PORT
|
||||
foreach {bm host port} {
|
||||
MONITOR_1 das1-kookaburra 30000
|
||||
MONITOR_2 das1-kookaburra 30001
|
||||
MONITOR_3 das1-kookaburra 30002
|
||||
} {
|
||||
dict set MONITOR_HOSTPORT $bm HOST $host
|
||||
dict set MONITOR_HOSTPORT $bm PORT $port
|
||||
}
|
||||
|
||||
# HISTOGRAM SERVER HOST AND PORT
|
||||
foreach {key host port} {
|
||||
HMM das1-kookaburra.nbi.ansto.gov.au 8080
|
||||
HMSTAT das1-kookaburra.nbi.ansto.gov.au 8081
|
||||
} {
|
||||
dict set HISTMEM_HOSTPORT $key HOST $host
|
||||
dict set HISTMEM_HOSTPORT $key PORT $port
|
||||
}
|
||||
Reference in New Issue
Block a user