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, table_name: str) -> None:
"""SCPI: [SENSe]:CORRection:ENR[:MEASurement]:TABLe:SELect \n
Snippet: driver.applications.k30NoiseFigure.sense.correction.enr.measurement.table.select.set(table_name = 'abc') \n
Selects an ENR or temperature table for the actual measurement. When you want to edit a table, regardless if you want to
use it later for a measurement or for calibration, you have to use this command.
[SENSe:]CORRection:ENR:CALibration:TABLe:SELect only selects a table for calibration. \n
:param table_name: No help available
"""
param = Conversions.value_to_quoted_str(table_name)
self._core.io.write(f'SENSe:CORRection:ENR:MEASurement:TABLe:SELect {param}')
[docs] def get(self) -> str:
"""SCPI: [SENSe]:CORRection:ENR[:MEASurement]:TABLe:SELect \n
Snippet: value: str = driver.applications.k30NoiseFigure.sense.correction.enr.measurement.table.select.get() \n
Selects an ENR or temperature table for the actual measurement. When you want to edit a table, regardless if you want to
use it later for a measurement or for calibration, you have to use this command.
[SENSe:]CORRection:ENR:CALibration:TABLe:SELect only selects a table for calibration. \n
:return: table_name: No help available"""
response = self._core.io.query_str(f'SENSe:CORRection:ENR:MEASurement:TABLe:SELect?')
return trim_str_response(response)