Source code for RsSmw.Implementations.Source.Bb.Gnss.Sv.Selection.Galileo

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


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

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

[docs] def get_active(self) -> int: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:ACTive`` \n Snippet: ``value: int = driver.source.bb.gnss.sv.selection.galileo.get_active()`` \n Queries the number of active satellites per GNSS system that are currently part of the satellite's constellation. :return: active_svs: integer Range: 0 to 24 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:ACTive?') return Conversions.str_to_int(response)
[docs] def get_available(self) -> int: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:AVAilable`` \n Snippet: ``value: int = driver.source.bb.gnss.sv.selection.galileo.get_available()`` \n Queries the number of available satellites per GNSS system. :return: available_svs: integer Range: 0 to 40 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:AVAilable?') return Conversions.str_to_int(response)
[docs] def get_max(self) -> int: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:MAX`` \n Snippet: ``value: int = driver.source.bb.gnss.sv.selection.galileo.get_max()`` \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. :return: maximum_svs: integer Range: 0 to 24 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:MAX?') return Conversions.str_to_int(response)
[docs] def set_max(self, maximum_svs: int) -> None: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:MAX`` \n Snippet: ``driver.source.bb.gnss.sv.selection.galileo.set_max(maximum_svs = 1)`` \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. :param maximum_svs: integer Range: 0 to 24 """ param = Conversions.decimal_value_to_str(maximum_svs) self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:MAX {param}')
[docs] def get_min(self) -> int: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:MIN`` \n Snippet: ``value: int = driver.source.bb.gnss.sv.selection.galileo.get_min()`` \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:MIN?') return Conversions.str_to_int(response)
[docs] def set_min(self, minimum_svs: int) -> None: """ ``[SOURce<HW>]:BB:GNSS:SV:SELection:GALileo:MIN`` \n Snippet: ``driver.source.bb.gnss.sv.selection.galileo.set_min(minimum_svs = 1)`` \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. :param minimum_svs: integer Range: 0 to 24 """ param = Conversions.decimal_value_to_str(minimum_svs) self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SV:SELection:GALileo:MIN {param}')