[docs]classRfAlignmentCls:"""RfAlignment commands group definition. 28 total commands, 3 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("rfAlignment",core,parent)@propertydefalign(self):"""align commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_align'):from.AlignimportAlignClsself._align=AlignCls(self._core,self._cmd_group)returnself._align@propertydefcalibration(self):"""calibration commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_calibration'):from.CalibrationimportCalibrationClsself._calibration=CalibrationCls(self._core,self._cmd_group)returnself._calibration@propertydefsetup(self):"""setup commands group. 3 Sub-classes, 2 commands."""ifnothasattr(self,'_setup'):from.SetupimportSetupClsself._setup=SetupCls(self._core,self._cmd_group)returnself._setup
[docs]defget_state(self)->bool:"""SCPI: SCONfiguration:RFALignment:STATe \n Snippet: value: bool = driver.sconfiguration.rfAlignment.get_state() \n If a valid setup file is selected, applies the specified correction data. Load the setup file with the command method RsSmw.Sconfiguration.RfAlignment.Setup.File.value. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SCONfiguration:RFALignment:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: SCONfiguration:RFALignment:STATe \n Snippet: driver.sconfiguration.rfAlignment.set_state(state = False) \n If a valid setup file is selected, applies the specified correction data. Load the setup file with the command method RsSmw.Sconfiguration.RfAlignment.Setup.File.value. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SCONfiguration:RFALignment:STATe {param}')
defclone(self)->'RfAlignmentCls':"""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=RfAlignmentCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group