from typing import List
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
class AnalyzerCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("analyzer", core, parent)
[docs]
def get_content(self) -> str:
"""
``[SOURce<HW>]:BB:NR5G:ANALyzer:CONTent`` \n
Snippet: ``value: str = driver.source.bb.nr5G.analyzer.get_content()`` \n
Exports the signal configuration to an .allocation file that you can import into the NR 5G application on a signal and
spectrum analyzer.
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:ANALyzer:CONTent?')
return trim_str_response(response)
[docs]
def get_create(self) -> List[str]:
"""
``[SOURce<HW>]:BB:NR5G:ANALyzer:CREate`` \n
Snippet: ``value: List[str] = driver.source.bb.nr5G.analyzer.get_create()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:ANALyzer:CREate?')
return Conversions.str_to_str_list(response)