[docs]classPhaseCls:"""Phase commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("phase",core,parent)
[docs]defset(self,phase:enums.LisnPhase)->None:"""SCPI: INPut:LISN:PHASe \n Snippet: driver.inputPy.lisn.phase.set(phase = enums.LisnPhase.L1) \n Selects one LISN phase to be measured. \n :param phase: L1 L2 Available for networks with four phases (R&S ESH2Z5, R&S ENV4200 and R&S ENV432) L3 Available for networks with four phases (R&S ESH2Z5, R&S ENV4200 and R&S ENV432) N """param=Conversions.enum_scalar_to_str(phase,enums.LisnPhase)self._core.io.write(f'INPut:LISN:PHASe {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.LisnPhase:"""SCPI: INPut:LISN:PHASe \n Snippet: value: enums.LisnPhase = driver.inputPy.lisn.phase.get() \n Selects one LISN phase to be measured. \n :return: phase: L1 L2 Available for networks with four phases (R&S ESH2Z5, R&S ENV4200 and R&S ENV432) L3 Available for networks with four phases (R&S ESH2Z5, R&S ENV4200 and R&S ENV432) N"""response=self._core.io.query_str(f'INPut:LISN:PHASe?')returnConversions.str_to_scalar_enum(response,enums.LisnPhase)