Source code for RsSmw.Implementations.Source.Bb.Gnss.Setting.Load

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


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

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

[docs] def set_predefined(self, scenario: str) -> None: """ ``[SOURce<HW>]:BB:GNSS:SETTing:LOAD:PREDefined`` \n Snippet: ``driver.source.bb.gnss.setting.load.set_predefined(scenario = 'abc')`` \n Loads the selected scenario file. :param scenario: 'ScenarioName' Name of a predefined scenario, as queried with the method ``RsSmw.source.bb.gnss.setting.catalog.predefined()`` . """ param = Conversions.value_to_quoted_str(scenario) self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SETTing:LOAD:PREDefined {param}')