You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our vertical slice project has asked us to priorities beamlines i10 and i05 for the new Diamond II software. I10 devices are more or less completed already. However, the i05 side we still need to make progress with porting device logic over.
List of devices that are required for these scripts (left side is GDA, right side is bluesky equivalent if already done):
m1_pitch -> m1.pitch
m1_roll -> m1.roll
m3mj6_x -> m3mj6.x
m3mj6_pitch -> m3mj6.pitch
pgm_energy -> pgm.energy
pgm_cff -> pgm.cff
ring_current -> synchrotron.current
energy -> energy
d3_cy
The scripts all use standard move and scan plans. The only blocker I can foresee is that the GDA scan syntax allows you to specify to move a device to position x in the same scan start stop step. e.g
GDA scan a 1 5 1 b c 1 -> scan([b], a, 1, 5, 1, ...) # No equivalent for c 1 move in same scan.
We will need to either fix this directly in bluesky which will require collaboration and will be slow. Or we wrap the scan plans and allow for additional move in same plan. We should also consult other teams in DLS to know if we want to continue to support this behaviour and if so, what the best solution is.
Activity
[-]Scripting Vertical Slice project[/-][+]Scripting Vertical Slice project - i05[/+]Relm-Arrowny commentedon Oct 22, 2026
I have not tested it since 0.XX but this should work https://github.com/DiamondLightSource/sm-bluesky/blob/main/src/sm_bluesky/common/plans/alignments.py for alignments, chance the axis and it will go to peak/com or edge etc etc
Looking at the script they are just scans, they do not actually do any alignment/correctional movement.
Probably worth noting, we can already do scripting
#436
m1es_pitchdevice #430waittimedevice #431exit_slitdevice - s6 motors #435s1_xgapands1_ygap#441s2_xsizeands2_ysize#442oliwenmandiamond commentedon Oct 30, 2026
Linked to #79
d7current(i05) andd3current(i05-shared) dodal#2258