Files
sics/site_ansto/instrument/hipd/hostport_config.tcl

30 lines
725 B
Tcl

# MOTOR HOST AND PORT
foreach {mc host port} {
MC1 mc1-wombat pmc1-wombat
MC2 mc2-wombat pmc2-wombat
MC3 mc3-wombat pmc3-wombat
MC4 mc4-wombat pmc4-wombat
} {
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-wombat 30000
MONITOR_2 das1-wombat 30001
MONITOR_3 das1-wombat 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-wombat.nbi.ansto.gov.au 8080
HMSTAT das1-wombat.nbi.ansto.gov.au 8081
} {
dict set HISTMEM_HOSTPORT $key HOST $host
dict set HISTMEM_HOSTPORT $key PORT $port
}