SICS-587 (in progress) IP and PORT configurations DONE for Quokka.
TODO Environment controllers etc.
This commit is contained in:
47
site_ansto/instrument/sans/hostport_config_test.tcl
Normal file
47
site_ansto/instrument/sans/hostport_config_test.tcl
Normal file
@@ -0,0 +1,47 @@
|
||||
# Specify NONE for HOST and PORT if there is no fake device to talk to.
|
||||
|
||||
# TEST MOTOR HOST AND PORT
|
||||
foreach {key host port} {
|
||||
MC1 localhost 62430
|
||||
MC2 localhost 62431
|
||||
MC3 localhost 62432
|
||||
MC4 localhost 62433
|
||||
} {
|
||||
dict set MOTOR_HOSTPORT $key HOST $host
|
||||
dict set MOTOR_HOSTPORT $key PORT $port
|
||||
}
|
||||
|
||||
# TEST BEAM MONITOR HOST AND PORT
|
||||
foreach {key host port} {
|
||||
MONITOR_1 localhost 30000
|
||||
MONITOR_2 localhost 30001
|
||||
MONITOR_3 localhost 30002
|
||||
} {
|
||||
dict set MONITOR_HOSTPORT $key HOST $host
|
||||
dict set MONITOR_HOSTPORT $key PORT $port
|
||||
}
|
||||
|
||||
# TEST HISTOGRAM SERVER HOST AND PORT
|
||||
foreach {key host port} {
|
||||
HMM das1-test.nbi.ansto.gov.au 8080
|
||||
} {
|
||||
dict set HISTMEM_HOSTPORT $key HOST $host
|
||||
dict set HISTMEM_HOSTPORT $key PORT $port
|
||||
}
|
||||
|
||||
# SPIN FLIPPER HOST AND PORT
|
||||
foreach {key host port} {
|
||||
ANSFR83B localhost 64001
|
||||
} {
|
||||
dict set ACGEN_HOSTPORT $key HOST $host
|
||||
dict set ACGEN_HOSTPORT $key PORT $port
|
||||
}
|
||||
|
||||
# VELOCITY SELECTOR HOST AND PORT
|
||||
foreach {key host port} {
|
||||
NVS40 localhost 60001
|
||||
NVS43 localhost 60001
|
||||
} {
|
||||
dict set VELSEL_HOSTPORT $key HOST $host
|
||||
dict set VELSEL_HOSTPORT $key PORT $port
|
||||
}
|
||||
Reference in New Issue
Block a user