Files
sics/site_ansto/instrument/emu/sics_simulation.tcl
Ferdi Franceschini a76f5d9143 First implementation of an Emu.
TODO: Review motor names.
2015-03-10 14:13:11 +11:00

24 lines
980 B
Tcl

# Simulation flags, possible values = true or false
# true: The simulated driver will be used.
# false: The real driver will be used.
# icsval column = settings when running on the Instrument Control Server (ie SICS_SIMULATION not defined)
# fakedev column = settings for test platforms (ie SICS_SIMULATION=fakedev)
foreach {simflag icsval fakedev} {
opal_simulation false true
detector_simulation false true
hmm_simulation false true
environment_simulation false false
counter_simulation true true
motor_simulation false false
chopper_simulation false true
velsel_simulation false true
plc_simulation false true
rfgen_simulation false true
goniometer_simulation false true
magnetic_simulation false true
} {
dict set SIMFLAG_VAL $simflag ICSVAL $icsval
dict set SIMFLAG_VAL $simflag FAKEDEV $fakedev
VarMake $simflag Text internal
}