from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class PcfichCls:
"""Pcfich commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("pcfich", core, parent)
[docs]
def get_poffset(self) -> float:
"""SCPI: CONFigure:LTE:SIGNaling<instance>:DL[:PCC]:PCFich:POFFset \n
Snippet: value: float = driver.configure.downlink.pcc.pcfich.get_poffset() \n
Defines the power level of a physical control format indicator channel (PCFICH) resource element. \n
:return: offset: numeric PCFICH power relative to RS EPRE Range: -30 dB to 0 dB, Unit: dB
"""
response = self._core.io.query_str('CONFigure:LTE:SIGNaling<Instance>:DL:PCC:PCFich:POFFset?')
return Conversions.str_to_float(response)
[docs]
def set_poffset(self, offset: float) -> None:
"""SCPI: CONFigure:LTE:SIGNaling<instance>:DL[:PCC]:PCFich:POFFset \n
Snippet: driver.configure.downlink.pcc.pcfich.set_poffset(offset = 1.0) \n
Defines the power level of a physical control format indicator channel (PCFICH) resource element. \n
:param offset: numeric PCFICH power relative to RS EPRE Range: -30 dB to 0 dB, Unit: dB
"""
param = Conversions.decimal_value_to_str(offset)
self._core.io.write(f'CONFigure:LTE:SIGNaling<Instance>:DL:PCC:PCFich:POFFset {param}')