[docs]classAddCls:"""Add commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("add",core,parent)
[docs]defset(self,instr_name:str,hw_chan:str,tcp_ipor_usb_addr:str,rf_path_number:str=None)->None:"""SCPI: SCONfiguration:EXTernal:REMote:ADD \n Snippet: driver.sconfiguration.external.remote.add.set(instr_name = 'abc', hw_chan = 'abc', tcp_ipor_usb_addr = 'abc', rf_path_number = 'abc') \n Adds manually an external instrument to the list of available instruments. \n :param instr_name: String Alias name of the instrument :param hw_chan: String Hardware channel (USB or LAN) used by the remote channel to the external instrument Range: 'LAN' to 'USB' :param tcp_ipor_usb_addr: String IP address or hostname of the connected external instrument :param rf_path_number: String Determines the number of RF paths the external instrument is equipped with Range: '1' to '2' """param=ArgSingleList().compose_cmd_string(ArgSingle('instr_name',instr_name,DataType.String),ArgSingle('hw_chan',hw_chan,DataType.String),ArgSingle('tcp_ipor_usb_addr',tcp_ipor_usb_addr,DataType.String),ArgSingle('rf_path_number',rf_path_number,DataType.String,None,is_optional=True))self._core.io.write(f'SCONfiguration:EXTernal:REMote:ADD {param}'.rstrip())