[docs]classStateCls:"""State commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("state",core,parent)
[docs]defset(self,sec_pass_word:str,vnc_state:bool)->None:"""SCPI: SYSTem:SECurity:NETWork:VNC:[STATe] \n Snippet: driver.system.security.network.vnc.state.set(sec_pass_word = 'abc', vnc_state = False) \n Disables the VNC interface for remote control of the instrument. \n :param sec_pass_word: string Current security password. :param vnc_state: 1| ON| 0| OFF """param=ArgSingleList().compose_cmd_string(ArgSingle('sec_pass_word',sec_pass_word,DataType.String),ArgSingle('vnc_state',vnc_state,DataType.Boolean))self._core.io.write(f'SYSTem:SECurity:NETWork:VNC:STATe {param}'.rstrip())
[docs]defget(self)->bool:"""SCPI: SYSTem:SECurity:NETWork:VNC:[STATe] \n Snippet: value: bool = driver.system.security.network.vnc.state.get() \n Disables the VNC interface for remote control of the instrument. \n :return: vnc_state: 1| ON| 0| OFF"""response=self._core.io.query_str(f'SYSTem:SECurity:NETWork:VNC:STATe?')returnConversions.str_to_bool(response)