driver_version_check#

Helper functions to perform the version check for qblox_instruments.

Module Contents#

Functions#

verify_qblox_instruments_version(→ None)

Verifies whether the installed version is supported by the qblox_backend.

Attributes#

logger

driver_version

SUPPORTED_DRIVER_VERSIONS

Tuple containing all the version supported by this version of the backend.

raise_on_version_mismatch

Can be set to false to override version check.

logger[source]#
driver_version = None[source]#
SUPPORTED_DRIVER_VERSIONS: tuple[str, Ellipsis] = ('0.14',)[source]#

Tuple containing all the version supported by this version of the backend.

raise_on_version_mismatch: bool = True[source]#

Can be set to false to override version check.

exception DriverVersionError[source]#

Bases: Exception

Raise when the installed driver version is not supported.

verify_qblox_instruments_version(version: str | None = driver_version) None[source]#

Verifies whether the installed version is supported by the qblox_backend.

Parameters:

version – The Qblox driver versions (qblox-instruments python package).

Raises:

DriverVersionError – When an incorrect or no installation of qblox-instruments was found.