[docs]classBstationCls:"""Bstation commands group definition. 170 total commands, 13 Subgroups, 1 group commands Repeated Capability: BaseStation, default value after init: BaseStation.Nr1"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("bstation",core,parent)self._cmd_group.rep_cap=RepeatedCapability(self._cmd_group.group_name,'repcap_baseStation_get','repcap_baseStation_set',repcap.BaseStation.Nr1)defrepcap_baseStation_set(self,baseStation:repcap.BaseStation)->None:"""Repeated Capability default value numeric suffix. This value is used, if you do not explicitely set it in the child set/get methods, or if you leave it to BaseStation.Default Default value after init: BaseStation.Nr1"""self._cmd_group.set_repcap_enum_value(baseStation)defrepcap_baseStation_get(self)->repcap.BaseStation:"""Returns the current default repeated capability for the child set/get methods"""# noinspection PyTypeCheckerreturnself._cmd_group.get_repcap_enum_value()@propertydefchannel(self):"""channel commands group. 14 Sub-classes, 1 commands."""ifnothasattr(self,'_channel'):from.ChannelimportChannelClsself._channel=ChannelCls(self._core,self._cmd_group)returnself._channel@propertydefcmode(self):"""cmode commands group. 6 Sub-classes, 0 commands."""ifnothasattr(self,'_cmode'):from.CmodeimportCmodeClsself._cmode=CmodeCls(self._core,self._cmd_group)returnself._cmode@propertydefdconflict(self):"""dconflict commands group. 2 Sub-classes, 0 commands."""ifnothasattr(self,'_dconflict'):from.DconflictimportDconflictClsself._dconflict=DconflictCls(self._core,self._cmd_group)returnself._dconflict@propertydefenhanced(self):"""enhanced commands group. 3 Sub-classes, 0 commands."""ifnothasattr(self,'_enhanced'):from.EnhancedimportEnhancedClsself._enhanced=EnhancedCls(self._core,self._cmd_group)returnself._enhanced@propertydefocns(self):"""ocns commands group. 0 Sub-classes, 3 commands."""ifnothasattr(self,'_ocns'):from.OcnsimportOcnsClsself._ocns=OcnsCls(self._core,self._cmd_group)returnself._ocns@propertydefoltDiversity(self):"""oltDiversity commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_oltDiversity'):from.OltDiversityimportOltDiversityClsself._oltDiversity=OltDiversityCls(self._core,self._cmd_group)returnself._oltDiversity@propertydefpindicator(self):"""pindicator commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_pindicator'):from.PindicatorimportPindicatorClsself._pindicator=PindicatorCls(self._core,self._cmd_group)returnself._pindicator@propertydefscode(self):"""scode commands group. 1 Sub-classes, 1 commands."""ifnothasattr(self,'_scode'):from.ScodeimportScodeClsself._scode=ScodeCls(self._core,self._cmd_group)returnself._scode@propertydefscpich(self):"""scpich commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_scpich'):from.ScpichimportScpichClsself._scpich=ScpichCls(self._core,self._cmd_group)returnself._scpich@propertydefsscg(self):"""sscg commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_sscg'):from.SscgimportSscgClsself._sscg=SscgCls(self._core,self._cmd_group)returnself._sscg@propertydefstate(self):"""state commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_state'):from.StateimportStateClsself._state=StateCls(self._core,self._cmd_group)returnself._state@propertydeftdelay(self):"""tdelay commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_tdelay'):from.TdelayimportTdelayClsself._tdelay=TdelayCls(self._core,self._cmd_group)returnself._tdelay@propertydeftdiversity(self):"""tdiversity commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_tdiversity'):from.TdiversityimportTdiversityClsself._tdiversity=TdiversityCls(self._core,self._cmd_group)returnself._tdiversity
[docs]defpreset(self)->None:"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:PRESet \n Snippet: driver.source.bb.w3Gpp.bstation.preset() \n The command produces a standardized default for all the base stations. The settings correspond to the *RST values specified for the commands. All base station settings are preset. \n """self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:BSTation:PRESet')
[docs]defpreset_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:PRESet \n Snippet: driver.source.bb.w3Gpp.bstation.preset_with_opc() \n The command produces a standardized default for all the base stations. The settings correspond to the *RST values specified for the commands. All base station settings are preset. \n Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SOURce<HwInstance>:BB:W3GPp:BSTation:PRESet',opc_timeout_ms)
defclone(self)->'BstationCls':"""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=BstationCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group