Add energy, grating and ROI control
This commit is contained in:
@@ -163,8 +163,23 @@ class PSSSEnergySet(RegisterBase):
|
||||
|
||||
add_device(PSSSEnergySet("psss_energy_set"), True)
|
||||
psss_energy_set.alias = "energy"
|
||||
psss_energy_set.polling=1000
|
||||
|
||||
|
||||
|
||||
class PSSSGratingSet(DiscretePositioner):
|
||||
def doWrite(self, val):
|
||||
if not is_dry_run():
|
||||
super(PSSSGratingSet, self).doWrite(val)
|
||||
#caput(psss_grating.getSetpoint().getChannelName(), val)
|
||||
#self.setCache(val)
|
||||
exec_cpython("/ioc/modules/qt/PSSS_motion.py", args = ["-m3", "SARFE10-PSSS059"])
|
||||
# python / ioc / modules / qt / PSSS_motion.py - m1 SARFE10 - PSSS059
|
||||
time.sleep(1)
|
||||
|
||||
add_device(PSSSGratingSet("psss_grating", "SARFE10-PSSS055:GRATING_SP"), True)
|
||||
psss_grating.alias = "grating"
|
||||
psss_grating.monitored=True
|
||||
###################################################################################################
|
||||
# Tools
|
||||
###################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user