[docs]classLoCls:"""Lo commands group definition. 2 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("lo",core,parent)@propertydeffrequency(self):"""frequency commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_frequency'):from.FrequencyimportFrequencyClsself._frequency=FrequencyCls(self._core,self._cmd_group)returnself._frequency
[docs]defset(self,lo_type:enums.LoType)->None:"""SCPI: [SENSe]:CONFigure:MODE:SYSTem:LO \n Snippet: driver.applications.k30NoiseFigure.sense.configure.mode.system.lo.set(lo_type = enums.LoType.FIXed) \n Selects the type of local oscillator you are using. The command is available for measurements on frequency converting DUTs [SENSe:]CONFigure:MODE:DUT . \n :param lo_type: FIXed | VARiable FIXed The local oscillator is used as a fixed frequency source. The IF is variable. VARiable The local oscillator is used as a variable frequency source. The IF is fixed. """param=Conversions.enum_scalar_to_str(lo_type,enums.LoType)self._core.io.write(f'SENSe:CONFigure:MODE:SYSTem:LO {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.LoType:"""SCPI: [SENSe]:CONFigure:MODE:SYSTem:LO \n Snippet: value: enums.LoType = driver.applications.k30NoiseFigure.sense.configure.mode.system.lo.get() \n Selects the type of local oscillator you are using. The command is available for measurements on frequency converting DUTs [SENSe:]CONFigure:MODE:DUT . \n :return: lo_type: FIXed | VARiable FIXed The local oscillator is used as a fixed frequency source. The IF is variable. VARiable The local oscillator is used as a variable frequency source. The IF is fixed."""response=self._core.io.query_str(f'SENSe:CONFigure:MODE:SYSTem:LO?')returnConversions.str_to_scalar_enum(response,enums.LoType)
defclone(self)->'LoCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=LoCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group