from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class MaProtocol:
"""MaProtocol commands group definition. 1 total commands, 0 Sub-groups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._base = CommandsGroup("maProtocol", core, parent)
[docs] def set(self, controler: str = None) -> None:
"""SCPI: ROUTe:WCDMa:MEASurement<instance>:SCENario:MAPRotocol \n
Snippet: driver.route.scenario.maProtocol.set(controler = '1') \n
Activates the Measure@ProtocolTest scenario and optionally selects the controlling protocol test application. The signal
routing and analyzer settings of the measurement application are ignored. Configure the corresponding settings within the
protocol test application used in parallel. \n
:param controler: string String parameter selecting the protocol test application For example, 'Protocol Test1'
"""
param = ''
if controler:
param = Conversions.value_to_quoted_str(controler)
self._core.io.write(f'ROUTe:WCDMa:MEASurement<Instance>:SCENario:MAPRotocol {param}'.strip())