from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class FmodeCls:
"""Fmode commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("fmode", core, parent)
[docs]
def get_usr_file(self) -> str:
"""SCPI: [SOURce<HW>]:BB:NR5G:FMODe:USRFile \n
Snippet: value: str = driver.source.bb.nr5G.fmode.get_usr_file() \n
Loads the file from the default or the specified directory. Loaded are files with extension *.vaf or *.dat.
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: filter_file_name: string Complete file path incl. filename and extension
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:FMODe:USRFile?')
return trim_str_response(response)