Source code for RsCMPX_WlanMeas.Implementations.Configure.WlanMeas.Tmode.File

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from .....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class FileCls: """File commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("file", core, parent)
[docs] def get_save(self) -> str: """SCPI: CONFigure:WLAN:MEASurement<instance>:TMODe:FILE:SAVE \n Snippet: value: str = driver.configure.wlanMeas.tmode.file.get_save() \n No command help available \n :return: filename: No help available """ response = self._core.io.query_str('CONFigure:WLAN:MEASurement<Instance>:TMODe:FILE:SAVE?') return trim_str_response(response)
[docs] def set_save(self, filename: str) -> None: """SCPI: CONFigure:WLAN:MEASurement<instance>:TMODe:FILE:SAVE \n Snippet: driver.configure.wlanMeas.tmode.file.set_save(filename = 'abc') \n No command help available \n :param filename: No help available """ param = Conversions.value_to_quoted_str(filename) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:TMODe:FILE:SAVE {param}')
[docs] def get_date(self) -> str: """SCPI: CONFigure:WLAN:MEASurement<instance>:TMODe:FILE:DATE \n Snippet: value: str = driver.configure.wlanMeas.tmode.file.get_date() \n No command help available \n :return: file_date: No help available """ response = self._core.io.query_str('CONFigure:WLAN:MEASurement<Instance>:TMODe:FILE:DATE?') return trim_str_response(response)