from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SelectCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("select", core, parent)
[docs]
def set(self, filename: str) -> None:
"""
``[SENSe]:CORRection:CVL:SELect`` \n
Snippet: ``driver.sense.correction.cvl.select.set(filename = '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.
:param filename: String containing the path and name of the file.
"""
param = Conversions.value_to_quoted_str(filename)
self._core.io.write(f'SENSe:CORRection:CVL:SELect {param}')