[docs]classUfmcCls:"""Ufmc commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("ufmc",core,parent)
[docs]defget_nsuband(self)->int:"""SCPI: [SOURce<HW>]:BB:OFDM:UFMC:NSUBand \n Snippet: value: int = driver.source.bb.ofdm.ufmc.get_nsuband() \n Sets the number of UFMC subbands. \n :return: nsubbands: integer Range: 1 to 1500 """response=self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:UFMC:NSUBand?')returnConversions.str_to_int(response)
[docs]defset_nsuband(self,nsubbands:int)->None:"""SCPI: [SOURce<HW>]:BB:OFDM:UFMC:NSUBand \n Snippet: driver.source.bb.ofdm.ufmc.set_nsuband(nsubbands = 1) \n Sets the number of UFMC subbands. \n :param nsubbands: integer Range: 1 to 1500 """param=Conversions.decimal_value_to_str(nsubbands)self._core.io.write(f'SOURce<HwInstance>:BB:OFDM:UFMC:NSUBand {param}')