[docs]defget_nalloc(self)->int:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:EMTC:NALLoc \n Snippet: value: int = driver.source.bb.eutra.downlink.emtc.get_nalloc() \n Queries the number of automatically configured allocations. \n :return: no_alloc: integer Range: 0 to 100 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:EMTC:NALLoc?')returnConversions.str_to_int(response)
[docs]defget_nn_bands(self)->int:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:EMTC:NNBands \n Snippet: value: int = driver.source.bb.eutra.downlink.emtc.get_nn_bands() \n Queries the number of narrowbands. \n :return: num_narrowbands: integer Range: 0 to 18 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:EMTC:NNBands?')returnConversions.str_to_int(response)
[docs]defget_nw_bands(self)->int:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:EMTC:NWBands \n Snippet: value: int = driver.source.bb.eutra.downlink.emtc.get_nw_bands() \n Queries the number of widebands. \n :return: num_widebands: integer Range: 0 to 4 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:EMTC:NWBands?')returnConversions.str_to_int(response)
# noinspection PyTypeChecker
[docs]defget_wbcfg(self)->enums.EutraEmtcPdschWideband:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:EMTC:WBCFg \n Snippet: value: enums.EutraEmtcPdschWideband = driver.source.bb.eutra.downlink.emtc.get_wbcfg() \n If enabled, the available channel bandwidth is split into eMTC widebands with the selected bandwidth. \n :return: wideband_cfg: OFF| BW5_00| BW20_00 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:EMTC:WBCFg?')returnConversions.str_to_scalar_enum(response,enums.EutraEmtcPdschWideband)
[docs]defset_wbcfg(self,wideband_cfg:enums.EutraEmtcPdschWideband)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:EMTC:WBCFg \n Snippet: driver.source.bb.eutra.downlink.emtc.set_wbcfg(wideband_cfg = enums.EutraEmtcPdschWideband.BW20_00) \n If enabled, the available channel bandwidth is split into eMTC widebands with the selected bandwidth. \n :param wideband_cfg: OFF| BW5_00| BW20_00 """param=Conversions.enum_scalar_to_str(wideband_cfg,enums.EutraEmtcPdschWideband)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:EMTC:WBCFg {param}')
defclone(self)->'EmtcCls':"""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=EmtcCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group