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
The entry point for setting the energy is in beamLineEnergy.asynchronousMoveTo which overrides the asynchronousMoveTo in Scannable. ScannableMotionBase delegates moveTo to the async version.
asynchronousMoveTo ultimately calls asynchronousMoveTo_worker in beamLineSpecificEnergy
asynchronousMoveTo_worker performs a number of operations all on separate threads and then waits for them to finish
asynchronousMoveTo_worker creates a MoveVfmThread instance, which initialises VFM_X and VFM_Y stripe according to both the current and requested energy.
asynchronouseMoveTo_workersets the focus mode Not sure if we need to implement this
asynchronouseMoveTo_workersets detector energy Don't think we need to do this
asynchronouseMoveTo_workersets energy in ChangeEnergyThread, this is where it sets BeamLineEnergy_Bragg_eV and then calls energyController.moveTo()
asynchronouseMoveTo_worker keeps all its async threads tracked in energy_threads array and waits for them to complete at the end of the func