Script execution

This commit is contained in:
gac-x03da
2019-06-24 19:15:36 +02:00
parent 087d3181f4
commit 9229d95fbe

View File

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