[docs]classCommonCls:"""Common commands group definition. 3 total commands, 0 Subgroups, 3 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("common",core,parent)
[docs]defget_domain(self)->str:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:DOMain \n Snippet: value: str = driver.system.communicate.network.common.get_domain() \n Determines the primary suffix of the network domain. \n :return: domain: string """response=self._core.io.query_str('SYSTem:COMMunicate:NETWork:COMMon:DOMain?')returntrim_str_response(response)
[docs]defset_domain(self,domain:str)->None:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:DOMain \n Snippet: driver.system.communicate.network.common.set_domain(domain = 'abc') \n Determines the primary suffix of the network domain. \n :param domain: string """param=Conversions.value_to_quoted_str(domain)self._core.io.write(f'SYSTem:COMMunicate:NETWork:COMMon:DOMain {param}')
[docs]defget_hostname(self)->str:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:HOSTname \n Snippet: value: str = driver.system.communicate.network.common.get_hostname() \n Sets an individual hostname for the vector signal generator. Note:We recommend that you do not change the hostname to avoid problems with the network connection. If you change the hostname, be sure to use a unique name. This is a password-protected function. Unlock the protection level 1 to access it. See method RsSmbv.System.Protect.State. set. \n :return: hostname: string """response=self._core.io.query_str('SYSTem:COMMunicate:NETWork:COMMon:HOSTname?')returntrim_str_response(response)
[docs]defset_hostname(self,hostname:str)->None:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:HOSTname \n Snippet: driver.system.communicate.network.common.set_hostname(hostname = 'abc') \n Sets an individual hostname for the vector signal generator. Note:We recommend that you do not change the hostname to avoid problems with the network connection. If you change the hostname, be sure to use a unique name. This is a password-protected function. Unlock the protection level 1 to access it. See method RsSmbv.System.Protect.State. set. \n :param hostname: string """param=Conversions.value_to_quoted_str(hostname)self._core.io.write(f'SYSTem:COMMunicate:NETWork:COMMon:HOSTname {param}')
[docs]defget_workgroup(self)->str:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:WORKgroup \n Snippet: value: str = driver.system.communicate.network.common.get_workgroup() \n Sets an individual workgroup name for the instrument. \n :return: workgroup: string """response=self._core.io.query_str('SYSTem:COMMunicate:NETWork:COMMon:WORKgroup?')returntrim_str_response(response)
[docs]defset_workgroup(self,workgroup:str)->None:"""SCPI: SYSTem:COMMunicate:NETWork:[COMMon]:WORKgroup \n Snippet: driver.system.communicate.network.common.set_workgroup(workgroup = 'abc') \n Sets an individual workgroup name for the instrument. \n :param workgroup: string """param=Conversions.value_to_quoted_str(workgroup)self._core.io.write(f'SYSTem:COMMunicate:NETWork:COMMon:WORKgroup {param}')