[docs]defset(self,hset:int,baseStation=repcap.BaseStation.Default,channelNull=repcap.ChannelNull.Default)->None:"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation<ST>:CHANnel<CH0>:HSDPa:HSET \n Snippet: driver.source.bb.w3Gpp.bstation.channel.hsdpa.hset.set(hset = 1, baseStation = repcap.BaseStation.Default, channelNull = repcap.ChannelNull.Default) \n No command help available \n :param hset: No help available :param baseStation: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Bstation') :param channelNull: optional repeated capability selector. Default value: Nr0 (settable in the interface 'Channel') """param=Conversions.decimal_value_to_str(hset)baseStation_cmd_val=self._cmd_group.get_repcap_cmd_value(baseStation,repcap.BaseStation)channelNull_cmd_val=self._cmd_group.get_repcap_cmd_value(channelNull,repcap.ChannelNull)self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:BSTation{baseStation_cmd_val}:CHANnel{channelNull_cmd_val}:HSDPa:HSET {param}')
[docs]defget(self,baseStation=repcap.BaseStation.Default,channelNull=repcap.ChannelNull.Default)->int:"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation<ST>:CHANnel<CH0>:HSDPa:HSET \n Snippet: value: int = driver.source.bb.w3Gpp.bstation.channel.hsdpa.hset.get(baseStation = repcap.BaseStation.Default, channelNull = repcap.ChannelNull.Default) \n No command help available \n :param baseStation: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Bstation') :param channelNull: optional repeated capability selector. Default value: Nr0 (settable in the interface 'Channel') :return: hset: No help available"""baseStation_cmd_val=self._cmd_group.get_repcap_cmd_value(baseStation,repcap.BaseStation)channelNull_cmd_val=self._cmd_group.get_repcap_cmd_value(channelNull,repcap.ChannelNull)response=self._core.io.query_str(f'SOURce<HwInstance>:BB:W3GPp:BSTation{baseStation_cmd_val}:CHANnel{channelNull_cmd_val}:HSDPa:HSET?')returnConversions.str_to_int(response)
[docs]defpreset(self,baseStation=repcap.BaseStation.Default)->None:"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation<ST>:CHANnel:HSDPa:HSET:PRESet \n Snippet: driver.source.bb.w3Gpp.bstation.channel.hsdpa.hset.preset(baseStation = repcap.BaseStation.Default) \n Sets the default settings of the channel table for the HSDPA H-Set mode. Channels 12 to 17 are preset for HSDPA H-Set 1. \n :param baseStation: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Bstation') """baseStation_cmd_val=self._cmd_group.get_repcap_cmd_value(baseStation,repcap.BaseStation)self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:BSTation{baseStation_cmd_val}:CHANnel:HSDPa:HSET:PRESet')
[docs]defpreset_with_opc(self,baseStation=repcap.BaseStation.Default,opc_timeout_ms:int=-1)->None:baseStation_cmd_val=self._cmd_group.get_repcap_cmd_value(baseStation,repcap.BaseStation)"""SCPI: [SOURce<HW>]:BB:W3GPp:BSTation<ST>:CHANnel:HSDPa:HSET:PRESet \n Snippet: driver.source.bb.w3Gpp.bstation.channel.hsdpa.hset.preset_with_opc(baseStation = repcap.BaseStation.Default) \n Sets the default settings of the channel table for the HSDPA H-Set mode. Channels 12 to 17 are preset for HSDPA H-Set 1. \n Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value. \n :param baseStation: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Bstation') :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{baseStation_cmd_val}:CHANnel:HSDPa:HSET:PRESet',opc_timeout_ms)
defclone(self)->'HsetCls':"""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=HsetCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group