Skip to content

Commit

Permalink
Update CHANGELOG, find_zsync_worker_port
Browse files Browse the repository at this point in the history
  • Loading branch information
markheik committed Feb 7, 2023
1 parent 100c0bd commit 764849f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Unreleased
* Improved verbosity of the error message when invalid attributes of `CommandTable.header` and `CommandTable.table` are used.
* 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.

## Version 0.5.1
* Added full support for the following LabOne modules (no need to fallback to zhinst.core):
Expand Down
1 change: 1 addition & 0 deletions src/zhinst/toolkit/driver/devices/pqsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +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
"""
device_serial = device.serial[3:]
node_to_serial_dict = self.zsyncs["*"].connection.serial()
Expand Down

0 comments on commit 764849f

Please sign in to comment.