Script execution

This commit is contained in:
gac-x03da
2021-09-02 10:40:31 +02:00
parent 1b833a1faa
commit da39711eb0

View File

@@ -1,8 +1,8 @@
import ch.psi.pshell.device.DummyPositioner as DummyPositioner
#Energy #Pass Energy #Step Time
STEPS = [ ( 136.2, 100 , 5.0),
( 350.8, 100 , 5.0),
STEPS = [ ( 136.2, 50 , 5.0),
( 336.5, 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(100)
Scienta.setPassEnergy(50)
POSITIONERS = [Scienta.getCenterEnergy(), PassEnergy(), Scienta.getChild("Scienta step time")]