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.
This commit is contained in:
28
site_ansto/instrument/dingo/hostport_config_test.tcl
Normal file
28
site_ansto/instrument/dingo/hostport_config_test.tcl
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user