[docs]classHistoryCls:"""History commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("history",core,parent)
[docs]defclear(self)->None:"""SCPI: SYSTem:ERRor:HISTory:CLEar \n Snippet: driver.system.error.history.clear() \n Clears the error history. \n """self._core.io.write(f'SYSTem:ERRor:HISTory:CLEar')
[docs]defclear_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: SYSTem:ERRor:HISTory:CLEar \n Snippet: driver.system.error.history.clear_with_opc() \n Clears the error history. \n Same as clear, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SYSTem:ERRor:HISTory:CLEar',opc_timeout_ms)
[docs]defget_value(self)->str:"""SCPI: SYSTem:ERRor:HISTory \n Snippet: value: str = driver.system.error.history.get_value() \n No command help available \n :return: error_history: No help available """response=self._core.io.query_str('SYSTem:ERRor:HISTory?')returntrim_str_response(response)