Source code for hvl_ccb.dev.keysightb298xx.base

#  Copyright (c) ETH Zurich, SIS ID and HVL D-ITET
#
from hvl_ccb.configuration import configdataclass
from hvl_ccb.dev.base import DeviceError
from hvl_ccb.dev.visa import VisaDeviceConfig

from .modules import (
    SensCharge,
    SensCurrent,
    SensResistance,
)


[docs] class KeysightB2985AError(DeviceError): """General error class for the Keysight B2985A device."""
[docs] @configdataclass class KeysightB2985AConfig(VisaDeviceConfig): """ Configdataclass for the KeysightB2985A device. """ module: type[SensCharge | SensCurrent | SensResistance] = SensCurrent