[docs]classUtcCls:"""Utc commands group definition. 8 total commands, 3 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("utc",core,parent)@propertydefaone(self):"""aone commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_aone'):from.AoneimportAoneClsself._aone=AoneCls(self._core,self._cmd_group)returnself._aone@propertydefazero(self):"""azero commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_azero'):from.AzeroimportAzeroClsself._azero=AzeroCls(self._core,self._cmd_group)returnself._azero@propertydeftot(self):"""tot commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_tot'):from.TotimportTotClsself._tot=TotCls(self._core,self._cmd_group)returnself._tot
[docs]defget_ioffset(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:IOFFset \n Snippet: value: int = driver.source.bb.gnss.time.conversion.sbas.msas.utc.get_ioffset() \n Queries the integer offset. \n :return: integer_offset: integer Range: 0 to 604800 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:IOFFset?')returnConversions.str_to_int(response)
[docs]defget_wnot(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:WNOT \n Snippet: value: int = driver.source.bb.gnss.time.conversion.sbas.msas.utc.get_wnot() \n Sets the UTC data reference week number, WNt. \n :return: wnot: integer Range: 0 to 255 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:WNOT?')returnConversions.str_to_int(response)
[docs]defset_wnot(self,wnot:int)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:WNOT \n Snippet: driver.source.bb.gnss.time.conversion.sbas.msas.utc.set_wnot(wnot = 1) \n Sets the UTC data reference week number, WNt. \n :param wnot: integer Range: 0 to 255 """param=Conversions.decimal_value_to_str(wnot)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:TIME:CONVersion:SBAS:MSAS:UTC:WNOT {param}')
defclone(self)->'UtcCls':"""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=UtcCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group