[docs]classEditCls:"""Edit commands group definition. 7 total commands, 3 Subgroups, 4 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("edit",core,parent)@propertydefapply(self):"""apply commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_apply'):from.ApplyimportApplyClsself._apply=ApplyCls(self._core,self._cmd_group)returnself._apply@propertydefdevice(self):"""device commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_device'):from.DeviceimportDeviceClsself._device=DeviceCls(self._core,self._cmd_group)returnself._device@propertydefremove(self):"""remove commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_remove'):from.RemoveimportRemoveClsself._remove=RemoveCls(self._core,self._cmd_group)returnself._remove
[docs]defget_alias(self)->str:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:ALIas \n Snippet: value: str = driver.source.areGenerator.external.remote.edit.get_alias() \n No command help available \n :return: symbolic_name: No help available """response=self._core.io.query_str('SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:ALIas?')returntrim_str_response(response)
[docs]defset_alias(self,symbolic_name:str)->None:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:ALIas \n Snippet: driver.source.areGenerator.external.remote.edit.set_alias(symbolic_name = 'abc') \n No command help available \n :param symbolic_name: No help available """param=Conversions.value_to_quoted_str(symbolic_name)self._core.io.write(f'SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:ALIas {param}')
[docs]defget_hostname(self)->str:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:HOSTname \n Snippet: value: str = driver.source.areGenerator.external.remote.edit.get_hostname() \n No command help available \n :return: hostname_or_ip: No help available """response=self._core.io.query_str('SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:HOSTname?')returntrim_str_response(response)
[docs]defset_hostname(self,hostname_or_ip:str)->None:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:HOSTname \n Snippet: driver.source.areGenerator.external.remote.edit.set_hostname(hostname_or_ip = 'abc') \n No command help available \n :param hostname_or_ip: No help available """param=Conversions.value_to_quoted_str(hostname_or_ip)self._core.io.write(f'SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:HOSTname {param}')
[docs]defget_iselect(self)->str:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:ISELect \n Snippet: value: str = driver.source.areGenerator.external.remote.edit.get_iselect() \n No command help available \n :return: instrument_name: No help available """response=self._core.io.query_str('SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:ISELect?')returntrim_str_response(response)
[docs]defset_iselect(self,instrument_name:str)->None:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:ISELect \n Snippet: driver.source.areGenerator.external.remote.edit.set_iselect(instrument_name = 'abc') \n No command help available \n :param instrument_name: No help available """param=Conversions.value_to_quoted_str(instrument_name)self._core.io.write(f'SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:ISELect {param}')
# noinspection PyTypeChecker
[docs]defget_rchannel(self)->enums.RcConnType:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:RCHannel \n Snippet: value: enums.RcConnType = driver.source.areGenerator.external.remote.edit.get_rchannel() \n No command help available \n :return: remote_channel: No help available """response=self._core.io.query_str('SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:RCHannel?')returnConversions.str_to_scalar_enum(response,enums.RcConnType)
[docs]defset_rchannel(self,remote_channel:enums.RcConnType)->None:"""SCPI: [SOURce<HW>]:AREGenerator:EXTernal:REMote:EDIT:RCHannel \n Snippet: driver.source.areGenerator.external.remote.edit.set_rchannel(remote_channel = enums.RcConnType.FRONtend) \n No command help available \n :param remote_channel: No help available """param=Conversions.enum_scalar_to_str(remote_channel,enums.RcConnType)self._core.io.write(f'SOURce<HwInstance>:AREGenerator:EXTernal:REMote:EDIT:RCHannel {param}')
defclone(self)->'EditCls':"""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=EditCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group