Files
sics/site_ansto/instrument/dingo/hostport_config_test.tcl
Ferdi Franceschini 2df9297a3f SICS-587 Setup hostport dictionary based configuration for dingo.
Also added simulated camera server and a camtest configuration file to
run test scans against a dummy motor.
2013-06-14 10:18:45 +10:00

29 lines
584 B
Tcl

# 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 62300
MC2 localhost 62301
MC3 localhost 62302
} {
dict set MOTOR_HOSTPORT $key HOST $host
dict set MOTOR_HOSTPORT $key PORT $port
}
# CAMERA SERVER
foreach {host port} {
localhost 63300
} {
dict set CAMERA_HOSTPORT HOST $host
dict set CAMERA_HOSTPORT PORT $port
}
# Safety Interlock System
plc_simulation true
foreach {host port} {
localhost 63310
} {
dict set PLC_HOSTPORT HOST $host
dict set PLC_HOSTPORT PORT $port
}