[docs]classLhdrCls:"""Lhdr commands group definition. 3 total commands, 2 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("lhdr",core,parent)@propertydefaddp(self):"""addp commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_addp'):from.AddpimportAddpClsself._addp=AddpCls(self._core,self._cmd_group)returnself._addp@propertydefpagr(self):"""pagr commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_pagr'):from.PagrimportPagrClsself._pagr=PagrCls(self._core,self._cmd_group)returnself._pagr# noinspection PyTypeChecker
[docs]defget_gi_type(self)->enums.SequenceLength:"""SCPI: [SOURce<HW>]:BB:WLAY:PCONfig:LHDR:GITYpe \n Snippet: value: enums.SequenceLength = driver.source.bb.wlay.pconfig.lhdr.get_gi_type() \n Selects the type of the guard interval (GI) . You can select between GI types short, normal or long. \n :return: gi_type: SHORT| NORMAL| LONG """response=self._core.io.query_str('SOURce<HwInstance>:BB:WLAY:PCONfig:LHDR:GITYpe?')returnConversions.str_to_scalar_enum(response,enums.SequenceLength)
[docs]defset_gi_type(self,gi_type:enums.SequenceLength)->None:"""SCPI: [SOURce<HW>]:BB:WLAY:PCONfig:LHDR:GITYpe \n Snippet: driver.source.bb.wlay.pconfig.lhdr.set_gi_type(gi_type = enums.SequenceLength.LONG) \n Selects the type of the guard interval (GI) . You can select between GI types short, normal or long. \n :param gi_type: SHORT| NORMAL| LONG """param=Conversions.enum_scalar_to_str(gi_type,enums.SequenceLength)self._core.io.write(f'SOURce<HwInstance>:BB:WLAY:PCONfig:LHDR:GITYpe {param}')
defclone(self)->'LhdrCls':"""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=LhdrCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group