Source code for RsFsw.Implementations.Applications.K14x_Nr5G.Sense.Power.Achannel.Name.UaChannel

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 UaChannelCls: """UaChannel commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("uaChannel", core, parent)
[docs] def set(self, name: str) -> None: """SCPI: [SENSe]:POWer:ACHannel:NAME:UACHannel \n Snippet: driver.applications.k14Xnr5G.sense.power.achannel.name.uaChannel.set(name = 'abc') \n Defines the name for the upper adjacent channel in asymmetrical MSR channel definitions. To define the name for the lower adjacent channel use the [SENSe:]POWer:ACHannel:NAME:ACHannel command. For details on MSR signals see 'Measurement on multi-standard radio (MSR) signals'. \n :param name: String containing the name of the channel """ param = Conversions.value_to_quoted_str(name) self._core.io.write(f'SENSe:POWer:ACHannel:NAME:UACHannel {param}')
[docs] def get(self) -> str: """SCPI: [SENSe]:POWer:ACHannel:NAME:UACHannel \n Snippet: value: str = driver.applications.k14Xnr5G.sense.power.achannel.name.uaChannel.get() \n Defines the name for the upper adjacent channel in asymmetrical MSR channel definitions. To define the name for the lower adjacent channel use the [SENSe:]POWer:ACHannel:NAME:ACHannel command. For details on MSR signals see 'Measurement on multi-standard radio (MSR) signals'. \n :return: name: String containing the name of the channel""" response = self._core.io.query_str(f'SENSe:POWer:ACHannel:NAME:UACHannel?') return trim_str_response(response)