Files
sics/site_ansto/instrument/pelican/hostport_config.tcl
2013-05-08 11:26:02 +10:00

39 lines
910 B
Tcl

# MOTOR HOST AND PORT
foreach {mc host port} {
MC1 mc1-pelican pmc1-pelican
MC2 mc2-pelican pmc2-pelican
MC3 mc3-pelican pmc3-pelican
MC4 mc4-pelican pmc4-pelican
MC6 mc6-pelican pmc6-pelican
} {
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-pelican 33000
MONITOR_2 das1-pelican 33001
MONITOR_3 das1-pelican 33002
} {
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-pelican 8080
HMSTAT das1-pelican 8081
} {
dict set HISTMEM_HOSTPORT $key HOST $host
dict set HISTMEM_HOSTPORT $key PORT $port
}
# CHOPPER HOST AND PORT
foreach {key host port} {
MB350PC 137.157.202.213 502
} {
dict set CHOPPER_HOSTPORT $key HOST $host
dict set CHOPPER_HOSTPORT $key PORT $port
}