nibcq.errors.HardwareIncompatibilityError
- exception nibcq.errors.HardwareIncompatibilityError(message: str = 'The current given model is incompatible with the Cell Quality Toolkit.')
Bases:
BCQErrorException raised when there is a hardware incompatibility issue.
- Parameters:
message (str, optional) – Custom error message. Defaults to a standard message.
Examples
The following are examples of how this error can be raised:
General incompatibility (unknown or unsupported model)
>>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported by the Cell Quality Toolkit." >>> )
Specific: DCIR measurement (Eload required)
>>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for DCIR measurement. >>> Supported models: {Device.SUPPORTED_ELOAD_LIST}" >>> )
Specific: EIS/ACIR measurement (SMU required)
>>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for EIS/ACIR measurement. >>> Supported models: {Device.SUPPORTED_SMU_LIST}" >>> )
Specific: OCV measurement (DMM required)
>>> raise HardwareIncompatibilityError( >>> f"{device.product} is not supported for OCV measurement. >>> Supported models: {Device.SUPPORTED_DMM_LIST}" >>> )