[docs]defget_amode(self)->enums.PowAttMode:"""SCPI: OUTPut<HW>:AMODe \n Snippet: value: enums.PowAttMode = driver.output.get_amode() \n Sets the step attenuator mode at the RF output. \n :return: amode: AUTO| FIXed AUTO The step attenuator adjusts the level settings automatically, within the full variation range. FIXed The step attenuator and amplifier stages are fixed at the current position, providing level settings with constant output VSWR. The resulting variation range is calculated according to the position. """response=self._core.io.query_str('OUTPut<HwInstance>:AMODe?')returnConversions.str_to_scalar_enum(response,enums.PowAttMode)
[docs]defset_amode(self,amode:enums.PowAttMode)->None:"""SCPI: OUTPut<HW>:AMODe \n Snippet: driver.output.set_amode(amode = enums.PowAttMode.AUTO) \n Sets the step attenuator mode at the RF output. \n :param amode: AUTO| FIXed AUTO The step attenuator adjusts the level settings automatically, within the full variation range. FIXed The step attenuator and amplifier stages are fixed at the current position, providing level settings with constant output VSWR. The resulting variation range is calculated according to the position. """param=Conversions.enum_scalar_to_str(amode,enums.PowAttMode)self._core.io.write(f'OUTPut<HwInstance>:AMODe {param}')
# noinspection PyTypeChecker
[docs]defget_impedance(self)->enums.InputImpRf:"""SCPI: OUTPut<HW>:IMPedance \n Snippet: value: enums.InputImpRf = driver.output.get_impedance() \n Queries the impedance of the RF outputs. \n :return: impedance: G1K| G50| G10K """response=self._core.io.query_str('OUTPut<HwInstance>:IMPedance?')returnConversions.str_to_scalar_enum(response,enums.InputImpRf)
defclone(self)->'OutputCls':"""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=OutputCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group