[docs]classDutCls:"""Dut commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("dut",core,parent)
[docs]defset(self,dut_type:enums.DutType)->None:"""SCPI: [SENSe]:CONFigure:MODE:DUT \n Snippet: driver.applications.k30NoiseFigure.sense.configure.mode.dut.set(dut_type = enums.DutType.AMPLifier) \n Selects the type of DUT you are testing. Note that you have to use [SENSe:]CONFigure:MODE:SYSTem:LO to select if the LO or IF are fixed. \n :param dut_type: AMPLifier | DDOWnconv | DOWNconv | SDConverter | UPConv | SDConverter AMPLifier Measurements on fixed frequency DUTs. DOWNconv Measurements on down-converting DUTs. SDConv Measurement on system downconverting DUTs. UPConv Measurements on up-converting DUTs. """param=Conversions.enum_scalar_to_str(dut_type,enums.DutType)self._core.io.write(f'SENSe:CONFigure:MODE:DUT {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.DutType:"""SCPI: [SENSe]:CONFigure:MODE:DUT \n Snippet: value: enums.DutType = driver.applications.k30NoiseFigure.sense.configure.mode.dut.get() \n Selects the type of DUT you are testing. Note that you have to use [SENSe:]CONFigure:MODE:SYSTem:LO to select if the LO or IF are fixed. \n :return: dut_type: AMPLifier | DDOWnconv | DOWNconv | SDConverter | UPConv | SDConverter AMPLifier Measurements on fixed frequency DUTs. DOWNconv Measurements on down-converting DUTs. SDConv Measurement on system downconverting DUTs. UPConv Measurements on up-converting DUTs."""response=self._core.io.query_str(f'SENSe:CONFigure:MODE:DUT?')returnConversions.str_to_scalar_enum(response,enums.DutType)