Script execution

This commit is contained in:
gac-x03da
2019-06-23 06:12:05 +02:00
parent 8ca855b119
commit 615e31c03f

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),
( 221.5, 50 , 5.0),
( 350.8, 50 , 5.0),
STEPS = [ ( 136.0, 50 , 5.0),
( 136.2, 50 , 5.0),
( 136.5, 50 , 5.0),
]
SETTLING_TIME = 0.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")]