from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class RsettingCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("rsetting", core, parent)
# noinspection PyTypeChecker
[docs]
def get(self, restricted_set: enums.RestrictedSet) -> enums.RestrictedSet:
"""
``CONFigure:NRSub:MEASurement<Instance>:PRACh:RSETting`` \n
Snippet: ``value: enums.RestrictedSet = driver.configure.nrSubMeas.prach.rsetting.get(restricted_set = enums.RestrictedSet.URES)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(restricted_set, enums.RestrictedSet)
response = self._core.io.query_str(f'CONFigure:NRSub:MEASurement<Instance>:PRACh:RSETting? {param}')
return Conversions.str_to_scalar_enum(response, enums.RestrictedSet)