[docs]classCopyCls:"""Copy commands group definition. 3 total commands, 1 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("copy",core,parent)@propertydefexecute(self):"""execute commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_execute'):from.ExecuteimportExecuteClsself._execute=ExecuteCls(self._core,self._cmd_group)returnself._execute
[docs]defget_destination(self)->int:"""SCPI: [SOURce<HW>]:FSIMulator:COPY:DESTination \n Snippet: value: int = driver.source.fsimulator.copy.get_destination() \n Selects a group whose settings will be overwritten. \n :return: destination: integer Range: 1 to 4 (Standard Delay) / 8 (Fine Delay) """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:COPY:DESTination?')returnConversions.str_to_int(response)
[docs]defset_destination(self,destination:int)->None:"""SCPI: [SOURce<HW>]:FSIMulator:COPY:DESTination \n Snippet: driver.source.fsimulator.copy.set_destination(destination = 1) \n Selects a group whose settings will be overwritten. \n :param destination: integer Range: 1 to 4 (Standard Delay) / 8 (Fine Delay) """param=Conversions.decimal_value_to_str(destination)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:COPY:DESTination {param}')
[docs]defget_source(self)->int:"""SCPI: [SOURce<HW>]:FSIMulator:COPY:SOURce \n Snippet: value: int = driver.source.fsimulator.copy.get_source() \n Sets the group whose settings you want to copy from. \n :return: source: integer Range: 1 to 8 """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:COPY:SOURce?')returnConversions.str_to_int(response)
[docs]defset_source(self,source:int)->None:"""SCPI: [SOURce<HW>]:FSIMulator:COPY:SOURce \n Snippet: driver.source.fsimulator.copy.set_source(source = 1) \n Sets the group whose settings you want to copy from. \n :param source: integer Range: 1 to 8 """param=Conversions.decimal_value_to_str(source)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:COPY:SOURce {param}')
defclone(self)->'CopyCls':"""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=CopyCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group