Source code for RsSmbv.Implementations.Source.Bb.Gnss.Setting.Catalog

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class CatalogCls: """Catalog commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("catalog", core, parent)
[docs] def get_predefined(self) -> List[str]: """SCPI: [SOURce<HW>]:BB:GNSS:SETTing:CATalog:PREDefined \n Snippet: value: List[str] = driver.source.bb.gnss.setting.catalog.get_predefined() \n Queries the files with predefined settings. \n :return: gnss_gnss_predefined_cat: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SETTing:CATalog:PREDefined?') return Conversions.str_to_str_list(response)
[docs] def get_value(self) -> List[str]: """SCPI: [SOURce<HW>]:BB:GNSS:SETTing:CATalog \n Snippet: value: List[str] = driver.source.bb.gnss.setting.catalog.get_value() \n Queries the files with settings in the default directory. Listed are files with the file extension *.gnss. Refer to 'Accessing Files in the Default or Specified Directory' for general information on file handling in the default and in a specific directory. \n :return: gnss_gnss_sav_rcl_cat_names: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SETTing:CATalog?') return Conversions.str_to_str_list(response)