SICS-587 (in progress) Put IP and PORT configurations in a single file.

Pelican DONE motor, counter, chopper. TODO hmm, environment.
This commit is contained in:
Ferdi Franceschini
2013-04-21 14:57:57 +10:00
parent e5d6d44d8d
commit a9bd5cc5da
6 changed files with 93 additions and 29 deletions

View File

@@ -0,0 +1,36 @@
# MOTOR HOST AND PORT
foreach {mc host port} {
MC1 mc1-platypus pmc1-platypus
MC2 mc2-platypus pmc2-platypus
MC3 mc3-platypus pmc3-platypus
MC4 mc4-platypus pmc4-platypus
} {
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 localhost 33000
MONITOR_2 localhost 33001
MONITOR_3 localhost 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-platypus.nbi.ansto.gov.au 8080
} {
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
}