Skip to content

Commit

Permalink
Change 0.5.2 version references to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
markheik committed Feb 10, 2023
1 parent ddc69f2 commit ef120dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
17 changes: 6 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
# zhinst-toolkit Changelog

## Version 0.5.2

Unreleased

* Improved verbosity of the error message when invalid attributes of `CommandTable.header` and `CommandTable.table` are used.
## Version 0.5.1
* Added full support for the following LabOne modules (no need to fallback to `zhinst.core`):
* Impedance Module
* Precompensation Advisor Module
* Introduced new base exception class `zhinst.toolkit.exceptions.ToolkitError`, deriving from `RuntimeError`.
* Changed some `RuntimeError` exceptions to `ToolkitError`.
* Added `find_zsync_worker_port()` to `PQSC` device class.
The function can be used to find the ID of the PQSC ZSync port connected to a given device.
* Added `session` property to `BaseInstrument`. This enables getting the given `Session` from the instrument.
* Changed SHFQA node `qachannels/*/oscs/0/freq` value range from (-500e6 Hz, 500e6 Hz) to (-1e9 Hz, 1e9 Hz). Out-of-range values now rounds
to (-1e9 Hz, 1e9 Hz). The functionality is changed to be consistent with LabOne UI.

## Version 0.5.1
* Added full support for the following LabOne modules (no need to fallback to zhinst.core):
* Impedance Module
* Precompensation Advisor Module
* Added `session` property to `BaseInstrument`. This enables getting the given `Session` from the instrument.
* Improved verbosity of the error message when invalid attributes of `CommandTable.header` and `CommandTable.table` are used.
* Fix issue with downloading waveforms from the device. This issue prevented indexes larger than 9 to be read from the device.

## Version 0.5.0
Expand Down
2 changes: 1 addition & 1 deletion src/zhinst/toolkit/driver/devices/pqsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def find_zsync_worker_port(self, device: BaseInstrument) -> int:
RuntimeError: If the given device doesn't appear to be connected
to the PQSC via ZSync.
.. versionadded:: 0.5.2
.. versionadded:: 0.5.1
"""
device_serial = device.serial[3:]
node_to_serial_dict = self.zsyncs["*"].connection.serial()
Expand Down
4 changes: 2 additions & 2 deletions src/zhinst/toolkit/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
class ToolkitError(RuntimeError):
"""Base class for `zhinst.toolkit` errors.
.. versionadded:: 0.5.2
.. versionadded:: 0.5.1
"""


class ValidationError(ToolkitError):
"""Data validation failed.
.. versionchanged:: 0.5.2
.. versionchanged:: 0.5.1
Changed base class from `Exception` to `ToolkitError`.
"""

0 comments on commit ef120dd

Please sign in to comment.