Break simulation flagss out of the server_config.tcl
These are the most frequent instrument-specific changes
This commit is contained in:
23
site_ansto/instrument/bilby/sics_simulation.tcl
Normal file
23
site_ansto/instrument/bilby/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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
|
||||||
|
}
|
23
site_ansto/instrument/dingo/sics_simulation.tcl
Normal file
23
site_ansto/instrument/dingo/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation true true
|
||||||
|
hmm_simulation true true
|
||||||
|
environment_simulation false false
|
||||||
|
counter_simulation true true
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false true
|
||||||
|
velsel_simulation false true
|
||||||
|
plc_simulation true 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
|
||||||
|
}
|
23
site_ansto/instrument/hipd/sics_simulation.tcl
Normal file
23
site_ansto/instrument/hipd/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation false true
|
||||||
|
hmm_simulation false true
|
||||||
|
environment_simulation false false
|
||||||
|
counter_simulation false 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
|
||||||
|
}
|
23
site_ansto/instrument/hrpd/sics_simulation.tcl
Normal file
23
site_ansto/instrument/hrpd/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true
|
||||||
|
counter_simulation false false
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false false
|
||||||
|
velsel_simulation false false
|
||||||
|
plc_simulation false true
|
||||||
|
rfgen_simulation false false
|
||||||
|
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
|
||||||
|
}
|
23
site_ansto/instrument/kookaburra/sics_simulation.tcl
Normal file
23
site_ansto/instrument/kookaburra/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation false true
|
||||||
|
hmm_simulation false true
|
||||||
|
environment_simulation false false
|
||||||
|
counter_simulation false true
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false true
|
||||||
|
velsel_simulation false true
|
||||||
|
plc_simulation true 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
|
||||||
|
}
|
23
site_ansto/instrument/pelican/sics_simulation.tcl
Normal file
23
site_ansto/instrument/pelican/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 false true
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false true
|
||||||
|
velsel_simulation false true
|
||||||
|
plc_simulation true 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
|
||||||
|
}
|
23
site_ansto/instrument/reflectometer/sics_simulation.tcl
Normal file
23
site_ansto/instrument/reflectometer/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation false true
|
||||||
|
hmm_simulation false true
|
||||||
|
environment_simulation false true
|
||||||
|
counter_simulation false false
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false false
|
||||||
|
velsel_simulation false false
|
||||||
|
plc_simulation false true
|
||||||
|
rfgen_simulation false false
|
||||||
|
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
|
||||||
|
}
|
23
site_ansto/instrument/rsd/sics_simulation.tcl
Normal file
23
site_ansto/instrument/rsd/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true
|
||||||
|
counter_simulation false false
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false false
|
||||||
|
velsel_simulation false false
|
||||||
|
plc_simulation false true
|
||||||
|
rfgen_simulation false false
|
||||||
|
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
|
||||||
|
}
|
23
site_ansto/instrument/sans/sics_simulation.tcl
Normal file
23
site_ansto/instrument/sans/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation false true
|
||||||
|
hmm_simulation false true
|
||||||
|
environment_simulation false false
|
||||||
|
counter_simulation false 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
|
||||||
|
}
|
23
site_ansto/instrument/tas/sics_simulation.tcl
Normal file
23
site_ansto/instrument/tas/sics_simulation.tcl
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 true true
|
||||||
|
detector_simulation false true
|
||||||
|
hmm_simulation false true
|
||||||
|
environment_simulation false true
|
||||||
|
counter_simulation false false
|
||||||
|
motor_simulation false false
|
||||||
|
chopper_simulation false false
|
||||||
|
velsel_simulation false false
|
||||||
|
plc_simulation true true
|
||||||
|
rfgen_simulation false false
|
||||||
|
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
|
||||||
|
}
|
Reference in New Issue
Block a user