Script execution

This commit is contained in:
gac-x03da
2021-09-07 05:44:54 +02:00
parent 9d5b06337c
commit 3e4d4d87ff

View File

@@ -1,8 +1,8 @@
import ch.psi.pshell.device.DummyPositioner as DummyPositioner
#Energy #Pass Energy #Step Time
STEPS = [ ( 136.2, 50 , 5.0),
( 336.5, 50 , 5.0),
STEPS = [ #( 136.2, 50 , 5.0),
( 332.65, 20 , 5.0),
# ( 350.8, 100 , 5.0),
]
@@ -13,7 +13,7 @@ STEP_TIME = 5.0
class PassEnergy(Writable):
def write(self, value):
Scienta.setPassEnergy(50)
Scienta.setPassEnergy(20)
POSITIONERS = [Scienta.getCenterEnergy(), PassEnergy(), Scienta.getChild("Scienta step time")]