from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class FmodeCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("fmode", core, parent)
[docs]
def get_usr_file(self) -> str:
"""
``[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.
: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)