[docs]classAllCls:"""All commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("all",core,parent)# noinspection PyTypeChecker
[docs]defget_result(self)->enums.Test:"""SCPI: TEST<HW>:ALL:RESult \n Snippet: value: enums.Test = driver.test.all.get_result() \n Queries the result of the performed selftest. Start the selftest with method RsSmw.Test.All.start. \n :return: result: 0| 1| RUNning| STOPped """response=self._core.io.query_str('TEST<HwInstance>:ALL:RESult?')returnConversions.str_to_scalar_enum(response,enums.Test)
[docs]defstart(self)->None:"""SCPI: TEST<HW>:ALL:STARt \n Snippet: driver.test.all.start() \n No command help available \n """self._core.io.write(f'TEST<HwInstance>:ALL:STARt')
[docs]defstart_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: TEST<HW>:ALL:STARt \n Snippet: driver.test.all.start_with_opc() \n No command help available \n Same as start, 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'TEST<HwInstance>:ALL:STARt',opc_timeout_ms)