[docs]classAnetworkCls:"""Anetwork commands group definition. 14 total commands, 3 Subgroups, 3 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("anetwork",core,parent)@propertydefcchannel(self):"""cchannel commands group. 1 Sub-classes, 3 commands."""ifnothasattr(self,'_cchannel'):from.CchannelimportCchannelClsself._cchannel=CchannelCls(self._core,self._cmd_group)returnself._cchannel@propertydefpchannel(self):"""pchannel commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_pchannel'):from.PchannelimportPchannelClsself._pchannel=PchannelCls(self._core,self._cmd_group)returnself._pchannel@propertydefrab(self):"""rab commands group. 1 Sub-classes, 4 commands."""ifnothasattr(self,'_rab'):from.RabimportRabClsself._rab=RabCls(self._core,self._cmd_group)returnself._rab
[docs]defget_cp_mode(self)->bool:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:CPMode \n Snippet: value: bool = driver.source.bb.evdo.anetwork.get_cp_mode() \n Enables or disables a special mode within the 1xEV-DO generator. Note: During the special mode, all other parameters do not affect the signal output. \n :return: cp_mode: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:ANETwork:CPMode?')returnConversions.str_to_bool(response)
[docs]defset_cp_mode(self,cp_mode:bool)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:CPMode \n Snippet: driver.source.bb.evdo.anetwork.set_cp_mode(cp_mode = False) \n Enables or disables a special mode within the 1xEV-DO generator. Note: During the special mode, all other parameters do not affect the signal output. \n :param cp_mode: 1| ON| 0| OFF """param=Conversions.bool_to_str(cp_mode)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:ANETwork:CPMode {param}')
[docs]defget_ou_count(self)->int:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:OUCount \n Snippet: value: int = driver.source.bb.evdo.anetwork.get_ou_count() \n Sets the number of additional users (beyond the four defined users) that appear in the MAC Channel. \n :return: ou_count: integer Range: 0 to 55 for physical layer subtype 0&1) , 0 to 110 for physical layer subtype 2, 0 to 360 for physical layer subtype 3 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:ANETwork:OUCount?')returnConversions.str_to_int(response)
[docs]defset_ou_count(self,ou_count:int)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:OUCount \n Snippet: driver.source.bb.evdo.anetwork.set_ou_count(ou_count = 1) \n Sets the number of additional users (beyond the four defined users) that appear in the MAC Channel. \n :param ou_count: integer Range: 0 to 55 for physical layer subtype 0&1) , 0 to 110 for physical layer subtype 2, 0 to 360 for physical layer subtype 3 """param=Conversions.decimal_value_to_str(ou_count)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:ANETwork:OUCount {param}')
# noinspection PyTypeChecker
[docs]defget_sub_type(self)->enums.EvdoLayerDn:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:SUBType \n Snippet: value: enums.EvdoLayerDn = driver.source.bb.evdo.anetwork.get_sub_type() \n Selects the physical layer subtype. Note: The physical layer subtype settings can be queried per user. \n :return: sub_type: S1| S2| S3 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:ANETwork:SUBType?')returnConversions.str_to_scalar_enum(response,enums.EvdoLayerDn)
[docs]defset_sub_type(self,sub_type:enums.EvdoLayerDn)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:SUBType \n Snippet: driver.source.bb.evdo.anetwork.set_sub_type(sub_type = enums.EvdoLayerDn.S1) \n Selects the physical layer subtype. Note: The physical layer subtype settings can be queried per user. \n :param sub_type: S1| S2| S3 """param=Conversions.enum_scalar_to_str(sub_type,enums.EvdoLayerDn)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:ANETwork:SUBType {param}')
defclone(self)->'AnetworkCls':"""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=AnetworkCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group