Source code for RsFsw.Implementations.Applications.K70_Vsa.Sense.Ddemod.Bordering

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class BorderingCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def set(self, bit_ordering: enums.BitOrdering) -> None: """ ``[SENSe]:DDEMod:BORDering`` \n Snippet: ``driver.applications.k70Vsa.sense.ddemod.bordering.set(bit_ordering = enums.BitOrdering.LSB)`` \n Determines how the bits in the symbols are ordered in all symbol displays. :param bit_ordering: MSB | LSB LSB Least-significant bit first (used in Bluetooth specification, for example) MSB Most significant bit first (default) """ param = Conversions.enum_scalar_to_str(bit_ordering, enums.BitOrdering) self._core.io.write(f'SENSe:DDEMod:BORDering {param}')
# noinspection PyTypeChecker
[docs] def get(self) -> enums.BitOrdering: """ ``[SENSe]:DDEMod:BORDering`` \n Snippet: ``value: enums.BitOrdering = driver.applications.k70Vsa.sense.ddemod.bordering.get()`` \n Determines how the bits in the symbols are ordered in all symbol displays. :return: bit_ordering: MSB | LSB LSB Least-significant bit first (used in Bluetooth specification, for example) MSB Most significant bit first (default) """ response = self._core.io.query_str(f'SENSe:DDEMod:BORDering?') return Conversions.str_to_scalar_enum(response, enums.BitOrdering)