[docs]classMtiaCls:"""Mtia commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("mtia",core,parent)
[docs]defset(self,nprs_muting_info_a:str,bitcount:int)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:NPRS:MTIA \n Snippet: driver.source.bb.eutra.downlink.niot.nprs.mtia.set(nprs_muting_info_a = rawAbc, bitcount = 1) \n Sets the nprs-MutingInfoA/nprs-MutingInfoB parameter, required if muting is used for the NPRS part A (and Part B) configurations. \n :param nprs_muting_info_a: numeric '1' indicates that the NPRS is transmitted in the corresponding occasion; a '0' indicates a muted NPRS. :param bitcount: integer Sets the length of the periodically repeating NPRS bit sequence in number of NPRS position occurrences. Allowed are the following values: 2, 4, 8 or 16 Range: 2 to 16 """param=ArgSingleList().compose_cmd_string(ArgSingle('nprs_muting_info_a',nprs_muting_info_a,DataType.RawString),ArgSingle('bitcount',bitcount,DataType.Integer))self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:NIOT:NPRS:MTIA {param}'.rstrip())
# noinspection PyTypeChecker
[docs]classMtiaStruct(StructBase):"""Response structure. Fields: \n - Nprs_Muting_Info_A: str: No parameter help available - Bitcount: int: integer Sets the length of the periodically repeating NPRS bit sequence in number of NPRS position occurrences. Allowed are the following values: 2, 4, 8 or 16 Range: 2 to 16"""__meta_args_list=[ArgStruct.scalar_raw_str('Nprs_Muting_Info_A'),ArgStruct.scalar_int('Bitcount')]def__init__(self):StructBase.__init__(self,self)self.Nprs_Muting_Info_A:str=Noneself.Bitcount:int=None
[docs]defget(self)->MtiaStruct:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:NIOT:NPRS:MTIA \n Snippet: value: MtiaStruct = driver.source.bb.eutra.downlink.niot.nprs.mtia.get() \n Sets the nprs-MutingInfoA/nprs-MutingInfoB parameter, required if muting is used for the NPRS part A (and Part B) configurations. \n :return: structure: for return value, see the help for MtiaStruct structure arguments."""returnself._core.io.query_struct(f'SOURce<HwInstance>:BB:EUTRa:DL:NIOT:NPRS:MTIA?',self.__class__.MtiaStruct())