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.1?¶
Type: hotfix release
Correctly handle stop/abort of macros e.g.
Ctrl+cin 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.
HDF5 write session, in order to avoid the file locking problems and to introduce the SWMR mode support. It enables safe introspection e.g.: using data analysis tools like PyMCA or silx, custom scripts, etc. of the scan data files written in the HDF5 data format while scanning. You can control the session using e.g.:
h5_end_sessionmacros or the
h5_write_sessioncontext manager. More information in the NXscanH5_FileRecorder documentation
scan information and scan point forms to the showscan online widget. See example in the showscan online screenshot .
ubrmacros. You may use
PRE_POST_MOVE_HOOK_IN_MVfor disabling these hooks.
Include trigger/gate (synchronizer) elements in the per-measurement preparation. This enables possible dead time optimization in hardware synchronized step scans. More information in the How to write a trigger/gate controller documentation .
ScanUser environment variable.
Avoid double printing of user units in PoolMotorTV User’s Interface: read widget and units widget.
Properly Handling exceptions in macros in order to not interfere with macro stopping/aborting
Update Installation instructions
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
meshscan 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:
parent_macroin 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
PosFormatViewOption) to the limits in the