[docs]classSfbhConfigCls:"""SfbhConfig commands group definition. 10 total commands, 2 Subgroups, 8 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("sfbhConfig",core,parent)@propertydefdt(self):"""dt commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_dt'):from.DtimportDtClsself._dt=DtCls(self._core,self._cmd_group)returnself._dt@propertydeffodt(self):"""fodt commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_fodt'):from.FodtimportFodtClsself._fodt=FodtCls(self._core,self._cmd_group)returnself._fodt
[docs]defget_ao_dwell(self)->bool:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:AODWell \n Snippet: value: bool = driver.source.bb.dvb.dvbx.sfbhConfig.get_ao_dwell() \n Activates the attenuation of dwells DT1 to DT9. \n :return: attenuate_oth_dw: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:AODWell?')returnConversions.str_to_bool(response)
[docs]defset_ao_dwell(self,attenuate_oth_dw:bool)->None:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:AODWell \n Snippet: driver.source.bb.dvb.dvbx.sfbhConfig.set_ao_dwell(attenuate_oth_dw = False) \n Activates the attenuation of dwells DT1 to DT9. \n :param attenuate_oth_dw: 1| ON| 0| OFF """param=Conversions.bool_to_str(attenuate_oth_dw)self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:AODWell {param}')
[docs]defget_bh_cycle(self)->int:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:BHCycle \n Snippet: value: int = driver.source.bb.dvb.dvbx.sfbhConfig.get_bh_cycle() \n Displays the beam hopping cycle that is the cumulative result of all dwells length. \n :return: bh_cycle: integer Range: 0 to 2047974660 """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:BHCycle?')returnConversions.str_to_int(response)
[docs]defget_bs_time(self)->int:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:BSTime \n Snippet: value: int = driver.source.bb.dvb.dvbx.sfbhConfig.get_bs_time() \n Sets the beam switching time. \n :return: beam_switch_time: integer Range: 1 to 1000 """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:BSTime?')returnConversions.str_to_int(response)
[docs]defget_lsf_length(self)->int:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:LSFLength \n Snippet: value: int = driver.source.bb.dvb.dvbx.sfbhConfig.get_lsf_length() \n Queries the length of the last super frame. \n :return: last_sf_length: integer Range: 8856 to 612540 """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:LSFLength?')returnConversions.str_to_int(response)
[docs]defget_no_dwells(self)->int:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:NODWells \n Snippet: value: int = driver.source.bb.dvb.dvbx.sfbhConfig.get_no_dwells() \n Sets the number of dwells. \n :return: number_of_dwells: integer Range: 1 to 10 """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:NODWells?')returnConversions.str_to_int(response)
[docs]defset_no_dwells(self,number_of_dwells:int)->None:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:NODWells \n Snippet: driver.source.bb.dvb.dvbx.sfbhConfig.set_no_dwells(number_of_dwells = 1) \n Sets the number of dwells. \n :param number_of_dwells: integer Range: 1 to 10 """param=Conversions.decimal_value_to_str(number_of_dwells)self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:NODWells {param}')
[docs]defget_nosf(self)->int:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:NOSF \n Snippet: value: int = driver.source.bb.dvb.dvbx.sfbhConfig.get_nosf() \n Sets the number of super frames. \n :return: number_of_sf: integer Range: 1 to 25 """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:NOSF?')returnConversions.str_to_int(response)
[docs]defset_nosf(self,number_of_sf:int)->None:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:NOSF \n Snippet: driver.source.bb.dvb.dvbx.sfbhConfig.set_nosf(number_of_sf = 1) \n Sets the number of super frames. \n :param number_of_sf: integer Range: 1 to 25 """param=Conversions.decimal_value_to_str(number_of_sf)self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:NOSF {param}')
[docs]defget_zbs_signal(self)->bool:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:ZBSSignal \n Snippet: value: bool = driver.source.bb.dvb.dvbx.sfbhConfig.get_zbs_signal() \n Activates the switching signal for zero beam state. \n :return: zero_beam_switch: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:ZBSSignal?')returnConversions.str_to_bool(response)
[docs]defset_zbs_signal(self,zero_beam_switch:bool)->None:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:SFBHconfig:ZBSSignal \n Snippet: driver.source.bb.dvb.dvbx.sfbhConfig.set_zbs_signal(zero_beam_switch = False) \n Activates the switching signal for zero beam state. \n :param zero_beam_switch: 1| ON| 0| OFF """param=Conversions.bool_to_str(zero_beam_switch)self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFBHconfig:ZBSSignal {param}')
defclone(self)->'SfbhConfigCls':"""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=SfbhConfigCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group