This commit is contained in:
gac-x11ma committed 2026-06-24 13:28:45 +02:00
1 parent b658ce0a15
commit 97ecbd2af2
113 files changed
+5193 -456368

No files matched your search

@@ -0,0 +1,10 @@
# From Alexandre Gobbo, see MS Teams
# After you run it the first time you must configure the device, and the initialize it:
class EnergyPGM(Positioner):
def doWrite(self, val):
energy_pgm.getSetpoint().write(val)
caput ("X11MA-PGM:setE.PROC", 1)
add_device(EnergyPGM("energy_pgm", "X11MA-PGM:energy", "X11MA-PGM:rbkenergy"), True)
energy_pgm.monitored=True
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
@@ -0,0 +1,9 @@
index=0
def after_read(rec):
if rec[ai2] < 0:
time.sleep(1.0)
rec.invalidate()
a= lscan((m1), (ai1,ai2), (0,), (0.4,), 20, 0.1, after_read=after_read)
@@ -0,0 +1,12 @@
testing = get_exec_pars().getSource()==CommandSource.ui
if testing:
START=780.0
END= 800.0
STEP_SIZE=1.0
lscan (BML_energy, CADC2, START, END, STEP_SIZE)
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.