DAQ: temporary updates to workflows.py
This commit is contained in:
@@ -34,14 +34,14 @@ def common_2rse(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
print('move smargon home')
|
||||
devs.smargon_move_home()
|
||||
print('try to move aerotech')
|
||||
devs.aerotech_pos = Coordinate(x=18.0, y=0.0, z=0.0)
|
||||
devs.aerotech_pos = Coordinate(x=0.0, y=0.0, z=0.0)
|
||||
devs.aerotech_omega = 0.0
|
||||
print('move bl to park')
|
||||
devs.reflector_up = StagePositionEnum.PARK
|
||||
#print('move bl to park')
|
||||
#devs.reflector_up = StagePositionEnum.PARK
|
||||
print('move bs to park')
|
||||
devs.beamstop_stage_up = StagePositionEnum.PARK
|
||||
print('move cryo to park')
|
||||
devs.__cryojet_pos = StagePositionEnum.PARK
|
||||
#print('move cryo to park')
|
||||
#devs.__cryojet_pos = StagePositionEnum.PARK
|
||||
|
||||
def m2se(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
pass
|
||||
@@ -53,14 +53,14 @@ def sa2se(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
print('move smargon home')
|
||||
devs.smargon_move_home()
|
||||
print('try to move aerotech')
|
||||
devs.aerotech_pos = Coordinate(x=18.0, y=0.0, z=0.0)
|
||||
devs.aerotech_pos = Coordinate(x=0.0, y=0.0, z=0.0)
|
||||
devs.aerotech_omega = 0.0
|
||||
print('move bl to park')
|
||||
devs.reflector_up = StagePositionEnum.PARK
|
||||
print('move bs to park')
|
||||
devs.beamstop_stage_up = StagePositionEnum.PARK
|
||||
print('move cryo to park')
|
||||
devs.__cryojet_pos = StagePositionEnum.PARK
|
||||
#print('move cryo to park')
|
||||
#devs.__cryojet_pos = StagePositionEnum.PARK
|
||||
|
||||
def sa2rse(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
common_2rse(devs, cfg)
|
||||
|
||||
Reference in New Issue
Block a user