[docs]classFaCls:"""Fa commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("fa",core,parent)# noinspection PyTypeChecker
[docs]defget_fr_allocation(self)->enums.EutraTcwfReqAlloc:"""SCPI: [SOURce<HW>]:BB:EUTRa:TCW:FA:FRALlocation \n Snippet: value: enums.EutraTcwfReqAlloc = driver.source.bb.eutra.tcw.fa.get_fr_allocation() \n Determines the frequency position of the wanted and interfering signal. \n :return: frequency_alloc: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:FA:FRALlocation?')returnConversions.str_to_scalar_enum(response,enums.EutraTcwfReqAlloc)
[docs]defset_fr_allocation(self,frequency_alloc:enums.EutraTcwfReqAlloc)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:TCW:FA:FRALlocation \n Snippet: driver.source.bb.eutra.tcw.fa.set_fr_allocation(frequency_alloc = enums.EutraTcwfReqAlloc.HIGHer) \n Determines the frequency position of the wanted and interfering signal. \n :param frequency_alloc: HIGHer| LOWer """param=Conversions.enum_scalar_to_str(frequency_alloc,enums.EutraTcwfReqAlloc)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:FA:FRALlocation {param}')
# noinspection PyTypeChecker
[docs]defget_rb_allocation(self)->enums.EutraTcwfReqAlloc:"""SCPI: [SOURce<HW>]:BB:EUTRa:TCW:FA:RBALlocation \n Snippet: value: enums.EutraTcwfReqAlloc = driver.source.bb.eutra.tcw.fa.get_rb_allocation() \n Determines the frequency position of the wanted and interfering signal. \n :return: res_block_alloc: HIGHer| LOWer """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:FA:RBALlocation?')returnConversions.str_to_scalar_enum(response,enums.EutraTcwfReqAlloc)
[docs]defset_rb_allocation(self,res_block_alloc:enums.EutraTcwfReqAlloc)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:TCW:FA:RBALlocation \n Snippet: driver.source.bb.eutra.tcw.fa.set_rb_allocation(res_block_alloc = enums.EutraTcwfReqAlloc.HIGHer) \n Determines the frequency position of the wanted and interfering signal. \n :param res_block_alloc: HIGHer| LOWer """param=Conversions.enum_scalar_to_str(res_block_alloc,enums.EutraTcwfReqAlloc)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:FA:RBALlocation {param}')