Source code for RsSmbv.Implementations.Source.Bb.Evdo.Anetwork.Pchannel

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PchannelCls: """Pchannel commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("pchannel", core, parent)
[docs] def get_state(self) -> bool: """SCPI: [SOURce<HW>]:BB:EVDO:ANETwork:PCHannel:STATe \n Snippet: value: bool = driver.source.bb.evdo.anetwork.pchannel.get_state() \n Displays the state of the pilot channel. Pilot channel is transmitted by sector on each active forward channel. It is present always and transmitted at the full sector power. \n :return: state: 1| ON| 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:ANETwork:PCHannel:STATe?') return Conversions.str_to_bool(response)