Source code for RsSmw.Implementations.Source.Bb.Dvb.Dvbx

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ......Internal.Utilities import trim_str_response
from ...... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class DvbxCls:
	"""
	| Commands in total: 112
	| Subgroups: 20
	| Direct child commands: 20
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("dvbx", core, parent)

	@property
	def adLength(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_adLength'):
			from .AdLength import AdLengthCls
			self._adLength = AdLengthCls(self._core, self._cmd_group)
		return self._adLength

	@property
	def bhConfig(self):
		"""
		| Commands in total: 9
		| Subgroups: 5
		| Direct child commands: 4
		"""
		if not hasattr(self, '_bhConfig'):
			from .BhConfig import BhConfigCls
			self._bhConfig = BhConfigCls(self._core, self._cmd_group)
		return self._bhConfig

	@property
	def binterleaver(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_binterleaver'):
			from .Binterleaver import BinterleaverCls
			self._binterleaver = BinterleaverCls(self._core, self._cmd_group)
		return self._binterleaver

	@property
	def bscrambler(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_bscrambler'):
			from .Bscrambler import BscramblerCls
			self._bscrambler = BscramblerCls(self._core, self._cmd_group)
		return self._bscrambler

	@property
	def cpnSequence(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_cpnSequence'):
			from .CpnSequence import CpnSequenceCls
			self._cpnSequence = CpnSequenceCls(self._core, self._cmd_group)
		return self._cpnSequence

	@property
	def crc(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_crc'):
			from .Crc import CrcCls
			self._crc = CrcCls(self._core, self._cmd_group)
		return self._crc

	@property
	def data(self):
		"""
		| Commands in total: 6
		| Subgroups: 1
		| Direct child commands: 5
		"""
		if not hasattr(self, '_data'):
			from .Data import DataCls
			self._data = DataCls(self._core, self._cmd_group)
		return self._data

	@property
	def ghConfig(self):
		"""
		| Commands in total: 11
		| Subgroups: 7
		| Direct child commands: 4
		"""
		if not hasattr(self, '_ghConfig'):
			from .GhConfig import GhConfigCls
			self._ghConfig = GhConfigCls(self._core, self._cmd_group)
		return self._ghConfig

	@property
	def icoder(self):
		"""
		| Commands in total: 2
		| Subgroups: 0
		| Direct child commands: 2
		"""
		if not hasattr(self, '_icoder'):
			from .Icoder import IcoderCls
			self._icoder = IcoderCls(self._core, self._cmd_group)
		return self._icoder

	@property
	def mactive(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_mactive'):
			from .Mactive import MactiveCls
			self._mactive = MactiveCls(self._core, self._cmd_group)
		return self._mactive

	@property
	def mtab(self):
		"""
		| Commands in total: 8
		| Subgroups: 1
		| Direct child commands: 0
		"""
		if not hasattr(self, '_mtab'):
			from .Mtab import MtabCls
			self._mtab = MtabCls(self._core, self._cmd_group)
		return self._mtab

	@property
	def ocoder(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_ocoder'):
			from .Ocoder import OcoderCls
			self._ocoder = OcoderCls(self._core, self._cmd_group)
		return self._ocoder

	@property
	def pscrambler(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_pscrambler'):
			from .Pscrambler import PscramblerCls
			self._pscrambler = PscramblerCls(self._core, self._cmd_group)
		return self._pscrambler

	@property
	def pstate(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_pstate'):
			from .Pstate import PstateCls
			self._pstate = PstateCls(self._core, self._cmd_group)
		return self._pstate

	@property
	def pvalue(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_pvalue'):
			from .Pvalue import PvalueCls
			self._pvalue = PvalueCls(self._core, self._cmd_group)
		return self._pvalue

	@property
	def sfbhConfig(self):
		"""
		| Commands in total: 11
		| Subgroups: 2
		| Direct child commands: 9
		"""
		if not hasattr(self, '_sfbhConfig'):
			from .SfbhConfig import SfbhConfigCls
			self._sfbhConfig = SfbhConfigCls(self._core, self._cmd_group)
		return self._sfbhConfig

	@property
	def sfConfig(self):
		"""
		| Commands in total: 17
		| Subgroups: 0
		| Direct child commands: 17
		"""
		if not hasattr(self, '_sfConfig'):
			from .SfConfig import SfConfigCls
			self._sfConfig = SfConfigCls(self._core, self._cmd_group)
		return self._sfConfig

	@property
	def thConfig(self):
		"""
		| Commands in total: 9
		| Subgroups: 4
		| Direct child commands: 5
		"""
		if not hasattr(self, '_thConfig'):
			from .ThConfig import ThConfigCls
			self._thConfig = ThConfigCls(self._core, self._cmd_group)
		return self._thConfig

	@property
	def ttab(self):
		"""
		| Commands in total: 8
		| Subgroups: 1
		| Direct child commands: 0
		"""
		if not hasattr(self, '_ttab'):
			from .Ttab import TtabCls
			self._ttab = TtabCls(self._core, self._cmd_group)
		return self._ttab

	@property
	def ucMode(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_ucMode'):
			from .UcMode import UcModeCls
			self._ucMode = UcModeCls(self._core, self._cmd_group)
		return self._ucMode

[docs] def get_am(self) -> bool: """ ``[SOURce<HW>]:BB:DVB:DVBX:AM`` \n Snippet: ``value: bool = driver.source.bb.dvb.dvbx.get_am()`` \n Enables the settings to configure the transmission format for wideband satellite transponders using time-slicing according to Annex M of and . :return: annex_m: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:AM?') return Conversions.str_to_bool(response)
[docs] def set_am(self, annex_m: bool) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:AM`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_am(annex_m = False)`` \n Enables the settings to configure the transmission format for wideband satellite transponders using time-slicing according to Annex M of and . :param annex_m: 1 | ON | 0| OFF """ param = Conversions.bool_to_str(annex_m) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:AM {param}')
[docs] def get_bb_frames(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:BBFRames`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_bb_frames()`` \n Queries the number of baseband frames. The number is available for complete transmission of pseudo-random noise (PN) bits as data source. The number depends on the length of the PN bit sequence, see Table 'PN sequence length and number of BB frames'. :return: bb_frames: integer Range: 1 to depends on settings """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:BBFRames?') return Conversions.str_to_int(response)
# noinspection PyTypeChecker
[docs] def get_cr_cf(self) -> enums.DvbS2Xcrc32For: """ ``[SOURce<HW>]:BB:DVB:DVBX:CRCF`` \n Snippet: ``value: enums.DvbS2Xcrc32For = driver.source.bb.dvb.dvbx.get_cr_cf()`` \n Requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:CRC[:STATe] 1. Sets the part of data packet for which the CRC-32 checksum is calculated. :return: crc_32_for: HP | P HP The CRC-32 checksum is calculated for header and payload of the data packet. P The CRC-32 checksum is calculated only for the payload of the data packet. """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:CRCF?') return Conversions.str_to_scalar_enum(response, enums.DvbS2Xcrc32For)
[docs] def set_cr_cf(self, crc_32_for: enums.DvbS2Xcrc32For) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:CRCF`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_cr_cf(crc_32_for = enums.DvbS2Xcrc32For.HP)`` \n Requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:CRC[:STATe] 1. Sets the part of data packet for which the CRC-32 checksum is calculated. :param crc_32_for: HP | P HP The CRC-32 checksum is calculated for header and payload of the data packet. P The CRC-32 checksum is calculated only for the payload of the data packet. """ param = Conversions.enum_scalar_to_str(crc_32_for, enums.DvbS2Xcrc32For) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:CRCF {param}')
# noinspection PyTypeChecker
[docs] def get_cr_ci(self) -> enums.DvbS2Xcrc32InitValue: """ ``[SOURce<HW>]:BB:DVB:DVBX:CRCI`` \n Snippet: ``value: enums.DvbS2Xcrc32InitValue = driver.source.bb.dvb.dvbx.get_cr_ci()`` \n Requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:CRC[:STATe] 1. Sets the start value in the shift register for generating the CRC-32. You can set all bits in the shift register to either 0 or 1. :return: crc_32_initial_val: ALL0 | ALL1 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:CRCI?') return Conversions.str_to_scalar_enum(response, enums.DvbS2Xcrc32InitValue)
[docs] def set_cr_ci(self, crc_32_initial_val: enums.DvbS2Xcrc32InitValue) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:CRCI`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_cr_ci(crc_32_initial_val = enums.DvbS2Xcrc32InitValue.ALL0)`` \n Requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:CRC[:STATe] 1. Sets the start value in the shift register for generating the CRC-32. You can set all bits in the shift register to either 0 or 1. :param crc_32_initial_val: ALL0 | ALL1 """ param = Conversions.enum_scalar_to_str(crc_32_initial_val, enums.DvbS2Xcrc32InitValue) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:CRCI {param}')
# noinspection PyTypeChecker
[docs] def get_ctype(self) -> enums.DvbS2XcodeTypeTsl: """ ``[SOURce<HW>]:BB:DVB:DVBX:CTYPe`` \n Snippet: ``value: enums.DvbS2XcodeTypeTsl = driver.source.bb.dvb.dvbx.get_ctype()`` \n Selects the code type. :return: ctype: NORMal | MEDium | SHORt """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:CTYPe?') return Conversions.str_to_scalar_enum(response, enums.DvbS2XcodeTypeTsl)
[docs] def set_ctype(self, ctype: enums.DvbS2XcodeTypeTsl) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:CTYPe`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_ctype(ctype = enums.DvbS2XcodeTypeTsl.MEDium)`` \n Selects the code type. :param ctype: NORMal | MEDium | SHORt """ param = Conversions.enum_scalar_to_str(ctype, enums.DvbS2XcodeTypeTsl) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:CTYPe {param}')
[docs] def get_frames(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:FRAMes`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_frames()`` \n Sets the number of the transmitted frames. :return: frames: integer Range: 1 to max """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:FRAMes?') return Conversions.str_to_int(response)
[docs] def set_frames(self, frames: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:FRAMes`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_frames(frames = 1)`` \n Sets the number of the transmitted frames. :param frames: integer Range: 1 to max """ param = Conversions.decimal_value_to_str(frames) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:FRAMes {param}')
[docs] def get_gsequence(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:GSEQuence`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_gsequence()`` \n Sets the gold sequence as part of the scrambling sequence. :return: gold_seq_index: integer Range: 0 to 262141 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:GSEQuence?') return Conversions.str_to_int(response)
[docs] def set_gsequence(self, gold_seq_index: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:GSEQuence`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_gsequence(gold_seq_index = 1)`` \n Sets the gold sequence as part of the scrambling sequence. :param gold_seq_index: integer Range: 0 to 262141 """ param = Conversions.decimal_value_to_str(gold_seq_index) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:GSEQuence {param}')
[docs] def get_istream(self) -> str: """ ``[SOURce<HW>]:BB:DVB:DVBX:ISTReam`` \n Snippet: ``value: str = driver.source.bb.dvb.dvbx.get_istream()`` \n Queries the input stream type. :return: istream: string """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:ISTReam?') return trim_str_response(response)
# noinspection PyTypeChecker
[docs] def get_mcod(self) -> enums.DvbS2XmodCod: """ ``[SOURce<HW>]:BB:DVB:DVBX:MCOD`` \n Snippet: ``value: enums.DvbS2XmodCod = driver.source.bb.dvb.dvbx.get_mcod()`` \n Selects the MODCOD. :return: mod_cod: QPSK_S_14 | QPSK_S_13 | QPSK_S_25 | QPSK_S_12 | QPSK_S_35 | QPSK_S_23 | QPSK_S_34 | QPSK_S_45 | QPSK_S_56 | QPSK_S_89 | QPSK_S_910 | PSK8_S_35 | PSK8_S_23 | PSK8_S_34 | PSK8_S_56 | PSK8_S_89 | PSK8_S_910 | APSK16_S_23 | APSK16_S_34 | APSK16_S_45 | APSK16_S_56 | APSK16_S_89 | APSK16_S_910 | APSK32_S_34 | APSK32_S_45 | APSK32_S_56 | APSK32_S_89 | APSK32_S_910 | QPSK_X_N1345 | QPSK_X_N920 | QPSK_X_N1120 | APSK8_X_N59L | APSK8_X_N2645L | PSK8_X_N2336 | PSK8_X_N2536 | PSK8_X_N1318 | APSK16_X_N12L | APSK16_X_N815L | APSK16_X_N59L | APSK16_X_N2645 | APSK16_X_N35 | APSK16_X_N35L | APSK16_X_N2845 | APSK16_X_N2336 | APSK16_X_N23L | APSK16_X_N2536 | APSK16_X_N1318 | APSK16_X_N79 | APSK16_X_N7790 | APSK32_X_N23L | APSK32_X_N3245 | APSK32_X_N1115 | APSK32_X_N79 | APSK64_X_N3245L | APSK64_X_N1115 | APSK64_X_N79 | APSK64_X_N45 | APSK64_X_N56 | APSK128_X_N34 | APSK128_X_N79 | APSK256_X_N2945L | APSK256_X_N23L | APSK256_X_N3145L | APSK256_X_N3245 | APSK256_X_N1115L | APSK256_X_N34 | QPSK_X_S1145 | QPSK_X_S415 | QPSK_X_S1445 | QPSK_X_S715 | QPSK_X_S815 | QPSK_X_S3245 | PSK8_X_S715 | PSK8_X_S815 | PSK8_X_S2645 | PSK8_X_S3245 | APSK16_X_S715 | APSK16_X_S815 | APSK16_X_S2645 | APSK16_X_S35 | APSK16_X_S3245 | APSK32_X_S23 | APSK32_X_S3245 | QPSK_X_VN29 | BPSK_X_VM15 | BPSK_X_VM1145 | BPSK_X_VM13 | BPSK_X_VS15S | BPSK_X_VS1145 | BPSK_X_VS15 | BPSK_X_VS415 | BPSK_X_VS13 | QPSK_X_M15 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:MCOD?') return Conversions.str_to_scalar_enum(response, enums.DvbS2XmodCod)
[docs] def set_mcod(self, mod_cod: enums.DvbS2XmodCod) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:MCOD`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_mcod(mod_cod = enums.DvbS2XmodCod.APSK128_X_N34)`` \n Selects the MODCOD. :param mod_cod: QPSK_S_14 | QPSK_S_13 | QPSK_S_25 | QPSK_S_12 | QPSK_S_35 | QPSK_S_23 | QPSK_S_34 | QPSK_S_45 | QPSK_S_56 | QPSK_S_89 | QPSK_S_910 | PSK8_S_35 | PSK8_S_23 | PSK8_S_34 | PSK8_S_56 | PSK8_S_89 | PSK8_S_910 | APSK16_S_23 | APSK16_S_34 | APSK16_S_45 | APSK16_S_56 | APSK16_S_89 | APSK16_S_910 | APSK32_S_34 | APSK32_S_45 | APSK32_S_56 | APSK32_S_89 | APSK32_S_910 | QPSK_X_N1345 | QPSK_X_N920 | QPSK_X_N1120 | APSK8_X_N59L | APSK8_X_N2645L | PSK8_X_N2336 | PSK8_X_N2536 | PSK8_X_N1318 | APSK16_X_N12L | APSK16_X_N815L | APSK16_X_N59L | APSK16_X_N2645 | APSK16_X_N35 | APSK16_X_N35L | APSK16_X_N2845 | APSK16_X_N2336 | APSK16_X_N23L | APSK16_X_N2536 | APSK16_X_N1318 | APSK16_X_N79 | APSK16_X_N7790 | APSK32_X_N23L | APSK32_X_N3245 | APSK32_X_N1115 | APSK32_X_N79 | APSK64_X_N3245L | APSK64_X_N1115 | APSK64_X_N79 | APSK64_X_N45 | APSK64_X_N56 | APSK128_X_N34 | APSK128_X_N79 | APSK256_X_N2945L | APSK256_X_N23L | APSK256_X_N3145L | APSK256_X_N3245 | APSK256_X_N1115L | APSK256_X_N34 | QPSK_X_S1145 | QPSK_X_S415 | QPSK_X_S1445 | QPSK_X_S715 | QPSK_X_S815 | QPSK_X_S3245 | PSK8_X_S715 | PSK8_X_S815 | PSK8_X_S2645 | PSK8_X_S3245 | APSK16_X_S715 | APSK16_X_S815 | APSK16_X_S2645 | APSK16_X_S35 | APSK16_X_S3245 | APSK32_X_S23 | APSK32_X_S3245 | QPSK_X_VN29 | BPSK_X_VM15 | BPSK_X_VM1145 | BPSK_X_VM13 | BPSK_X_VS15S | BPSK_X_VS1145 | BPSK_X_VS15 | BPSK_X_VS415 | BPSK_X_VS13 | QPSK_X_M15 """ param = Conversions.enum_scalar_to_str(mod_cod, enums.DvbS2XmodCod) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:MCOD {param}')
# noinspection PyTypeChecker
[docs] def get_mc_unique(self) -> enums.DvbS2XmodCodUnique: """ ``[SOURce<HW>]:BB:DVB:DVBX:MCUnique`` \n Snippet: ``value: enums.DvbS2XmodCodUnique = driver.source.bb.dvb.dvbx.get_mc_unique()`` \n Sets predefined modulation and coding schemes. :return: mod_cod_unique: MCU1 | MCU2 | MCU3 | MCU4 | MCU5 | MCU6 | MCU7 | MCU8 | MCU9 | MCU10 | MCU11 | MCU12 | MCU13 | MCU14 | MCU15 | MCU16 | MCU17 | MCU18 | MCU19 | MCU20 | MCU21 | MCU22 | MCU23 | MCU24 | MCU25 | MCU26 | MCU27 | MCU28 | MCU29 | MCU30 | MCU31 | MCU32 | MCU33 | MCU34 | MCU35 | MCU36 | MCU37 | MCU38 | MCU39 | MCU40 | MCU41 | MCU42 | MCU43 | MCU44 | MCU45 | MCU46 | MCU47 | MCU48 | MCU49 | MCU50 | MCU51 | MCU52 | MCU53 | MCU54 | MCU55 | MCU56 | MCU57 | MCU58 | MCU59 | MCU60 | MCU61 | MCU62 | MCU63 | MCU64 | MCU65 | MCU66 | MCU67 | MCU68 | MCU69 | MCU70 | MCU71 | MCU72 | MCU73 | MCU74 | MCU75 | MCU76 | MCU77 | MCU78 | MCU79 | MCU80 | MCU81 | MCU82 | MCU83 | MCU84 | MCU85 | MCU86 | MCU87 | MCU88 | MCU89 | MCU90 | MCU91 | MCU92 | MCU93 | MCU94 | MCU95 | MCU96 | MCU97 | MCU98 | MCU99 | MCU100 | MCU101 | MCU102 | MCU103 | MCU104 | MCU105 | MCU106 | MCU107 | MCU108 | MCU109 | MCU110 | MCU111 | MCU112 | MCU113 | MCU114 | MCU115 | MCU116 | MCU117 | MCU118 | MCU119 | MCU120 | MCU121 | MCU122 | MCU123 | MCU124 | MCU125 | MCU126 | MCU127 | MCU128 | MCU129 | MCU130 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:MCUnique?') return Conversions.str_to_scalar_enum(response, enums.DvbS2XmodCodUnique)
[docs] def set_mc_unique(self, mod_cod_unique: enums.DvbS2XmodCodUnique) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:MCUnique`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_mc_unique(mod_cod_unique = enums.DvbS2XmodCodUnique.MCU1)`` \n Sets predefined modulation and coding schemes. :param mod_cod_unique: MCU1 | MCU2 | MCU3 | MCU4 | MCU5 | MCU6 | MCU7 | MCU8 | MCU9 | MCU10 | MCU11 | MCU12 | MCU13 | MCU14 | MCU15 | MCU16 | MCU17 | MCU18 | MCU19 | MCU20 | MCU21 | MCU22 | MCU23 | MCU24 | MCU25 | MCU26 | MCU27 | MCU28 | MCU29 | MCU30 | MCU31 | MCU32 | MCU33 | MCU34 | MCU35 | MCU36 | MCU37 | MCU38 | MCU39 | MCU40 | MCU41 | MCU42 | MCU43 | MCU44 | MCU45 | MCU46 | MCU47 | MCU48 | MCU49 | MCU50 | MCU51 | MCU52 | MCU53 | MCU54 | MCU55 | MCU56 | MCU57 | MCU58 | MCU59 | MCU60 | MCU61 | MCU62 | MCU63 | MCU64 | MCU65 | MCU66 | MCU67 | MCU68 | MCU69 | MCU70 | MCU71 | MCU72 | MCU73 | MCU74 | MCU75 | MCU76 | MCU77 | MCU78 | MCU79 | MCU80 | MCU81 | MCU82 | MCU83 | MCU84 | MCU85 | MCU86 | MCU87 | MCU88 | MCU89 | MCU90 | MCU91 | MCU92 | MCU93 | MCU94 | MCU95 | MCU96 | MCU97 | MCU98 | MCU99 | MCU100 | MCU101 | MCU102 | MCU103 | MCU104 | MCU105 | MCU106 | MCU107 | MCU108 | MCU109 | MCU110 | MCU111 | MCU112 | MCU113 | MCU114 | MCU115 | MCU116 | MCU117 | MCU118 | MCU119 | MCU120 | MCU121 | MCU122 | MCU123 | MCU124 | MCU125 | MCU126 | MCU127 | MCU128 | MCU129 | MCU130 """ param = Conversions.enum_scalar_to_str(mod_cod_unique, enums.DvbS2XmodCodUnique) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:MCUnique {param}')
# noinspection PyTypeChecker
[docs] def get_modulation(self) -> enums.DvbS2Xmodulation: """ ``[SOURce<HW>]:BB:DVB:DVBX:MODulation`` \n Snippet: ``value: enums.DvbS2Xmodulation = driver.source.bb.dvb.dvbx.get_modulation()`` \n Selects the modulation scheme. :return: modulation: QPSK | APSK16 | APSK32 | PSK8 | P2BPsk | APSK16_8_8 | APSK32_4_12_16R | APSK64_8_16_20_20 | APSK8_2_4_2 | APSK32_4_8_4_16 | APSK64_16_16_16_16 | APSK64_4_12_20_28 | APSK128 | APSK256 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:MODulation?') return Conversions.str_to_scalar_enum(response, enums.DvbS2Xmodulation)
[docs] def set_modulation(self, modulation: enums.DvbS2Xmodulation) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:MODulation`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_modulation(modulation = enums.DvbS2Xmodulation.APSK128)`` \n Selects the modulation scheme. :param modulation: QPSK | APSK16 | APSK32 | PSK8 | P2BPsk | APSK16_8_8 | APSK32_4_12_16R | APSK64_8_16_20_20 | APSK8_2_4_2 | APSK32_4_8_4_16 | APSK64_16_16_16_16 | APSK64_4_12_20_28 | APSK128 | APSK256 """ param = Conversions.enum_scalar_to_str(modulation, enums.DvbS2Xmodulation) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:MODulation {param}')
[docs] def get_no_settings(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:NOSettings`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_no_settings()`` \n Sets the number of PLSCODEs that can be configured. :return: settings: integer Range: 1 to 100 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:NOSettings?') return Conversions.str_to_int(response)
[docs] def set_no_settings(self, settings: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:NOSettings`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_no_settings(settings = 1)`` \n Sets the number of PLSCODEs that can be configured. :param settings: integer Range: 1 to 100 """ param = Conversions.decimal_value_to_str(settings) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:NOSettings {param}')
[docs] def get_ntsl(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:NTSL`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_ntsl()`` \n Sets the number of time slices in the TSL cycle. :return: num_of_tsl: integer Range: 1 to 8 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:NTSL?') return Conversions.str_to_int(response)
[docs] def set_ntsl(self, num_of_tsl: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:NTSL`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_ntsl(num_of_tsl = 1)`` \n Sets the number of time slices in the TSL cycle. :param num_of_tsl: integer Range: 1 to 8 """ param = Conversions.decimal_value_to_str(num_of_tsl) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:NTSL {param}')
[docs] def get_sfactor(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:SFACtor`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_sfactor()`` \n Sets the spreading factor. :return: sfactor: integer Range: 1 to 2 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFACtor?') return Conversions.str_to_int(response)
[docs] def set_sfactor(self, sfactor: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:SFACtor`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_sfactor(sfactor = 1)`` \n Sets the spreading factor. :param sfactor: integer Range: 1 to 2 """ param = Conversions.decimal_value_to_str(sfactor) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFACtor {param}')
[docs] def get_sframes(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:SFRames`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_sframes()`` \n For DVB-S2X standard, sets the number of the transmitted super frames. :return: super_frames: integer Range: 1 to 3263 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SFRames?') return Conversions.str_to_int(response)
[docs] def set_sframes(self, super_frames: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:SFRames`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_sframes(super_frames = 1)`` \n For DVB-S2X standard, sets the number of the transmitted super frames. :param super_frames: integer Range: 1 to 3263 """ param = Conversions.decimal_value_to_str(super_frames) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SFRames {param}')
[docs] def get_ssequence(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:SSEQuence`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_ssequence()`` \n Sets the scrambling sequence for scrambling physical layer data. :return: ssequence: integer Range: 0 to 6 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:SSEQuence?') return Conversions.str_to_int(response)
[docs] def set_ssequence(self, ssequence: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:SSEQuence`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_ssequence(ssequence = 1)`` \n Sets the scrambling sequence for scrambling physical layer data. :param ssequence: integer Range: 0 to 6 """ param = Conversions.decimal_value_to_str(ssequence) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:SSEQuence {param}')
# noinspection PyTypeChecker
[docs] def get_stype(self) -> enums.DvbS2XstmType: """ ``[SOURce<HW>]:BB:DVB:DVBX:STYPe`` \n Snippet: ``value: enums.DvbS2XstmType = driver.source.bb.dvb.dvbx.get_stype()`` \n Selects the input stream type. :return: stype: TRANsport | GP | GC | GHEM """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:STYPe?') return Conversions.str_to_scalar_enum(response, enums.DvbS2XstmType)
[docs] def set_stype(self, stype: enums.DvbS2XstmType) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:STYPe`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_stype(stype = enums.DvbS2XstmType.GC)`` \n Selects the input stream type. :param stype: TRANsport | GP | GC | GHEM """ param = Conversions.enum_scalar_to_str(stype, enums.DvbS2XstmType) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:STYPe {param}')
# noinspection PyTypeChecker
[docs] def get_tibb(self) -> enums.DvbS2XtransmitInBbfRame: """ ``[SOURce<HW>]:BB:DVB:DVBX:TIBB`` \n Snippet: ``value: enums.DvbS2XtransmitInBbfRame = driver.source.bb.dvb.dvbx.get_tibb()`` \n Option: R&S SMW-K116: requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:STYPe GP | GC and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:DATA DLISt | PATTern Option: R&S SMW-K183 : requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:AM 1 and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:STYPe GP | GC and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:DATA DLISt | PATTern. Sets how often the data list file is transmitted in the baseband frame. :return: tran_in_bb_frame: SINGle | MULTiple SINGle Transmits the data list file once and fills the data field length with padding. MULTiple Transmits the data list file multiple times depending on the data field length. """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:TIBB?') return Conversions.str_to_scalar_enum(response, enums.DvbS2XtransmitInBbfRame)
[docs] def set_tibb(self, tran_in_bb_frame: enums.DvbS2XtransmitInBbfRame) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:TIBB`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_tibb(tran_in_bb_frame = enums.DvbS2XtransmitInBbfRame.MULTiple)`` \n Option: R&S SMW-K116: requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:STYPe GP | GC and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:DATA DLISt | PATTern Option: R&S SMW-K183 : requires [:SOURce<hw>]:BB:DVB:DVBS | DVBX:AM 1 and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:STYPe GP | GC and [:SOURce<hw>]:BB:DVB:DVBS | DVBX:DATA DLISt | PATTern. Sets how often the data list file is transmitted in the baseband frame. :param tran_in_bb_frame: SINGle | MULTiple SINGle Transmits the data list file once and fills the data field length with padding. MULTiple Transmits the data list file multiple times depending on the data field length. """ param = Conversions.enum_scalar_to_str(tran_in_bb_frame, enums.DvbS2XtransmitInBbfRame) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:TIBB {param}')
[docs] def get_trepetition(self) -> int: """ ``[SOURce<HW>]:BB:DVB:DVBX:TREPetition`` \n Snippet: ``value: int = driver.source.bb.dvb.dvbx.get_trepetition()`` \n Sets the number of TSL cycles to be generated. :return: trepetition: integer Range: 0 to 63 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:TREPetition?') return Conversions.str_to_int(response)
[docs] def set_trepetition(self, trepetition: int) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:TREPetition`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_trepetition(trepetition = 1)`` \n Sets the number of TSL cycles to be generated. :param trepetition: integer Range: 0 to 63 """ param = Conversions.decimal_value_to_str(trepetition) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:TREPetition {param}')
[docs] def get_vs_mode(self) -> bool: """ ``[SOURce<HW>]:BB:DVB:DVBX:VSMode`` \n Snippet: ``value: bool = driver.source.bb.dvb.dvbx.get_vs_mode()`` \n Includes the VL-SNR (very low - signal to noise ratio) header in the physical layer frame. :return: vs_mode: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:VSMode?') return Conversions.str_to_bool(response)
[docs] def set_vs_mode(self, vs_mode: bool) -> None: """ ``[SOURce<HW>]:BB:DVB:DVBX:VSMode`` \n Snippet: ``driver.source.bb.dvb.dvbx.set_vs_mode(vs_mode = False)`` \n Includes the VL-SNR (very low - signal to noise ratio) header in the physical layer frame. :param vs_mode: 1 | ON | 0| OFF """ param = Conversions.bool_to_str(vs_mode) self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:VSMode {param}')
def clone(self) -> 'DvbxCls': """ 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 = DvbxCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group