Closedown
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
i0=ch.psi.pshell.epics.ChannelDouble|X11MA-KEI10:READOUT|Read||true
|
||||
capture=ch.psi.pshell.epics.ChannelDouble|NAPP-SCIENTA:HDF1:Capture|||
|
||||
energy=ch.psi.pshell.epics.Positioner|X07DB-OP-MONO:ENERGY X07DB-OP-MONO:ERBK|||true
|
||||
scienta=ch.psi.pshell.epics.Scienta|NAPP-SCIENTA|||true
|
||||
spectrum=ch.psi.pshell.imaging.CameraSource|scienta|||true
|
||||
|
||||
@@ -5,10 +5,15 @@ regions = [[523.0, 527.0, 0.5], [527.0, 535.0, 0.25], [535.0, 558.0, 0.5]]
|
||||
|
||||
|
||||
|
||||
caputq("NAPP-SCIENTA:HDF1:Capture",1)
|
||||
|
||||
def trigger(position, scan):
|
||||
scienta.start()
|
||||
scienta.waitNewImage(-1)
|
||||
|
||||
|
||||
try:
|
||||
rscan(energy, sensors, regions, latency = 0.0, before_read=trigger)
|
||||
finally:
|
||||
caputq("NAPP-SCIENTA:HDF1:Capture",0)
|
||||
scienta.zeroSupplies()
|
||||
Reference in New Issue
Block a user