[docs]classFmodeCls:"""Fmode commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("fmode",core,parent)
[docs]defget_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?')returntrim_str_response(response)
[docs]defset_usr_file(self,filter_file_name:str)->None:"""SCPI: [SOURce<HW>]:BB:NR5G:FMODe:USRFile \n Snippet: driver.source.bb.nr5G.fmode.set_usr_file(filter_file_name = 'abc') \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 :param filter_file_name: string Complete file path incl. filename and extension """param=Conversions.value_to_quoted_str(filter_file_name)self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:FMODe:USRFile {param}')