Source code for RsSmbv.Implementations.Source.Bb.Gbas.Vdb.Mconfig.Dg.Suser.Catalog

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class CatalogCls: """Catalog commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("catalog", core, parent)
[docs] def get(self, vdbTransmitter=repcap.VdbTransmitter.Default) -> List[str]: """SCPI: [SOURce<HW>]:BB:GBAS:VDB<CH>:MCONfig:DG:SUSer:CATalog \n Snippet: value: List[str] = driver.source.bb.gbas.vdb.mconfig.dg.suser.catalog.get(vdbTransmitter = repcap.VdbTransmitter.Default) \n Queries the names of the existing user defined/predefined GBAS/SCAT-I differential files. Per default, the instrument saves user-defined files in the /var/user/ directory. Use the command method RsSmbv.MassMemory.currentDirectory to change the default directory to the currently used one. For GBAS differential files, files with extension *.rs_gbas are listed. For SCAT-I differential files, files with extension *.rs_scat are listed. \n :param vdbTransmitter: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Vdb') :return: gbas_mc_scat_differ_cat_name_user: No help available""" vdbTransmitter_cmd_val = self._cmd_group.get_repcap_cmd_value(vdbTransmitter, repcap.VdbTransmitter) response = self._core.io.query_str(f'SOURce<HwInstance>:BB:GBAS:VDB{vdbTransmitter_cmd_val}:MCONfig:DG:SUSer:CATalog?') return Conversions.str_to_str_list(response)