[docs]classAllCls:"""All commands group definition. 5 total commands, 1 Subgroups, 4 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("all",core,parent)@propertydefmeasure(self):"""measure commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_measure'):from.MeasureimportMeasureClsself._measure=MeasureCls(self._core,self._cmd_group)returnself._measure
[docs]defget_date(self)->str:"""SCPI: CALibration<HW>:ALL:DATE \n Snippet: value: str = driver.calibration.all.get_date() \n Queries the date of the most recently executed full adjustment. \n :return: date: string """response=self._core.io.query_str('CALibration<HwInstance>:ALL:DATE?')returntrim_str_response(response)
[docs]defget_information(self)->str:"""SCPI: CALibration<HW>:ALL:INFormation \n Snippet: value: str = driver.calibration.all.get_information() \n Queries the current state of the internal adjustment. \n :return: cal_info_text: string """response=self._core.io.query_str('CALibration<HwInstance>:ALL:INFormation?')returntrim_str_response(response)
[docs]defget_temp(self)->str:"""SCPI: CALibration<HW>:ALL:TEMP \n Snippet: value: str = driver.calibration.all.get_temp() \n Queries the temperature deviation compared to the calibration temperature. \n :return: temperature: string """response=self._core.io.query_str('CALibration<HwInstance>:ALL:TEMP?')returntrim_str_response(response)
[docs]defget_time(self)->str:"""SCPI: CALibration<HW>:ALL:TIME \n Snippet: value: str = driver.calibration.all.get_time() \n Queries the time elapsed since the last full adjustment. \n :return: time: string """response=self._core.io.query_str('CALibration<HwInstance>:ALL:TIME?')returntrim_str_response(response)
defclone(self)->'AllCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=AllCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group