Source code for qcodes.instrument_drivers.Keysight.Keysight_N5245A

from typing import TYPE_CHECKING

from . import N52xx

if TYPE_CHECKING:
    from typing_extensions import Unpack

    from qcodes.instrument import VisaInstrumentKWArgs


[docs] class KeysightN5245A(N52xx.PNAxBase): def __init__( self, name: str, address: str, **kwargs: "Unpack[VisaInstrumentKWArgs]" ): super().__init__( name, address, min_freq=10e6, max_freq=50e9, min_power=-30, max_power=13, nports=4, **kwargs ) attenuators_options = {"219", "419"} options = set(self.get_options()) if attenuators_options.intersection(options): self._set_power_limits(min_power=-90, max_power=13) if "080" in options: self._enable_fom()