What’s new?

Below you will find the most relevant news that brings the Sardana releases. For a complete list of changes consult the Sardana CHANGELOG.md file.

What’s new in Sardana 3.1.3?

Date: 2021-09-17

Type: hotfix release


  • Regression introduced in Sardana 3.0.3 affecting grouped move/scan of pseudo motors proceeding from the same controller e.g. slit’s gap and offset, HKL pseudo motors. Such a grouped move was only sending set possition to the first pseudo motor.

  • Regression introduced in Sardana 3.1.2 affecting custom continuous scans composed from waypoints with non-homogeneous number of points. Such scans were producing erroneuous number of points due to an error in the final padding logic.

What’s new in Sardana 3.1.2?

Date: 2021-08-02

Type: hotfix release


  • Avoid memory leak in continuous scans (ascanct, meshct, etc.). The MacroServer process memory was growing on each scan execution by the amount corresponding to storing in the memory the scan data.

What’s new in Sardana 3.1.1?

Date: 2021-06-11

Type: hotfix release


  • Correctly handle stop/abort of macros e.g. Ctrl+c in Spock in case the macro was executing another hooked macros e.g. a scan executing a general hook.

What’s new in Sardana 3.1?

Date: 2021-05-17 (Jan21 milestone)

Type: biannual stable release

It is backwards compatible and comes with new features, changes and bug fixes.


This release, in comparison to the previous ones, brings significant user experience improvements when used on Windows.



  • Experimental channel’s shape is now considered as a result of the configuration e.g. RoI, binning, etc. and not part of the measurement group configuration:


  • Sardana server (standalone) startup is more robust.

  • Storing string values in datasets, pre-scan snapshot and custom data in NXscanH5_FileRecorder.

  • Stopping/aborting grouped movement when backlash correction would be applied.

  • Randomly swapping target positions in grouped motion when moveables proceed from various Device Pool’s.

  • Enables possible dead time optimization in mesh scan macro by executing per measurement preparation.

  • Continuously read experimental channel’s value references in hardware synchronized acquisition instead of reading only once at the end.

  • Problems when Changing default interface of standard attributes in controllers e.g. shape of the pseudo counter’s Value attribute.

  • Sequencer related bugs:

    • Fill Macro’s parent_macro in case of executing XML hooks in sequencer

    • Problems with macro id’s when executing sequences loaded from plain text files with spock syntax

    • Loading of sequences using macro functions from plain text files with spock syntax

  • Apply position formatting (configured with PosFormat ViewOption) to the limits in the wm macro.