Source code for RsFsw.Implementations.Applications.K70_Vsa.Sense.Correction.Cvl.Select

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 SelectCls: """Select commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("select", core, parent)
[docs] def set(self, selected: str) -> None: """SCPI: [SENSe]:CORRection:CVL:SELect \n Snippet: driver.applications.k70Vsa.sense.correction.cvl.select.set(selected = 'abc') \n Selects the conversion loss table with the specified file name. If <file_name> is not available, a new conversion loss table is created. Is only available with option B21 (External Mixer) installed. \n :param selected: String containing the path and name of the file. """ param = Conversions.value_to_quoted_str(selected) self._core.io.write(f'SENSe:CORRection:CVL:SELect {param}')
[docs] def get(self) -> str: """SCPI: [SENSe]:CORRection:CVL:SELect \n Snippet: value: str = driver.applications.k70Vsa.sense.correction.cvl.select.get() \n Selects the conversion loss table with the specified file name. If <file_name> is not available, a new conversion loss table is created. Is only available with option B21 (External Mixer) installed. \n :return: selected: No help available""" response = self._core.io.query_str(f'SENSe:CORRection:CVL:SELect?') return trim_str_response(response)