[docs]defget_bb_bw(self)->enums.SystConfBbBandwidth:"""SCPI: SCONfiguration:BBBW \n Snippet: value: enums.SystConfBbBandwidth = driver.sconfiguration.get_bb_bw() \n Sets the bandwidth of the baseband signal at the inputs of the fading simulator. The available values depend on the selected MIMO configuration. INTRO_CMD_HELP: For example: \n - In MIMO configurations with fewer than 8 channels, the max. baseband bandwidth is 400 MHz. - In MIMO configurations with fewer than 4 channels, the max. baseband bandwidth is 800 MHz. \n :return: bandwidth: BB040| BB050| BB080| BB100| BB160| BB200| BB800| BB400| BB500| BB1G| BB2G| BB120| BBOUTDEF| BB240 BB040|BB050 ... Bandwidth in MHz, e.g. 40 MHz. BB1G|BB2G 1 GHz, 2 GHz bandwidth. Available in SISO configurations. BBOUTDEF Bandwidth determined by the signal at the HS DIG I/Q. """response=self._core.io.query_str('SCONfiguration:BBBW?')returnConversions.str_to_scalar_enum(response,enums.SystConfBbBandwidth)
[docs]defset_bb_bw(self,bandwidth:enums.SystConfBbBandwidth)->None:"""SCPI: SCONfiguration:BBBW \n Snippet: driver.sconfiguration.set_bb_bw(bandwidth = enums.SystConfBbBandwidth.BB040) \n Sets the bandwidth of the baseband signal at the inputs of the fading simulator. The available values depend on the selected MIMO configuration. INTRO_CMD_HELP: For example: \n - In MIMO configurations with fewer than 8 channels, the max. baseband bandwidth is 400 MHz. - In MIMO configurations with fewer than 4 channels, the max. baseband bandwidth is 800 MHz. \n :param bandwidth: BB040| BB050| BB080| BB100| BB160| BB200| BB800| BB400| BB500| BB1G| BB2G| BB120| BBOUTDEF| BB240 BB040|BB050 ... Bandwidth in MHz, e.g. 40 MHz. BB1G|BB2G 1 GHz, 2 GHz bandwidth. Available in SISO configurations. BBOUTDEF Bandwidth determined by the signal at the HS DIG I/Q. """param=Conversions.enum_scalar_to_str(bandwidth,enums.SystConfBbBandwidth)self._core.io.write(f'SCONfiguration:BBBW {param}')
# noinspection PyTypeChecker
[docs]defget_cabw(self)->enums.SystConfBbBandwidth:"""SCPI: SCONfiguration:CABW \n Snippet: value: enums.SystConfBbBandwidth = driver.sconfiguration.get_cabw() \n Queries the resulting channel aggregation bandwidth, i.e. the signal bandwidth at the outputs of the stream mapper. The value is calculated automatically and depends on the selected configuration, the installed options and the selected baseband bandwidth (method RsSmw.Sconfiguration.bbBw) . \n :return: bandwidth: BB800| BB200 """response=self._core.io.query_str('SCONfiguration:CABW?')returnConversions.str_to_scalar_enum(response,enums.SystConfBbBandwidth)
[docs]defget_mode(self)->enums.SystConfMode:"""SCPI: SCONfiguration:MODE \n Snippet: value: enums.SystConfMode = driver.sconfiguration.get_mode() \n Switches between the operating modes. \n :return: mode: ADVanced| STANdard| REGenerator | GNSS | ESEQuencer | BWEXtension ADVanced|STANdard Switches between the and . REGenerator Enables the R&S SMW200A to work as a radar echo generator. The fading simulator is disabled. See 'Welcome to the Option'. GNSS Enables the R&S SMW200A to work in GNSS advanced mode. The fading simulator is disabled. See 'Welcome to the GNSS Satellite Navigation Options'. ESEQuencer Enables the R&S SMW200A to work in an advanced extended sequencer mode. The fading simulator, the AWGN, the BB input and all baseband digital standards are disabled. See 'Welcome to the Extended Sequencer'. BEXTension Enables the R&S SMW200A to generate RF signals with extended bandwidth. These signals typically have bandwidths above 2.4 GHz. See 'Welcome to the option'. """response=self._core.io.query_str('SCONfiguration:MODE?')returnConversions.str_to_scalar_enum(response,enums.SystConfMode)
[docs]defset_mode(self,mode:enums.SystConfMode)->None:"""SCPI: SCONfiguration:MODE \n Snippet: driver.sconfiguration.set_mode(mode = enums.SystConfMode.ADVanced) \n Switches between the operating modes. \n :param mode: ADVanced| STANdard| REGenerator | GNSS | ESEQuencer | BWEXtension ADVanced|STANdard Switches between the and . REGenerator Enables the R&S SMW200A to work as a radar echo generator. The fading simulator is disabled. See 'Welcome to the Option'. GNSS Enables the R&S SMW200A to work in GNSS advanced mode. The fading simulator is disabled. See 'Welcome to the GNSS Satellite Navigation Options'. ESEQuencer Enables the R&S SMW200A to work in an advanced extended sequencer mode. The fading simulator, the AWGN, the BB input and all baseband digital standards are disabled. See 'Welcome to the Extended Sequencer'. BEXTension Enables the R&S SMW200A to generate RF signals with extended bandwidth. These signals typically have bandwidths above 2.4 GHz. See 'Welcome to the option'. """param=Conversions.enum_scalar_to_str(mode,enums.SystConfMode)self._core.io.write(f'SCONfiguration:MODE {param}')
[docs]defpreset(self)->None:"""SCPI: SCONfiguration:PRESet \n Snippet: driver.sconfiguration.preset() \n Presets the signal routing in the baseband section and the fading configuration to the default state. \n """self._core.io.write(f'SCONfiguration:PRESet')
[docs]defpreset_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: SCONfiguration:PRESet \n Snippet: driver.sconfiguration.preset_with_opc() \n Presets the signal routing in the baseband section and the fading configuration to the default state. \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 opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SCONfiguration:PRESet',opc_timeout_ms)
defclone(self)->'SconfigurationCls':"""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=SconfigurationCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group