Skip to content

Presets as sequencial

Valentin Valls requested to merge presets-as-sequencial into master

Closes #3567

This PR changes the behavior of the presets in the scans.

  • Up until now every presets was spawned together at the same time.
  • If one was moving a motor, and another one was moving a related motor it was possible to fail the scan
  • Now the list of presets are executed sequentially, which is safer

The order is the following one:

  • prepare preset1, preset2, preset3
  • start preset1, preset2, preset3
  • stop preset3, preset2, preset1

Which mean if the prepare moves motors, and the stop move back the motors, the exact same route will be taken to go and to go back.

Merge request reports

Loading