[docs]classDciCls:"""Dci commands group definition. 36 total commands, 1 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("dci",core,parent)@propertydefalloc(self):"""alloc commands group. 28 Sub-classes, 0 commands."""ifnothasattr(self,'_alloc'):from.AllocimportAllocClsself._alloc=AllocCls(self._core,self._cmd_group)returnself._alloc
[docs]defget_awa_round(self)->bool:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:DCI:AWARound \n Snippet: value: bool = driver.source.bb.eutra.downlink.niot.dci.get_awa_round() \n If enabled, the NPDSCH allocations are relocated at the beginning of the ARB sequence to ensure a consistent signal. \n :return: alloc_wrap_around: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:NIOT:DCI:AWARound?')returnConversions.str_to_bool(response)
[docs]defset_awa_round(self,alloc_wrap_around:bool)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:DCI:AWARound \n Snippet: driver.source.bb.eutra.downlink.niot.dci.set_awa_round(alloc_wrap_around = False) \n If enabled, the NPDSCH allocations are relocated at the beginning of the ARB sequence to ensure a consistent signal. \n :param alloc_wrap_around: 1| ON| 0| OFF """param=Conversions.bool_to_str(alloc_wrap_around)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:NIOT:DCI:AWARound {param}')
[docs]defget_nalloc(self)->int:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:DCI:NALLoc \n Snippet: value: int = driver.source.bb.eutra.downlink.niot.dci.get_nalloc() \n Sets the number of configurable DCIs. \n :return: no_alloc: integer Range: 0 to 100 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:NIOT:DCI:NALLoc?')returnConversions.str_to_int(response)
[docs]defset_nalloc(self,no_alloc:int)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:DCI:NALLoc \n Snippet: driver.source.bb.eutra.downlink.niot.dci.set_nalloc(no_alloc = 1) \n Sets the number of configurable DCIs. \n :param no_alloc: integer Range: 0 to 100 """param=Conversions.decimal_value_to_str(no_alloc)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:NIOT:DCI:NALLoc {param}')
defclone(self)->'DciCls':"""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=DciCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group